Package org.mapstruct.ap.internal.util
Interface ElementUtils
- All Superinterfaces:
Elements
- All Known Implementing Classes:
AbstractElementUtilsDecorator,EclipseElementUtilsDecorator,JavacElementUtilsDecorator
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.lang.model.util.Elements
Elements.Origin -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementUtilscreate(ProcessingEnvironment processingEnvironment, VersionInformation info, TypeElement mapperElement) Finds all executable elements within the given type element, including executable elements defined in super classes and implemented interfaces.getAllEnclosedFields(TypeElement element) Finds all variable elements within the given type element, including variable elements defined in super classes and implemented interfaces and including the fields in the .Methods inherited from interface javax.lang.model.util.Elements
getAllAnnotationMirrors, getAllMembers, getAllModuleElements, getAllPackageElements, getAllTypeElements, getBinaryName, getConstantExpression, getDocComment, getElementValuesWithDefaults, getFileObjectOf, getModuleElement, getModuleOf, getName, getOrigin, getOrigin, getOrigin, getOutermostTypeElement, getPackageElement, getPackageElement, getPackageOf, getTypeElement, getTypeElement, hides, isAutomaticModule, isBridge, isCanonicalConstructor, isCompactConstructor, isDeprecated, isFunctionalInterface, overrides, printElements, recordComponentFor
-
Method Details
-
create
static ElementUtils create(ProcessingEnvironment processingEnvironment, VersionInformation info, TypeElement mapperElement) -
getAllEnclosedExecutableElements
Finds all executable elements within the given type element, including executable elements defined in super classes and implemented interfaces. Methods defined inObject, implementations ofObject.equals(Object)and private methods are ignored- Parameters:
element- the element to inspect- Returns:
- the executable elements usable in the type
-
getAllEnclosedFields
Finds all variable elements within the given type element, including variable elements defined in super classes and implemented interfaces and including the fields in the .- Parameters:
element- the element to inspect- Returns:
- the executable elements usable in the type
-