class PropertyDescriptorUtils
extends java.lang.Object
PropertyDescriptor implementations.| Constructor and Description |
|---|
PropertyDescriptorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyNonMethodProperties(java.beans.PropertyDescriptor source,
java.beans.PropertyDescriptor target)
See
FeatureDescriptor. |
static boolean |
equals(java.beans.PropertyDescriptor pd,
java.beans.PropertyDescriptor otherPd)
Compare the given
PropertyDescriptors and return true if
they are equivalent, i.e. |
static java.lang.Class<?> |
findIndexedPropertyType(java.lang.String name,
java.lang.Class<?> propertyType,
java.lang.reflect.Method indexedReadMethod,
java.lang.reflect.Method indexedWriteMethod)
See
IndexedPropertyDescriptor.findIndexedPropertyType(java.lang.reflect.Method, java.lang.reflect.Method). |
static java.lang.Class<?> |
findPropertyType(java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod)
See
PropertyDescriptor.findPropertyType(java.lang.reflect.Method, java.lang.reflect.Method). |
public static void copyNonMethodProperties(java.beans.PropertyDescriptor source,
java.beans.PropertyDescriptor target)
throws java.beans.IntrospectionException
FeatureDescriptor.java.beans.IntrospectionExceptionpublic static java.lang.Class<?> findPropertyType(java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod)
throws java.beans.IntrospectionException
PropertyDescriptor.findPropertyType(java.lang.reflect.Method, java.lang.reflect.Method).java.beans.IntrospectionExceptionpublic static java.lang.Class<?> findIndexedPropertyType(java.lang.String name,
java.lang.Class<?> propertyType,
java.lang.reflect.Method indexedReadMethod,
java.lang.reflect.Method indexedWriteMethod)
throws java.beans.IntrospectionException
IndexedPropertyDescriptor.findIndexedPropertyType(java.lang.reflect.Method, java.lang.reflect.Method).java.beans.IntrospectionExceptionpublic static boolean equals(java.beans.PropertyDescriptor pd,
java.beans.PropertyDescriptor otherPd)
PropertyDescriptors and return true if
they are equivalent, i.e. their read method, write method, property type,
property editor and flags are equivalent.PropertyDescriptor.equals(Object)