Package org.tomitribe.hodao.util
Class Parameter
- java.lang.Object
-
- org.tomitribe.hodao.util.Parameter
-
- All Implemented Interfaces:
java.lang.reflect.AnnotatedElement
public class Parameter extends java.lang.Object implements java.lang.reflect.AnnotatedElement- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description Parameter(java.lang.annotation.Annotation[] annotations, java.lang.Class<?> type, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.Class<T> annotationClass)java.lang.annotation.Annotation[]getAnnotations()java.lang.annotation.Annotation[]getDeclaredAnnotations()java.lang.Class<?>getType()java.lang.ObjectgetValue()booleanisAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
-
-
-
Method Detail
-
getType
public java.lang.Class<?> getType()
-
isAnnotationPresent
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
- Specified by:
isAnnotationPresentin interfacejava.lang.reflect.AnnotatedElement
-
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
- Specified by:
getAnnotationin interfacejava.lang.reflect.AnnotatedElement
-
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
- Specified by:
getAnnotationsin interfacejava.lang.reflect.AnnotatedElement
-
getDeclaredAnnotations
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfacejava.lang.reflect.AnnotatedElement
-
getValue
public java.lang.Object getValue()
-
-