Package org.mapstruct.ap.internal.util
Class Executables
java.lang.Object
org.mapstruct.ap.internal.util.Executables
Provides functionality around
ExecutableElements.- Author:
- Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisAfterMappingMethod(ExecutableElement executableElement) static booleanisBeforeMappingMethod(ExecutableElement executableElement) static booleanisDefaultMethod(ExecutableElement method) static booleanstatic booleanisLifecycleCallbackMethod(ExecutableElement executableElement)
-
Method Details
-
isFinal
-
isDefaultMethod
-
isLifecycleCallbackMethod
- Parameters:
executableElement- the element to check- Returns:
true, if the executable element is a method annotated with@BeforeMappingor@AfterMapping
-
isAfterMappingMethod
- Parameters:
executableElement- the element to check- Returns:
true, if the executable element is a method annotated with@AfterMapping
-
isBeforeMappingMethod
- Parameters:
executableElement- the element to check- Returns:
true, if the executable element is a method annotated with@BeforeMapping
-