|
||||||||||
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.CharMemberValue
public class CharMemberValue
Char constant value.
Constructor Summary | |
---|---|
CharMemberValue(char c,
ConstPool cp)
Constructs a char constant value. |
|
CharMemberValue(ConstPool cp)
Constructs a char constant value. |
|
CharMemberValue(int index,
ConstPool cp)
Constructs a char constant value. |
Method Summary | |
---|---|
void |
accept(MemberValueVisitor visitor)
Accepts a visitor. |
char |
getValue()
Obtains the value of the member. |
void |
setValue(char newValue)
Sets the value of the member. |
java.lang.String |
toString()
Obtains the string representation of this object. |
void |
write(AnnotationsWriter writer)
Writes the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CharMemberValue(int index, ConstPool cp)
index
- the index of a CONSTANT_Integer_info structure.public CharMemberValue(char c, ConstPool cp)
c
- the initial value.public CharMemberValue(ConstPool cp)
Method Detail |
---|
public char getValue()
public void setValue(char newValue)
public java.lang.String toString()
toString
in class java.lang.Object
public void write(AnnotationsWriter writer) throws java.io.IOException
write
in class MemberValue
java.io.IOException
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 |