org.jetbrains.kotlin.codegen.when
Class WhenByEnumsMapping
java.lang.Object
org.jetbrains.kotlin.codegen.when.WhenByEnumsMapping
public class WhenByEnumsMapping
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAPPING_ARRAY_FIELD_PREFIX
public static final java.lang.String MAPPING_ARRAY_FIELD_PREFIX
- See Also:
- Constant Field Values
MAPPINGS_CLASS_NAME_POSTFIX
public static final java.lang.String MAPPINGS_CLASS_NAME_POSTFIX
- See Also:
- Constant Field Values
WhenByEnumsMapping
public WhenByEnumsMapping(@NotNull
ClassDescriptor enumClassDescriptor,
@NotNull
java.lang.String outerClassInternalNameForExpression,
int fieldNumber)
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()