com.tc.backport175.bytecode
Class AnnotationReader.ClassKey

java.lang.Object
  extended by com.tc.backport175.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

Constructor Summary
AnnotationReader.ClassKey(java.lang.String name, java.lang.ClassLoader loader)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.ClassLoader getClassLoader()
           
 java.lang.String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationReader.ClassKey

public AnnotationReader.ClassKey(java.lang.String name,
                                 java.lang.ClassLoader loader)
Method Detail

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


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.