public class AnnotationMemberValue extends MemberValue
| Constructor and Description |
|---|
AnnotationMemberValue(Annotation a,
ConstPool cp)
Constructs an annotation member.
|
AnnotationMemberValue(ConstPool cp)
Constructs an annotation member.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MemberValueVisitor visitor)
Accepts a visitor.
|
Class<?> |
getType(ClassLoader cl) |
Annotation |
getValue()
Obtains the value.
|
void |
setValue(Annotation newValue)
Sets the value of this member.
|
String |
toString()
Obtains the string representation of this object.
|
void |
write(AnnotationsWriter writer)
Writes the value.
|
public AnnotationMemberValue(ConstPool cp)
public AnnotationMemberValue(Annotation a, ConstPool cp)
public Class<?> getType(ClassLoader cl) throws ClassNotFoundException
getType in class MemberValueClassNotFoundExceptionpublic Annotation getValue()
public void setValue(Annotation newValue)
public String toString()
public void write(AnnotationsWriter writer) throws IOException
write in class MemberValueIOExceptionpublic void accept(MemberValueVisitor visitor)
accept in class MemberValueCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.