public static class ConstructorParameter.FakeAnnotatedElement extends Object implements AnnotatedElement
Constructor and Description |
---|
FakeAnnotatedElement(Annotation[] annotations,
int parameterIndex) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> paramClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
int |
getParameterIndex() |
boolean |
isAnnotationPresent(Class<? extends Annotation> paramClass) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
public FakeAnnotatedElement(Annotation[] annotations, int parameterIndex)
public boolean isAnnotationPresent(Class<? extends Annotation> paramClass)
isAnnotationPresent
in interface AnnotatedElement
public <T extends Annotation> T getAnnotation(Class<T> paramClass)
getAnnotation
in interface AnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
public int getParameterIndex()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.