|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fasterxml.jackson.databind.util.BeanUtil
public class BeanUtil
Helper class that contains functionality needed by both serialization and deserialization side.
Constructor Summary | |
---|---|
BeanUtil()
|
Method Summary | |
---|---|
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 |
manglePropertyName(String basename)
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)
|
static String |
okNameForIsGetter(AnnotatedMethod am,
String name)
|
static String |
okNameForMutator(AnnotatedMethod am,
String prefix)
|
static String |
okNameForRegularGetter(AnnotatedMethod am,
String name)
|
static String |
okNameForSetter(AnnotatedMethod am)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanUtil()
Method Detail |
---|
public static String okNameForGetter(AnnotatedMethod am)
public static String okNameForRegularGetter(AnnotatedMethod am, String name)
public static String okNameForIsGetter(AnnotatedMethod am, String name)
public static String okNameForSetter(AnnotatedMethod am)
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 manglePropertyName(String basename)
basename
- Name of accessor/mutator method, not including prefix
("get"/"is"/"set")
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |