javassist.bytecode.annotation
public class ArrayMemberValue extends MemberValue
Constructor Summary | |
---|---|
ArrayMemberValue(ConstPool cp)
Constructs an array. | |
ArrayMemberValue(MemberValue t, ConstPool cp)
Constructs an array. |
Method Summary | |
---|---|
void | accept(MemberValueVisitor visitor)
Accepts a visitor. |
MemberValue | getType()
Obtains the type of the elements.
|
MemberValue[] | getValue()
Obtains the elements of the array. |
void | setValue(MemberValue[] elements)
Sets the elements of the array. |
String | toString()
Obtains the string representation of this object. |
void | write(AnnotationsWriter writer)
Writes the value. |
Parameters: t the type of the array elements.
Returns: null if the type is not specified.