|
||||||||||
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.ArrayMemberValue
public class ArrayMemberValue
Array member.
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. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayMemberValue(ConstPool cp)
public ArrayMemberValue(MemberValue t, ConstPool cp)
t
- the type of the array elements.Method Detail |
---|
public MemberValue getType()
public MemberValue[] getValue()
public void setValue(MemberValue[] elements)
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 |