|
||||||||||
| 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.ShortMemberValue
Short integer constant value.
| Constructor Summary | |
ShortMemberValue(ConstPool cp)
Constructs a short constant value. |
|
ShortMemberValue(int index,
ConstPool cp)
Constructs a short constant value. |
|
ShortMemberValue(short s,
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. |
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 ShortMemberValue(int index,
ConstPool cp)
index - the index of a CONSTANT_Integer_info structure.
public ShortMemberValue(short s,
ConstPool cp)
s - the initial value.public ShortMemberValue(ConstPool cp)
| Method Detail |
public short getValue()
public void setValue(short newValue)
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 | |||||||||