public interface AccessorNamingStrategy
Modifier and Type | Method and Description |
---|---|
String |
getCollectionGetterName(String property)
Returns the getter name of the given collection property.
|
String |
getElementName(ExecutableElement adderMethod)
Returns the element name of the given adder method.
|
MethodType |
getMethodType(ExecutableElement method)
Returns the type of the given method.
|
String |
getPropertyName(ExecutableElement getterOrSetterMethod)
Returns the name of the property represented by the given getter or setter method.
|
MethodType getMethodType(ExecutableElement method)
String getPropertyName(ExecutableElement getterOrSetterMethod)
The default implementation will e.g. return "name" for public String getName()
or public void
setName(String name)
.
String getElementName(ExecutableElement adderMethod)
The default implementation will e.g. return "item" for public void addItem(String item)
.
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.