org.kite9.framework.model
Class ClassHandle

java.lang.Object
  extended by org.kite9.framework.model.AbstractHandle<Class<?>>
      extended by org.kite9.framework.model.ClassHandle
All Implemented Interfaces:
Comparable<AnnotatedElementHandle<? extends AnnotatedElement>>, AnnotatedElementHandle<Class<?>>, Handle<Class<?>>

public class ClassHandle
extends AbstractHandle<Class<?>>
implements AnnotatedElementHandle<Class<?>>


Field Summary
protected  String className
           
 
Constructor Summary
ClassHandle(Class<?> c)
           
ClassHandle(String className)
           
 
Method Summary
 int compareTo(AnnotatedElementHandle<? extends AnnotatedElement> o)
           
 boolean equals(Object obj)
           
 String getDeclaringClass()
           
 int hashCode()
           
 Class<?> hydrate(ClassLoader cl)
          Returns the reflection-object that this is a handle for
 
Methods inherited from class org.kite9.framework.model.AbstractHandle
convertClassName, convertClassName, convertPackageName, getDeclaredMethod, hydrateClass, hydrateClasses, hydrateConstructor, hydrateField, hydrateMembers, hydrateMethod, hydratePackage, hydratePackages, hydrateParams
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

protected String className
Constructor Detail

ClassHandle

public ClassHandle(Class<?> c)

ClassHandle

public ClassHandle(String className)
Method Detail

hydrate

public Class<?> hydrate(ClassLoader cl)
Description copied from interface: Handle
Returns the reflection-object that this is a handle for

Specified by:
hydrate in interface Handle<Class<?>>
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(AnnotatedElementHandle<? extends AnnotatedElement> o)
Specified by:
compareTo in interface Comparable<AnnotatedElementHandle<? extends AnnotatedElement>>

getDeclaringClass

public String getDeclaringClass()
Specified by:
getDeclaringClass in interface AnnotatedElementHandle<Class<?>>


Copyright © 2011. All Rights Reserved.