class PropertyDescriptorUtils
extends java.lang.Object
| Constructor and Description |
|---|
PropertyDescriptorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
compareMethods(java.lang.reflect.Method a,
java.lang.reflect.Method b) |
static void |
copyNonMethodProperties(java.beans.PropertyDescriptor source,
java.beans.PropertyDescriptor target) |
static boolean |
equals(java.beans.PropertyDescriptor pd1,
java.lang.Object obj)
Compare the given
PropertyDescriptor against the given Object and
return true if they are objects 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) |
static java.lang.Class<?> |
findPropertyType(java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod) |
public static void copyNonMethodProperties(java.beans.PropertyDescriptor source,
java.beans.PropertyDescriptor target)
throws java.beans.IntrospectionException
java.beans.IntrospectionExceptionpublic static java.lang.Class<?> findPropertyType(java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod)
throws java.beans.IntrospectionException
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
java.beans.IntrospectionExceptionpublic static boolean equals(java.beans.PropertyDescriptor pd1,
java.lang.Object obj)
PropertyDescriptor against the given Object and
return true if they are objects are equivalent, i.e. both are PropertyDescriptors whose read method, write method, property types, property
editor and flags are equivalent.PropertyDescriptor.equals(Object)public static boolean compareMethods(java.lang.reflect.Method a,
java.lang.reflect.Method b)