public class BeanIntrospector extends Object
The java.beans.Introspector does not process the interfaces hierarchy chain, this one does.
Modifier and Type | Method and Description |
---|---|
static List<PropertyDescriptor> |
getPropertyDescriptorsWithGetters(Class<?> clazz)
Extract all
PropertyDescriptor s for properties with a getter that does not come from
Object and does not accept parameters. |
static List<PropertyDescriptor> |
getPropertyDescriptorsWithGettersAndSetters(Class<?> clazz)
Extract all
PropertyDescriptor s for properties with a getter (that does not come from
Object and does not accept parameters) and a setter. |
public static List<PropertyDescriptor> getPropertyDescriptorsWithGetters(Class<?> clazz)
PropertyDescriptor
s for properties with a getter that does not come from
Object
and does not accept parameters.clazz
- The class to extract the desired PropertyDescriptor
s fromPropertyDescriptor
s for properties with a getter that does not come from
Object
and does not accept parameters.public static List<PropertyDescriptor> getPropertyDescriptorsWithGettersAndSetters(Class<?> clazz)
PropertyDescriptor
s for properties with a getter (that does not come from
Object
and does not accept parameters) and a setter.clazz
- The class to extract the desired PropertyDescriptor
s fromPropertyDescriptor
s for properties with a getter (that does not come from
Object
and does not accept parameters) and a setter.Copyright © 2020. All rights reserved.