|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.classloader.RVMAnnotation.AnnotationMember
private static final class RVMAnnotation.AnnotationMember
A class to decode and hold the name and its associated value for an annotation member
Field Summary | |
---|---|
private MethodReference |
meth
Name of element |
private boolean |
notFirstUse
Is this not the first use of the member? |
private Object |
value
Elements value, decoded from its tag |
Constructor Summary | |
---|---|
private |
RVMAnnotation.AnnotationMember(MethodReference meth,
Object value)
Construct a read value pair |
Method Summary | |
---|---|
int |
compareTo(RVMAnnotation.AnnotationMember am)
Ordering for sorted annotation members |
boolean |
equals(Object o)
Are two members equivalent? |
(package private) Atom |
getName()
|
(package private) Object |
getValue()
|
int |
hashCode()
Compute hashCode from meth |
(package private) static RVMAnnotation.AnnotationMember |
readAnnotationMember(TypeReference type,
int[] constantPool,
DataInputStream input,
ClassLoader classLoader)
Read the pair from the input stream and create object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final MethodReference meth
private Object value
private boolean notFirstUse
Constructor Detail |
---|
private RVMAnnotation.AnnotationMember(MethodReference meth, Object value)
Method Detail |
---|
static RVMAnnotation.AnnotationMember readAnnotationMember(TypeReference type, int[] constantPool, DataInputStream input, ClassLoader classLoader) throws IOException, ClassNotFoundException
constantPool
- the constant pool for the class being readinput
- stream to read fromclassLoader
- the class loader being used to load this annotation
IOException
ClassNotFoundException
Atom getName()
Object getValue()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(RVMAnnotation.AnnotationMember am)
compareTo
in interface Comparable<RVMAnnotation.AnnotationMember>
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |