| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | EnumMemberValue(int
the index of a CONSTANT_Utf8_info structure
representing the enum type. type, int the index of a CONSTANT_Utf8_info structure.
representing the enum value. value, ConstPool cp)Constructs an enum constant value. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(MemberValueVisitor visitor)
Implements abstract javassist. Accepts a visitor. |
| pack-priv Class | |
| public String | |
| pack-priv Object | getValue(ClassLoader cl, ClassPool cp, Method m)
Implements abstract javassist. Returns the value. |
| public String | |
| public void | renameClass(String oldname, String newname)
Overrides javassist.
|
| public void | renameClass(Map<String, String> classnames)
Overrides javassist.
|
| public void | |
| public void | |
| public String | |
| public void | write(AnnotationsWriter writer)
Implements abstract javassist. Writes the value. |
| typeIndex | back to summary |
|---|---|
| pack-priv int typeIndex | |
| valueIndex | back to summary |
|---|---|
| pack-priv int valueIndex | |
| EnumMemberValue | back to summary |
|---|---|
| public EnumMemberValue(int type, int value, ConstPool cp) Constructs an enum constant value. The initial value is specified by the constant pool entries at the given indexes.
| |
| EnumMemberValue | back to summary |
|---|---|
| public EnumMemberValue(ConstPool cp) Constructs an enum constant value. The initial value is not specified. | |
| accept | back to summary |
|---|---|
| public void accept(MemberValueVisitor visitor) Implements abstract javassist. Accepts a visitor.
| |
| getType | back to summary |
|---|---|
| pack-priv Class Implements abstract javassist.
| |
| getType | back to summary |
|---|---|
| public String getType() Obtains the enum type name.
| |
| getValue | back to summary |
|---|---|
| pack-priv Object getValue(ClassLoader cl, ClassPool cp, Method m) throws ClassNotFoundException Implements abstract javassist. Doc from javassist. Returns the value. If the value type is a primitive type, the returned value is boxed.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Obtains the name of the enum constant value. | |
| renameClass | back to summary |
|---|---|
| public void renameClass(String oldname, String newname) Overrides javassist.
| |
| renameClass | back to summary |
|---|---|
| public void renameClass(Map<String, String> classnames) Overrides javassist.
| |
| setType | back to summary |
|---|---|
| public void setType(String typename) Changes the enum type name.
| |
| setValue | back to summary |
|---|---|
| public void setValue(String name) Changes the name of the enum constant value. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| write | back to summary |
|---|---|
| public void write(AnnotationsWriter writer) throws IOException Implements abstract javassist. Writes the value.
| |