| java.lang.Object javassist.bytecode.annotation.MemberValue javassist.bytecode.annotation.EnumMemberValue
typeIndexvalueIndex | int typeIndexvalueIndex(Code) | | |
EnumMemberValue | public EnumMemberValue(int type, int value, ConstPool cp)(Code) | | Constructs an enum constant value. The initial value is specified
by the constant pool entries at the given indexes.
Parameters: type - the index of a CONSTANT_Utf8_info structurerepresenting the enum type. Parameters: value - the index of a CONSTANT_Utf8_info structure.representing the enum value. |
EnumMemberValue | public EnumMemberValue(ConstPool cp)(Code) | | Constructs an enum constant value.
The initial value is not specified.
|
getType | public String getType()(Code) | | Obtains the enum type name.
a fully-qualified type name. |
getValue | public String getValue()(Code) | | Obtains the name of the enum constant value.
|
setType | public void setType(String typename)(Code) | | Changes the enum type name.
Parameters: typename - a fully-qualified type name. |
setValue | public void setValue(String name)(Code) | | Changes the name of the enum constant value.
|
|
|