Package org.mapstruct.ap.internal.util
Class Filters
java.lang.Object
org.mapstruct.ap.internal.util.Filters
Filter methods for working with
Element collections.- Author:
- Gunnar Morling, Filip Hrisafov
-
Constructor Summary
ConstructorsConstructorDescriptionFilters(AccessorNamingUtils accessorNaming, TypeUtils typeUtils, TypeMirror typeMirror) -
Method Summary
Modifier and TypeMethodDescriptionadderMethodsIn(List<ExecutableElement> elements) <T> List<T> fieldsIn(List<VariableElement> accessors, BiFunction<VariableElement, TypeMirror, T> creator) getterMethodsIn(List<ExecutableElement> elements) presenceCheckMethodsIn(List<ExecutableElement> elements) recordAccessorsIn(Collection<Element> recordComponents) recordComponentsIn(TypeElement typeElement) setterMethodsIn(List<ExecutableElement> elements)
-
Constructor Details
-
Filters
-
-
Method Details
-
getterMethodsIn
-
recordComponentsIn
-
recordAccessorsIn
-
fieldsIn
public <T> List<T> fieldsIn(List<VariableElement> accessors, BiFunction<VariableElement, TypeMirror, T> creator) -
presenceCheckMethodsIn
-
setterMethodsIn
-
adderMethodsIn
-