Package org.ocpsoft.rewrite.annotation
Class ParameterImpl
java.lang.Object
org.ocpsoft.rewrite.annotation.ParameterImpl
- All Implemented Interfaces:
AnnotatedElement,Parameter
-
Constructor Summary
ConstructorsConstructorDescriptionParameterImpl(Method method, Class<?> type, Annotation[] annotations, int index) -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> type) intgetIndex()Class<?>getType()booleanisAnnotationPresent(Class<? extends Annotation> type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
Constructor Details
-
ParameterImpl
-
-
Method Details
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedElement
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotatedElement
-
getDeclaringMethod
- Specified by:
getDeclaringMethodin interfaceParameter
-
getIndex
public int getIndex() -
getType
-