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, waitgetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypepublic FakeAnnotatedElement(Annotation[] annotations, int parameterIndex)
public boolean isAnnotationPresent(Class<? extends Annotation> paramClass)
isAnnotationPresent in interface AnnotatedElementpublic <T extends Annotation> T getAnnotation(Class<T> paramClass)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementpublic int getParameterIndex()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.