public class BeanUtil
extends java.lang.Object
Constructor and Description |
---|
BeanUtil() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
isCglibGetCallbacks(AnnotatedMethod am)
This method was added to address [JACKSON-53]: need to weed out
CGLib-injected "getCallbacks".
|
protected static boolean |
isGroovyMetaClassGetter(AnnotatedMethod am)
Another helper method to deal with rest of [JACKSON-103]
|
protected static boolean |
isGroovyMetaClassSetter(AnnotatedMethod am)
Similar to
isCglibGetCallbacks(org.codehaus.jackson.map.introspect.AnnotatedMethod) , need to suppress
a cyclic reference to resolve [JACKSON-103] |
protected static java.lang.String |
manglePropertyName(java.lang.String basename)
Method called to figure out name of the property, given
corresponding suggested name based on a method or field name.
|
static java.lang.String |
okNameForGetter(AnnotatedMethod am) |
static java.lang.String |
okNameForIsGetter(AnnotatedMethod am,
java.lang.String name) |
static java.lang.String |
okNameForRegularGetter(AnnotatedMethod am,
java.lang.String name) |
static java.lang.String |
okNameForSetter(AnnotatedMethod am) |
public static java.lang.String okNameForGetter(AnnotatedMethod am)
public static java.lang.String okNameForRegularGetter(AnnotatedMethod am, java.lang.String name)
public static java.lang.String okNameForIsGetter(AnnotatedMethod am, java.lang.String name)
public static java.lang.String okNameForSetter(AnnotatedMethod am)
protected static boolean isCglibGetCallbacks(AnnotatedMethod am)
Also, see [JACKSON-177]; Hibernate may repackage cglib it uses, so we better catch that too
protected static boolean isGroovyMetaClassSetter(AnnotatedMethod am)
isCglibGetCallbacks(org.codehaus.jackson.map.introspect.AnnotatedMethod)
, need to suppress
a cyclic reference to resolve [JACKSON-103]protected static boolean isGroovyMetaClassGetter(AnnotatedMethod am)
protected static java.lang.String manglePropertyName(java.lang.String basename)
basename
- Name of accessor/mutator method, not including prefix
("get"/"is"/"set")