javassist.bytecode.annotation
public class FloatMemberValue extends MemberValue
Version: $Revision: 1.7 $
Constructor Summary | |
---|---|
FloatMemberValue(int index, ConstPool cp)
Constructs a float constant value. | |
FloatMemberValue(float f, ConstPool cp)
Constructs a float constant value.
| |
FloatMemberValue(ConstPool cp)
Constructs a float constant value. |
Method Summary | |
---|---|
void | accept(MemberValueVisitor visitor)
Accepts a visitor. |
float | getValue()
Obtains the value of the member. |
void | setValue(float 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_Float_info structure.
Parameters: f the initial value.