org.jetbrains.jet.codegen.when
Class WhenByEnumsMapping

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

public class WhenByEnumsMapping
extends java.lang.Object


Constructor Summary
WhenByEnumsMapping(java.lang.String enumClassInternalName, java.lang.String outerClassInternalNameForExpression, int fieldNumber)
           
 
Method Summary
 java.lang.Iterable<java.util.Map.Entry<EnumValue,java.lang.Integer>> enumValuesToIntMapping()
           
 java.lang.String getEnumClassInternalName()
           
 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(java.lang.String enumClassInternalName,
                          java.lang.String outerClassInternalNameForExpression,
                          int fieldNumber)
Method Detail

getIndexByEntry

public int getIndexByEntry(@NotNull
                           EnumValue value)

putFirstTime

public void putFirstTime(EnumValue value,
                         int index)

size

public int size()

getFieldName

public java.lang.String getFieldName()

getEnumClassInternalName

public java.lang.String getEnumClassInternalName()

getOuterClassInternalNameForExpression

public java.lang.String getOuterClassInternalNameForExpression()

getMappingsClassInternalName

public java.lang.String getMappingsClassInternalName()

enumValuesToIntMapping

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