javassist.bytecode.annotation
public class ClassMemberValue extends MemberValue
Constructor Summary | |
---|---|
ClassMemberValue(int index, ConstPool cp)
Constructs a class value. | |
ClassMemberValue(String className, ConstPool cp)
Constructs a class value.
| |
ClassMemberValue(ConstPool cp)
Constructs a class value.
|
Method Summary | |
---|---|
void | accept(MemberValueVisitor visitor)
Accepts a visitor. |
String | getValue()
Obtains the value of the member.
|
void | setValue(String newClassName)
Sets the value of the member.
|
String | toString()
Obtains the string representation of this object. |
void | write(AnnotationsWriter writer)
Writes the value. |
Parameters: index the index of a CONSTANT_Utf8_info structure.
Parameters: className the initial value.
Returns: fully-qualified class name.
Parameters: newClassName fully-qualified class name.