org.kite9.framework.model
Class AnnotationHandle
java.lang.Object
org.kite9.framework.model.AbstractHandle<Annotation>
org.kite9.framework.model.AnnotationHandle
- All Implemented Interfaces:
- Comparable<AnnotationHandle>, Handle<Annotation>
public class AnnotationHandle
- extends AbstractHandle<Annotation>
- implements Comparable<AnnotationHandle>
An annotation handle is used to describe an occasion where an annotation on a class, method or
field refers to another class using a parameter.
- Author:
- moffatr
| Methods inherited from class org.kite9.framework.model.AbstractHandle |
convertClassName, convertClassName, convertPackageName, getDeclaredMethod, hydrateClass, hydrateClasses, hydrateConstructor, hydrateField, hydrateMembers, hydrateMethod, hydratePackage, hydratePackages, hydrateParams |
AnnotationHandle
public AnnotationHandle(String annotationField,
AnnotatedElementHandle<?> annotatedItem,
String annotationClass)
AnnotationHandle
public AnnotationHandle(Annotation a,
AnnotatedElementHandle<?> site,
String field)
hydrate
public Annotation hydrate(ClassLoader cl)
- Description copied from interface:
Handle
- Returns the reflection-object that this is a handle for
- Specified by:
hydrate in interface Handle<Annotation>
- Returns:
getAnnotationField
public String getAnnotationField()
getAnnotatedItem
public AnnotatedElementHandle<?> getAnnotatedItem()
getAnnotationClass
public String getAnnotationClass()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
compareTo
public int compareTo(AnnotationHandle arg0)
- Specified by:
compareTo in interface Comparable<AnnotationHandle>
Copyright © 2011. All Rights Reserved.