Package org.mapstruct.ap.internal.util
Class AccessorNamingUtils
java.lang.Object
org.mapstruct.ap.internal.util.AccessorNamingUtils
Utils for working with the
AccessorNamingStrategy.- Author:
- Filip Hrisafov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElementNameForAdder(Accessor adderMethod) getPropertyName(ExecutableElement executable) booleanisAdderMethod(ExecutableElement executable) booleanisGetterMethod(ExecutableElement executable) booleanisPresenceCheckMethod(ExecutableElement executable) booleanisSetterMethod(ExecutableElement executable)
-
Constructor Details
-
AccessorNamingUtils
-
-
Method Details
-
isGetterMethod
-
isPresenceCheckMethod
-
isSetterMethod
-
isAdderMethod
-
getPropertyName
-
getElementNameForAdder
- Parameters:
adderMethod- the adder method- Returns:
- the 'element name' to which an adder method applies. If. e.g. an adder method is named
addChild(Child v), the element name would be 'Child'.
-