Package org.mapstruct.ap.internal.util
Class AccessorNamingUtils
- java.lang.Object
-
- org.mapstruct.ap.internal.util.AccessorNamingUtils
-
public final class AccessorNamingUtils extends Object
Utils for working with theAccessorNamingStrategy
.- Author:
- Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description AccessorNamingUtils(AccessorNamingStrategy accessorNamingStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getElementNameForAdder(Accessor adderMethod)
String
getPropertyName(ExecutableElement executable)
boolean
isAdderMethod(ExecutableElement executable)
boolean
isGetterMethod(ExecutableElement executable)
boolean
isPresenceCheckMethod(ExecutableElement executable)
boolean
isSetterMethod(ExecutableElement executable)
-
-
-
Constructor Detail
-
AccessorNamingUtils
public AccessorNamingUtils(AccessorNamingStrategy accessorNamingStrategy)
-
-
Method Detail
-
isGetterMethod
public boolean isGetterMethod(ExecutableElement executable)
-
isPresenceCheckMethod
public boolean isPresenceCheckMethod(ExecutableElement executable)
-
isSetterMethod
public boolean isSetterMethod(ExecutableElement executable)
-
isAdderMethod
public boolean isAdderMethod(ExecutableElement executable)
-
getPropertyName
public String getPropertyName(ExecutableElement executable)
-
-