org.codehaus.backport175.reader.bytecode
Class AnnotationReader.ClassKey
java.lang.Object
org.codehaus.backport175.reader.bytecode.AnnotationReader.ClassKey
- Enclosing class:
- AnnotationReader
public static class AnnotationReader.ClassKey
- extends java.lang.Object
Contains info about the class being parsed. Holds the class name and a weak ref to the class loader. Also works
as a unique key. 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.ClassKey
public AnnotationReader.ClassKey(java.lang.String name,
java.lang.ClassLoader loader)
getName
public java.lang.String getName()
getClassLoader
public java.lang.ClassLoader getClassLoader()
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