Klasse ElementsImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementsImpl
- Alle implementierten Schnittstellen:
Elements
- Bekannte direkte Unterklassen:
ElementsImpl9
Utilities for working with java8 and earlier language elements.
There is one of these for every ProcessingEnvironment.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen javax.lang.model.util.Elements
Elements.Origin
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ElementsImpl
List
<? extends AnnotationMirror> Return all the annotation mirrors on this element, including inherited annotations.getAllMembers
(TypeElement type) Compute a list of all the visible entities in this type.getBinaryName
(TypeElement type) getConstantExpression
(Object value) Map
<? extends ExecutableElement, ? extends AnnotationValue> getName
(CharSequence cs) getPackageOf
(Element type) getTypeElement
(CharSequence name) boolean
boolean
isAutomaticModule
(ModuleElement module) boolean
boolean
boolean
overrides
(ExecutableElement overrider, ExecutableElement overridden, TypeElement type) void
printElements
(Writer w, Element... elements) Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden javax.lang.model.util.Elements
getAllModuleElements, getAllPackageElements, getAllTypeElements, getFileObjectOf, getModuleElement, getModuleOf, getOrigin, getOrigin, getOrigin, getOutermostTypeElement, getPackageElement, getTypeElement, isBridge, isCanonicalConstructor, isCompactConstructor, recordComponentFor
-
Felddetails
-
_env
-
-
Konstruktordetails
-
ElementsImpl
-
-
Methodendetails
-
create
-
getAllAnnotationMirrors
Return all the annotation mirrors on this element, including inherited annotations. Annotations are inherited only if the annotation type is meta-annotated with @Inherited, and the annotation is on a class: e.g., annotations are not inherited for interfaces, methods, or fields.- Angegeben von:
getAllAnnotationMirrors
in SchnittstelleElements
-
getAllMembers
Compute a list of all the visible entities in this type. Specifically:- All nested types declared in this type, including interfaces and enums
- All protected or public nested types declared in this type's superclasses and superinterfaces, that are not hidden by a name collision
- All methods declared in this type, including constructors but not including static or instance initializers, and including abstract methods and unimplemented methods declared in interfaces
- All protected or public methods declared in this type's superclasses, that are not overridden by another method, but not including constructors or initializers. Includes abstract methods and methods declared in superinterfaces but not implemented
- All fields declared in this type, including constants
- All non-private fields declared in this type's superclasses and superinterfaces, that are not hidden by a name collision.
- Angegeben von:
getAllMembers
in SchnittstelleElements
-
getBinaryName
- Angegeben von:
getBinaryName
in SchnittstelleElements
-
getConstantExpression
- Angegeben von:
getConstantExpression
in SchnittstelleElements
-
getDocComment
- Angegeben von:
getDocComment
in SchnittstelleElements
-
getElementValuesWithDefaults
public Map<? extends ExecutableElement,? extends AnnotationValue> getElementValuesWithDefaults(AnnotationMirror a) - Angegeben von:
getElementValuesWithDefaults
in SchnittstelleElements
- Gibt zurück:
- all the annotation instance's explicitly set values, plus default values
for all the annotation members that are not explicitly set but that have
defaults. By comparison,
AnnotationMirror.getElementValues()
only returns the explicitly set values. - Siehe auch:
-
getName
-
getPackageElement
- Angegeben von:
getPackageElement
in SchnittstelleElements
-
getPackageOf
- Angegeben von:
getPackageOf
in SchnittstelleElements
-
getTypeElement
- Angegeben von:
getTypeElement
in SchnittstelleElements
-
hides
-
isDeprecated
- Angegeben von:
isDeprecated
in SchnittstelleElements
-
overrides
public boolean overrides(ExecutableElement overrider, ExecutableElement overridden, TypeElement type) -
printElements
- Angegeben von:
printElements
in SchnittstelleElements
-
isFunctionalInterface
- Angegeben von:
isFunctionalInterface
in SchnittstelleElements
-
isAutomaticModule
- Angegeben von:
isAutomaticModule
in SchnittstelleElements
-