public final class AccessorNamingUtils extends Object
AccessorNamingStrategy
.Constructor and Description |
---|
AccessorNamingUtils(AccessorNamingStrategy accessorNamingStrategy) |
Modifier and Type | Method and 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) |
public AccessorNamingUtils(AccessorNamingStrategy accessorNamingStrategy)
public boolean isGetterMethod(ExecutableElement executable)
public boolean isPresenceCheckMethod(ExecutableElement executable)
public boolean isSetterMethod(ExecutableElement executable)
public boolean isAdderMethod(ExecutableElement executable)
public String getPropertyName(ExecutableElement executable)
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.