public class ProcessingEnvironmentWrapper.PackageWrapper extends Object implements ProcessingEnvironmentWrapper.RElement, PackageElement
| Constructor and Description |
|---|
PackageWrapper(Name qualifiedName) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> v,
P p) |
void |
addToIndex(TypeElement el) |
TypeMirror |
asType() |
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
List<? extends AnnotationMirror> |
getAnnotationMirrors() |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationType) |
List<? extends Element> |
getEnclosedElements() |
List<TypeElement> |
getEnclosedTypeElementsWithTag(String tag) |
TypeElement |
getEnclosedTypeIgnoreCase(CharSequence simpleName) |
Element |
getEnclosingElement() |
ElementKind |
getKind() |
Set<Modifier> |
getModifiers() |
Name |
getQualifiedName() |
Name |
getSimpleName() |
List<TypeElement> |
getSubtypesOf(TypeElement typeElement) |
boolean |
isUnnamed() |
String |
toString() |
void |
updateIndex() |
public PackageWrapper(Name qualifiedName)
public void updateIndex()
public TypeElement getEnclosedTypeIgnoreCase(CharSequence simpleName)
public void addToIndex(TypeElement el)
public List<TypeElement> getSubtypesOf(TypeElement typeElement)
public List<TypeElement> getEnclosedTypeElementsWithTag(String tag)
public Name getQualifiedName()
getQualifiedName in interface PackageElementgetQualifiedName in interface QualifiedNameablepublic TypeMirror asType()
public ElementKind getKind()
public Set<Modifier> getModifiers()
getModifiers in interface Elementpublic Name getSimpleName()
getSimpleName in interface ElementgetSimpleName in interface PackageElementpublic List<? extends Element> getEnclosedElements()
getEnclosedElements in interface ElementgetEnclosedElements in interface PackageElementpublic 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)
public boolean isUnnamed()
isUnnamed in interface PackageElementpublic Element getEnclosingElement()
getEnclosingElement in interface ElementgetEnclosingElement in interface PackageElementCopyright © 2022. All Rights Reserved.