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
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ElementsImplList<? 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) booleanbooleanisAutomaticModule(ModuleElement module) booleanbooleanbooleanoverrides(ExecutableElement overrider, ExecutableElement overridden, TypeElement type) voidprintElements(Writer w, Element... elements) Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon 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:
getAllAnnotationMirrorsin 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:
getAllMembersin SchnittstelleElements
-
getBinaryName
- Angegeben von:
getBinaryNamein SchnittstelleElements
-
getConstantExpression
- Angegeben von:
getConstantExpressionin SchnittstelleElements
-
getDocComment
- Angegeben von:
getDocCommentin SchnittstelleElements
-
getElementValuesWithDefaults
public Map<? extends ExecutableElement,? extends AnnotationValue> getElementValuesWithDefaults(AnnotationMirror a) - Angegeben von:
getElementValuesWithDefaultsin 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:
getPackageElementin SchnittstelleElements
-
getPackageOf
- Angegeben von:
getPackageOfin SchnittstelleElements
-
getTypeElement
- Angegeben von:
getTypeElementin SchnittstelleElements
-
hides
-
isDeprecated
- Angegeben von:
isDeprecatedin SchnittstelleElements
-
overrides
public boolean overrides(ExecutableElement overrider, ExecutableElement overridden, TypeElement type) -
printElements
- Angegeben von:
printElementsin SchnittstelleElements
-
isFunctionalInterface
- Angegeben von:
isFunctionalInterfacein SchnittstelleElements
-
isAutomaticModule
- Angegeben von:
isAutomaticModulein SchnittstelleElements
-