|
||||||||||
| 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.IntegerMemberValue
Integer constant value.
| Constructor Summary | |
IntegerMemberValue(ConstPool cp)
Constructs an int constant value. |
|
IntegerMemberValue(ConstPool cp,
int value)
Constructs an int constant value. |
|
IntegerMemberValue(int index,
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. |
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 IntegerMemberValue(int index,
ConstPool cp)
index - the index of a CONSTANT_Integer_info structure.
public IntegerMemberValue(ConstPool cp,
int value)
value - the initial value.public IntegerMemberValue(ConstPool cp)
| Method Detail |
public int getValue()
public void setValue(int 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 | |||||||||