public class BeanUtil extends 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(com.fasterxml.jackson.databind.introspect.AnnotatedMethod) , need to suppress
a cyclic reference to resolve [JACKSON-103] |
protected static String |
legacyManglePropertyName(String basename,
int offset)
Method called to figure out name of the property, given
corresponding suggested name based on a method or field name.
|
static String |
okNameForGetter(AnnotatedMethod am)
Deprecated.
|
static String |
okNameForGetter(AnnotatedMethod am,
boolean stdNaming) |
static String |
okNameForIsGetter(AnnotatedMethod am,
String name)
Deprecated.
|
static String |
okNameForIsGetter(AnnotatedMethod am,
String name,
boolean stdNaming) |
static String |
okNameForMutator(AnnotatedMethod am,
String prefix)
Deprecated.
|
static String |
okNameForMutator(AnnotatedMethod am,
String prefix,
boolean stdNaming) |
static String |
okNameForRegularGetter(AnnotatedMethod am,
String name)
Deprecated.
|
static String |
okNameForRegularGetter(AnnotatedMethod am,
String name,
boolean stdNaming) |
static String |
okNameForSetter(AnnotatedMethod am)
Deprecated.
|
static String |
okNameForSetter(AnnotatedMethod am,
boolean stdNaming) |
protected static String |
stdManglePropertyName(String basename,
int offset) |
public static String okNameForGetter(AnnotatedMethod am, boolean stdNaming)
public static String okNameForRegularGetter(AnnotatedMethod am, String name, boolean stdNaming)
public static String okNameForIsGetter(AnnotatedMethod am, String name, boolean stdNaming)
public static String okNameForSetter(AnnotatedMethod am, boolean stdNaming)
public static String okNameForMutator(AnnotatedMethod am, String prefix, boolean stdNaming)
@Deprecated public static String okNameForGetter(AnnotatedMethod am)
@Deprecated public static String okNameForRegularGetter(AnnotatedMethod am, String name)
@Deprecated public static String okNameForIsGetter(AnnotatedMethod am, String name)
@Deprecated public static String okNameForSetter(AnnotatedMethod am)
@Deprecated public static String okNameForMutator(AnnotatedMethod am, String prefix)
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(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)
, need to suppress
a cyclic reference to resolve [JACKSON-103]protected static boolean isGroovyMetaClassGetter(AnnotatedMethod am)
protected static String legacyManglePropertyName(String basename, int offset)
basename
- Name of accessor/mutator method, not including prefix
("get"/"is"/"set")Copyright © 2014 FasterXML. All Rights Reserved.