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
ConstructorsConstructorDescriptionConstructs an annotation member.Constructs an annotation member. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MemberValueVisitor visitor) Accepts a visitor.getValue()Obtains the value.voidsetValue(Annotation newValue) Sets the value of this member.toString()Obtains the string representation of this object.voidwrite(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:
writein classMemberValue- Throws:
IOException
-
accept
Accepts a visitor.- Specified by:
acceptin classMemberValue
-