| java.lang.Object org.cojen.classfile.attribute.Annotation
Annotation | public class Annotation (Code) | | Defines the annotation structure used by Java 5 annotations attributes.
author: Brian S O'Neill |
Inner Class :public static class MemberValue | |
Inner Class :public static class EnumConstValue | |
Method Summary | |
public int | getLength() | public Map | getMemberValues() Returns an unmodifiable map of member names (String) to MemberValue
objects. | public TypeDesc | getType() | public ConstantUTFInfo | getTypeConstant() | public Annotation | makeAnnotation() | public MemberValue | makeMemberValue(boolean value) | public MemberValue | makeMemberValue(byte value) | public MemberValue | makeMemberValue(short value) | public MemberValue | makeMemberValue(char value) | public MemberValue | makeMemberValue(int value) | public MemberValue | makeMemberValue(long value) | public MemberValue | makeMemberValue(float value) | public MemberValue | makeMemberValue(double value) | public MemberValue | makeMemberValue(String value) | public MemberValue | makeMemberValue(TypeDesc value) | public MemberValue | makeMemberValue(TypeDesc enumType, String enumName) | public MemberValue | makeMemberValue(MemberValue[] value) | public MemberValue | makeMemberValue(Annotation value) | public void | putMemberValue(String name, MemberValue mv) | public void | putMemberValue(String name, boolean value) | public void | putMemberValue(String name, byte value) | public void | putMemberValue(String name, short value) | public void | putMemberValue(String name, char value) | public void | putMemberValue(String name, int value) | public void | putMemberValue(String name, long value) | public void | putMemberValue(String name, float value) | public void | putMemberValue(String name, double value) | public void | putMemberValue(String name, String value) | public void | putMemberValue(String name, TypeDesc value) | public void | putMemberValue(String name, MemberValue[] value) | public void | putMemberValue(String name, TypeDesc enumType, String enumName) | public void | putMemberValue(String name, Annotation value) | public void | setType(TypeDesc type) | public void | setTypeConstant(ConstantUTFInfo type) | public void | writeTo(DataOutput dout) |
MEMBER_TAG_ANNOTATION | final public static char MEMBER_TAG_ANNOTATION(Code) | | Member value is represented by an Annotation
|
MEMBER_TAG_ARRAY | final public static char MEMBER_TAG_ARRAY(Code) | | Member value is represented by a MemberValue array
|
MEMBER_TAG_BOOLEAN | final public static char MEMBER_TAG_BOOLEAN(Code) | | Member value is represented by a ConstantIntegerInfo
|
MEMBER_TAG_BYTE | final public static char MEMBER_TAG_BYTE(Code) | | Member value is represented by a ConstantIntegerInfo
|
MEMBER_TAG_CHAR | final public static char MEMBER_TAG_CHAR(Code) | | Member value is represented by a ConstantIntegerInfo
|
MEMBER_TAG_CLASS | final public static char MEMBER_TAG_CLASS(Code) | | Member value is represented by a ConstantClassInfo
|
MEMBER_TAG_DOUBLE | final public static char MEMBER_TAG_DOUBLE(Code) | | Member value is represented by a ConstantDoubleInfo
|
MEMBER_TAG_ENUM | final public static char MEMBER_TAG_ENUM(Code) | | Member value is represented by an EnumConstValue
|
MEMBER_TAG_FLOAT | final public static char MEMBER_TAG_FLOAT(Code) | | Member value is represented by a ConstantFloatInfo
|
MEMBER_TAG_INT | final public static char MEMBER_TAG_INT(Code) | | Member value is represented by a ConstantIntegerInfo
|
MEMBER_TAG_LONG | final public static char MEMBER_TAG_LONG(Code) | | Member value is represented by a ConstantLongInfo
|
MEMBER_TAG_SHORT | final public static char MEMBER_TAG_SHORT(Code) | | Member value is represented by a ConstantIntegerInfo
|
MEMBER_TAG_STRING | final public static char MEMBER_TAG_STRING(Code) | | Member value is represented by a ConstantUTFInfo
|
getLength | public int getLength()(Code) | | |
getMemberValues | public Map getMemberValues()(Code) | | Returns an unmodifiable map of member names (String) to MemberValue
objects.
|
makeMemberValue | public MemberValue makeMemberValue(boolean value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(byte value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(short value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(char value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(int value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(long value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(float value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(double value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(String value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(TypeDesc value)(Code) | | |
makeMemberValue | public MemberValue makeMemberValue(MemberValue[] value)(Code) | | |
putMemberValue | public void putMemberValue(String name, MemberValue mv)(Code) | | |
putMemberValue | public void putMemberValue(String name, boolean value)(Code) | | |
putMemberValue | public void putMemberValue(String name, byte value)(Code) | | |
putMemberValue | public void putMemberValue(String name, short value)(Code) | | |
putMemberValue | public void putMemberValue(String name, char value)(Code) | | |
putMemberValue | public void putMemberValue(String name, int value)(Code) | | |
putMemberValue | public void putMemberValue(String name, long value)(Code) | | |
putMemberValue | public void putMemberValue(String name, float value)(Code) | | |
putMemberValue | public void putMemberValue(String name, double value)(Code) | | |
putMemberValue | public void putMemberValue(String name, MemberValue[] value)(Code) | | |
|
|