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