public static class PropertyNameResolver.AnnotationPropertyNameResolver extends Object implements PropertyNameResolver
PropertyNameResolver.AnnotationPropertyNameResolver, PropertyNameResolver.CompositePropertyNameResolver, PropertyNameResolver.ConventionalBeanPropertyNameResolver
Constructor and Description |
---|
AnnotationPropertyNameResolver() |
Modifier and Type | Method and Description |
---|---|
protected String |
getName(AnnotatedElement annElement) |
String |
resolve(Field fromField)
Resolve the property name from this field.
|
String |
resolve(int parameterIdx,
Constructor<?> fromConstructor)
Resolve the parameter name on position parameterIdx in the constructor fromConstructor.
|
String |
resolve(int parameterIdx,
Method fromMethod)
Resolve the name of the parameter with parameterIdx as index in fromMethod method.
|
String |
resolve(Method fromMethod)
Resolve the property name from this method.
|
public String resolve(int parameterIdx, Constructor<?> fromConstructor)
PropertyNameResolver
resolve
in interface PropertyNameResolver
public String resolve(int parameterIdx, Method fromMethod)
PropertyNameResolver
resolve
in interface PropertyNameResolver
public String resolve(Field fromField)
PropertyNameResolver
resolve
in interface PropertyNameResolver
fromField
- - the field to use for name resolution.public String resolve(Method fromMethod)
PropertyNameResolver
resolve
in interface PropertyNameResolver
fromMethod
- - the method to be used for name resolution.protected String getName(AnnotatedElement annElement)
Copyright © 2019. All rights reserved.