javassist.bytecode.annotation
public class IntegerMemberValue extends MemberValue
Constructor Summary | |
---|---|
IntegerMemberValue(int index, ConstPool cp)
Constructs an int constant value. | |
IntegerMemberValue(ConstPool cp, int value)
Constructs an int constant value.
| |
IntegerMemberValue(ConstPool cp)
Constructs an int constant value. |
Method Summary | |
---|---|
void | accept(MemberValueVisitor visitor)
Accepts a visitor. |
int | getValue()
Obtains the value of the member. |
void | setValue(int 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: value the initial value.