Class EnumConst
- java.lang.Object
-
- com.tonic.parser.attribute.annotation.EnumConst
-
public class EnumConst extends Object
An enum constant used as an annotation value: its type and constant name indices.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstNameIndex()intgetTypeNameIndex()StringtoString()
-
-
-
Constructor Detail
-
EnumConst
public EnumConst(ConstPool constPool, int typeNameIndex, int constNameIndex)
Creates an enum constant reference.- Parameters:
constPool- the pool used to resolve indicestypeNameIndex- constant-pool index of the enum type descriptor Utf8constNameIndex- constant-pool index of the constant name Utf8
-
-