public class ProcessingEnvironmentWrapper.CustomElement extends Object implements ProcessingEnvironmentWrapper.RElement
| Modifier and Type | Field and Description |
|---|---|
protected List<AnnotationMirror> |
annotationMirrors |
protected List<Element> |
enclosedElements |
protected Element |
enclosingElement |
protected ElementKind |
kind |
protected Set<Modifier> |
modifiers |
protected Name |
simpleName |
protected TypeMirror |
type |
| Constructor and Description |
|---|
CustomElement() |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> v,
P p) |
TypeMirror |
asType() |
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
List<? extends AnnotationMirror> |
getAnnotationMirrors() |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationType) |
List<? extends Element> |
getEnclosedElements() |
Element |
getEnclosingElement() |
ElementKind |
getKind() |
Set<Modifier> |
getModifiers() |
Name |
getSimpleName() |
String |
toString() |
protected TypeMirror type
protected ElementKind kind
protected Name simpleName
protected Element enclosingElement
protected List<AnnotationMirror> annotationMirrors
public TypeMirror asType()
public ElementKind getKind()
public Set<Modifier> getModifiers()
getModifiers in interface Elementpublic Name getSimpleName()
getSimpleName in interface Elementpublic Element getEnclosingElement()
getEnclosingElement in interface Elementpublic List<? extends Element> getEnclosedElements()
getEnclosedElements in interface Elementpublic List<? extends AnnotationMirror> getAnnotationMirrors()
getAnnotationMirrors in interface AnnotatedConstructgetAnnotationMirrors in interface Elementpublic <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation in interface AnnotatedConstructgetAnnotation in interface Elementpublic <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)
getAnnotationsByType in interface AnnotatedConstructpublic <R,P> R accept(ElementVisitor<R,P> v, P p)
Copyright © 2022. All Rights Reserved.