| Package | Description | 
|---|---|
| javassist.bytecode | Bytecode-level API. | 
| javassist.bytecode.annotation | Bytecode-level Annotations API. | 
| Modifier and Type | Method and Description | 
|---|---|
| MemberValue | AnnotationDefaultAttribute. getDefaultValue()Obtains the default value represented by this attribute. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AnnotationDefaultAttribute. setDefaultValue(MemberValue value)Changes the default value represented by this attribute. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AnnotationMemberValueNested annotation. | 
| class  | ArrayMemberValueArray member. | 
| class  | BooleanMemberValueBoolean constant value. | 
| class  | ByteMemberValueByte constant value. | 
| class  | CharMemberValueChar constant value. | 
| class  | ClassMemberValueClass value. | 
| class  | DoubleMemberValueDouble floating-point number constant value. | 
| class  | EnumMemberValueEnum constant value. | 
| class  | FloatMemberValueFloating-point number constant value. | 
| class  | IntegerMemberValueInteger constant value. | 
| class  | LongMemberValueLong integer constant value. | 
| class  | ShortMemberValueShort integer constant value. | 
| class  | StringMemberValueString constant value. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MemberValue | Annotation. createMemberValue(ConstPool cp,
                 CtClass type)Makes an instance of  MemberValue. | 
| MemberValue | Annotation. getMemberValue(String name)Obtains the member value with the given name. | 
| MemberValue | ArrayMemberValue. getType()Obtains the type of the elements. | 
| MemberValue[] | ArrayMemberValue. getValue()Obtains the elements of the array. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | 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. | 
| Constructor and Description | 
|---|
| ArrayMemberValue(MemberValue t,
                ConstPool cp)Constructs an array. | 
Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.