Uses of Class
javassist.bytecode.annotation.MemberValue
Package
Description
Bytecode-level API.
Bytecode-level Annotations API.
-
Uses of MemberValue in javassist.bytecode
Modifier and TypeMethodDescriptionAnnotationDefaultAttribute.getDefaultValue()
Obtains the default value represented by this attribute.Modifier and TypeMethodDescriptionvoid
AnnotationDefaultAttribute.setDefaultValue
(MemberValue value) Changes the default value represented by this attribute. -
Uses of MemberValue in javassist.bytecode.annotation
Modifier and TypeClassDescriptionclass
Nested annotation.class
Array member.class
Boolean constant value.class
Byte constant value.class
Char constant value.class
Class value.class
Double floating-point number constant value.class
Enum constant value.class
Floating-point number constant value.class
Integer constant value.class
Long integer constant value.class
Short integer constant value.class
String constant value.Modifier and TypeMethodDescriptionstatic MemberValue
Annotation.createMemberValue
(ConstPool cp, CtClass type) Makes an instance ofMemberValue
.Annotation.getMemberValue
(String name) Obtains the member value with the given name.ArrayMemberValue.getType()
Obtains the type of the elements.ArrayMemberValue.getValue()
Obtains the elements of the array.Modifier and TypeMethodDescriptionvoid
Annotation.addMemberValue
(int nameIndex, MemberValue value) Adds a new member.void
Annotation.addMemberValue
(String name, MemberValue value) Adds a new member.void
ArrayMemberValue.setValue
(MemberValue[] elements) Sets the elements of the array.