org.codehaus.backport175.reader.bytecode
Class AnnotationReader.MemberKey
java.lang.Object
org.codehaus.backport175.reader.bytecode.AnnotationReader.MemberKey
- Enclosing class:
- AnnotationReader
public static class AnnotationReader.MemberKey
- extends java.lang.Object
Unique key for class members (methods, fields and constructors) to be used in hash maps etc.
Needed since at bytecode parsing time we do not have access to the reflect members, only strings.
- Author:
- Jonas Bon?r
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AnnotationReader.MemberKey
public AnnotationReader.MemberKey(java.lang.String name,
java.lang.String desc)
newConstructorKey
public static AnnotationReader.MemberKey newConstructorKey(java.lang.reflect.Constructor method)
newConstructorKey
public static AnnotationReader.MemberKey newConstructorKey(java.lang.String desc)
newMethodKey
public static AnnotationReader.MemberKey newMethodKey(java.lang.reflect.Method method)
newMethodKey
public static AnnotationReader.MemberKey newMethodKey(java.lang.String name,
java.lang.String desc)
newFieldKey
public static AnnotationReader.MemberKey newFieldKey(java.lang.reflect.Field field)
newFieldKey
public static AnnotationReader.MemberKey newFieldKey(java.lang.String name,
java.lang.String desc)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object