public interface FieldNameResolver
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Method method)
Tells whether this field name resolver will be able to resolve a name from this method.
|
String |
resolve(Method method)
Resolves the field name for the method
|
boolean |
transform()
Tells whether the resolved method name from
resolve(Method) allows for further transformations. |
boolean accept(Method method)
method
- the method to figure out the field name fortrue
if resolve(Method)
will actually resolve the field name given the same method
argumentString resolve(Method method)
method
- the method to resolve the field name for.null
is valid if no field name should be associated with this method.IllegalStateException
- if this method is called while accept(Method)
returns false
boolean transform()
resolve(Method)
allows for further transformations.true
if further transformations are allowedCopyright © 2007–2019 Atlassian. All rights reserved.