javassist.bytecode.annotation
public class CharMemberValue extends MemberValue
Constructor Summary | |
---|---|
CharMemberValue(int index, ConstPool cp)
Constructs a char constant value. | |
CharMemberValue(char c, ConstPool cp)
Constructs a char constant value.
| |
CharMemberValue(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. |
String | toString()
Obtains the string representation of this object. |
void | write(AnnotationsWriter writer)
Writes the value. |
Parameters: index the index of a CONSTANT_Integer_info structure.
Parameters: c the initial value.