Package javassist.bytecode.annotation
Class AnnotationMemberValue
java.lang.Object
javassist.bytecode.annotation.MemberValue
javassist.bytecode.annotation.AnnotationMemberValue
Nested annotation.
- Author:
- Bill Burke, Shigeru Chiba
-
Constructor Summary
ConstructorDescriptionConstructs an annotation member.Constructs an annotation member. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(MemberValueVisitor visitor) Accepts a visitor.getValue()
Obtains the value.void
setValue
(Annotation newValue) Sets the value of this member.toString()
Obtains the string representation of this object.void
write
(AnnotationsWriter writer) Writes the value.Methods inherited from class javassist.bytecode.annotation.MemberValue
renameClass, renameClass
-
Constructor Details
-
AnnotationMemberValue
Constructs an annotation member. The initial value is not specified. -
AnnotationMemberValue
Constructs an annotation member. The initial value is specified by the first parameter.
-
-
Method Details
-
getValue
Obtains the value. -
setValue
Sets the value of this member. -
toString
Obtains the string representation of this object. -
write
Writes the value.- Specified by:
write
in classMemberValue
- Throws:
IOException
-
accept
Accepts a visitor.- Specified by:
accept
in classMemberValue
-