public final class IsAFieldNameResolver extends Object
Constructor and Description |
---|
IsAFieldNameResolver() |
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
FieldNameResolver.resolve(Method) allows for further transformations. |
public boolean accept(Method method)
FieldNameResolver
accept
in interface FieldNameResolver
method
- the method to figure out the field name fortrue
if FieldNameResolver.resolve(Method)
will actually resolve the field name given the same method
argumentpublic String resolve(Method method)
FieldNameResolver
resolve
in interface FieldNameResolver
method
- the method to resolve the field name for.null
is valid if no field name should be associated with this method.public final boolean transform()
FieldNameResolver
FieldNameResolver.resolve(Method)
allows for further transformations.transform
in interface FieldNameResolver
true
if further transformations are allowedCopyright © 2007–2022 Atlassian. All rights reserved.