javassist.bytecode.annotation
public class BooleanMemberValue extends MemberValue
| Constructor Summary | |
|---|---|
| BooleanMemberValue(int index, ConstPool cp)
Constructs a boolean constant value. | |
| BooleanMemberValue(boolean b, ConstPool cp)
Constructs a boolean constant value.
| |
| BooleanMemberValue(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. |
| 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: b the initial value.