public class BeanUtils
extends java.lang.Object
| Constructor and Description |
|---|
BeanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPseudoProperties(ClassNode origType,
ClassNode cNode,
java.util.List<PropertyNode> result,
java.util.Set<java.lang.String> names,
boolean includeStatic,
boolean includePseudoGetters,
boolean includePseudoSetters) |
static java.util.List<PropertyNode> |
getAllProperties(ClassNode type,
boolean includeSuperProperties,
boolean includeStatic,
boolean includePseudoGetters)
Get all properties including JavaBean pseudo properties matching getter conventions.
|
static java.util.List<PropertyNode> |
getAllProperties(ClassNode type,
boolean includeSuperProperties,
boolean includeStatic,
boolean includePseudoGetters,
boolean includePseudoSetters,
boolean superFirst)
Get all properties including JavaBean pseudo properties matching JavaBean getter or setter conventions.
|
public static java.util.List<PropertyNode> getAllProperties(ClassNode type, boolean includeSuperProperties, boolean includeStatic, boolean includePseudoGetters)
type - the ClassNodeincludeSuperProperties - whether to include super propertiesincludeStatic - whether to include static propertiesincludePseudoGetters - whether to include JavaBean pseudo (getXXX/isYYY) properties with no corresponding fieldpublic static java.util.List<PropertyNode> getAllProperties(ClassNode type, boolean includeSuperProperties, boolean includeStatic, boolean includePseudoGetters, boolean includePseudoSetters, boolean superFirst)
type - the ClassNodeincludeSuperProperties - whether to include super propertiesincludeStatic - whether to include static propertiesincludePseudoGetters - whether to include JavaBean pseudo (getXXX/isYYY) properties with no corresponding fieldincludePseudoSetters - whether to include JavaBean pseudo (setXXX) properties with no corresponding fieldsuperFirst - are properties gathered first from parent classespublic static void addPseudoProperties(ClassNode origType, ClassNode cNode, java.util.List<PropertyNode> result, java.util.Set<java.lang.String> names, boolean includeStatic, boolean includePseudoGetters, boolean includePseudoSetters)