public class TypedElement extends Object implements AnnotatedElement
| Constructor and Description |
|---|
TypedElement(AnnotatedType javaType,
AnnotatedElement... elements) |
TypedElement(AnnotatedType javaType,
List<? extends AnnotatedElement> elements) |
TypedElement(List<TypedElement> merge) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
AnnotatedElement |
getElement() |
List<? extends AnnotatedElement> |
getElements() |
AnnotatedType |
getJavaType() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotation) |
boolean |
isAnnotationPresentAnywhere(Class<? extends Annotation> annotation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypepublic TypedElement(AnnotatedType javaType, AnnotatedElement... elements)
public TypedElement(AnnotatedType javaType, List<? extends AnnotatedElement> elements)
public TypedElement(List<TypedElement> merge)
public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
isAnnotationPresent in interface AnnotatedElementpublic <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementpublic boolean isAnnotationPresentAnywhere(Class<? extends Annotation> annotation)
public AnnotatedType getJavaType()
public List<? extends AnnotatedElement> getElements()
public AnnotatedElement getElement()
Copyright © 2016–2019. All rights reserved.