org.jetbrains.kotlin.codegen.when
Class WhenByEnumsMapping

java.lang.Object
  extended by org.jetbrains.kotlin.codegen.when.WhenByEnumsMapping

public class WhenByEnumsMapping
extends java.lang.Object


Constructor Summary
WhenByEnumsMapping(ClassDescriptor enumClassDescriptor, java.lang.String outerClassInternalNameForExpression, int fieldNumber)
           
 
Method Summary
 java.lang.Iterable<java.util.Map.Entry<EnumValue,java.lang.Integer>> enumValuesToIntMapping()
           
 ClassDescriptor getEnumClassDescriptor()
           
 java.lang.String getFieldName()
           
 int getIndexByEntry(EnumValue value)
           
 java.lang.String getMappingsClassInternalName()
           
 java.lang.String getOuterClassInternalNameForExpression()
           
 void putFirstTime(EnumValue value, int index)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhenByEnumsMapping

public WhenByEnumsMapping(@NotNull
                          ClassDescriptor enumClassDescriptor,
                          @NotNull
                          java.lang.String outerClassInternalNameForExpression,
                          int fieldNumber)
Method Detail

getIndexByEntry

public int getIndexByEntry(@NotNull
                           EnumValue value)

putFirstTime

public void putFirstTime(@NotNull
                         EnumValue value,
                         int index)

size

public int size()

getFieldName

@NotNull
public java.lang.String getFieldName()

getEnumClassDescriptor

@NotNull
public ClassDescriptor getEnumClassDescriptor()

getOuterClassInternalNameForExpression

@NotNull
public java.lang.String getOuterClassInternalNameForExpression()

getMappingsClassInternalName

@NotNull
public java.lang.String getMappingsClassInternalName()

enumValuesToIntMapping

@NotNull
public java.lang.Iterable<java.util.Map.Entry<EnumValue,java.lang.Integer>> enumValuesToIntMapping()