public final class NullFieldNameResolver extends Object
| Constructor and Description |
|---|
NullFieldNameResolver() |
| 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)
FieldNameResolveraccept in interface FieldNameResolvermethod - 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)
FieldNameResolverresolve in interface FieldNameResolvermethod - 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()
FieldNameResolverFieldNameResolver.resolve(Method) allows for further transformations.transform in interface FieldNameResolvertrue if further transformations are allowedCopyright © 2007–2021 Atlassian. All rights reserved.