public class BeanUtils extends Object
Constructor and Description |
---|
BeanUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addPseudoProperties(ClassNode origType,
ClassNode cNode,
List<PropertyNode> result,
Set<String> names,
boolean includeStatic,
boolean includePseudoGetters,
boolean includePseudoSetters) |
static List<PropertyNode> |
getAllProperties(ClassNode type,
boolean includeSuperProperties,
boolean includeStatic,
boolean includePseudoGetters)
Get all properties including JavaBean pseudo properties matching getter conventions.
|
static 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 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 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 classes