|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavassist.bytecode.annotation.MemberValue
javassist.bytecode.annotation.ClassMemberValue
String constant value.
Constructor Summary | |
ClassMemberValue(ConstPool cp)
Constructs a string constant value. |
|
ClassMemberValue(int index,
ConstPool cp)
Constructs a string constant value. |
|
ClassMemberValue(java.lang.String className,
ConstPool cp)
Constructs a string constant value. |
Method Summary | |
void |
accept(MemberValueVisitor visitor)
Accepts a visitor. |
java.lang.String |
getValue()
Obtains the value of the member. |
void |
setValue(java.lang.String newClassName)
Sets the value of the member. |
java.lang.String |
toString()
Obtains the string representation of this object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClassMemberValue(int index, ConstPool cp)
index
- the index of a CONSTANT_Utf8_info structure.public ClassMemberValue(java.lang.String className, ConstPool cp)
className
- the initial value.public ClassMemberValue(ConstPool cp)
Method Detail |
public java.lang.String getValue()
public void setValue(java.lang.String newClassName)
newClassName
- fully-qualified class name.public java.lang.String toString()
public void accept(MemberValueVisitor visitor)
accept
in class MemberValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |