|
|||||||||
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.BooleanMemberValue
public class BooleanMemberValue
Boolean constant value.
Constructor Summary | |
---|---|
BooleanMemberValue(boolean b,
ConstPool cp)
Constructs a boolean constant value. |
|
BooleanMemberValue(ConstPool cp)
Constructs a boolean constant value. |
|
BooleanMemberValue(int index,
ConstPool cp)
Constructs a boolean constant value. |
Method Summary | |
---|---|
void |
accept(MemberValueVisitor visitor)
Accepts a visitor. |
boolean |
getValue()
Obtains the value of the member. |
void |
setValue(boolean newValue)
Sets the value of the member. |
java.lang.String |
toString()
Obtains the string representation of this object. |
void |
write(AnnotationsWriter writer)
Writes the value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BooleanMemberValue(int index, ConstPool cp)
index
- the index of a CONSTANT_Integer_info structure.public BooleanMemberValue(boolean b, ConstPool cp)
b
- the initial value.public BooleanMemberValue(ConstPool cp)
Method Detail |
---|
public boolean getValue()
public void setValue(boolean newValue)
public java.lang.String toString()
toString
in class java.lang.Object
public void write(AnnotationsWriter writer) throws java.io.IOException
write
in class MemberValue
java.io.IOException
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 |