public final class IntrospectionCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
clearCache() |
static java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.Class<?> type,
java.lang.String propertyName)
Gets the property descriptor for a specific type.
|
static java.beans.PropertyDescriptor |
getPropertyDescriptorFromHierarchy(java.lang.Class<?> type,
java.lang.String propertyName)
Gets the property descriptor for a specific type from the type hierarchy (including the given type)
|
static java.util.Collection<java.beans.PropertyDescriptor> |
getPropertyDescriptors(java.lang.Class<?> type)
Gets a property decriptors for a specific type
|
static java.util.Collection<java.beans.PropertyDescriptor> |
getPropertyDescriptorsFromHierarchy(java.lang.Class<?> type)
Gets a property decriptors for a specific type from the type hierarchy (including the given type)
|
static java.lang.reflect.Method |
getReadMethodFromHierarchy(java.lang.Class<?> type,
java.lang.String propertyName)
Gets the read method for a defined property in the type hierarchy (including the given type)
|
static java.lang.reflect.Method |
getWriteMethodFromHierarchy(java.lang.Class<?> type,
java.lang.String propertyName)
Gets the write method for a defined property in the type hierarchy (including the given type)
|
public static void clearCache()
public static java.util.Collection<java.beans.PropertyDescriptor> getPropertyDescriptorsFromHierarchy(java.lang.Class<?> type)
type
- The type to get the property descriptor forpublic static java.beans.PropertyDescriptor getPropertyDescriptorFromHierarchy(java.lang.Class<?> type, java.lang.String propertyName)
type
- propertyName
- public static java.lang.reflect.Method getWriteMethodFromHierarchy(java.lang.Class<?> type, java.lang.String propertyName)
type
- propertyName
- public static java.lang.reflect.Method getReadMethodFromHierarchy(java.lang.Class<?> type, java.lang.String propertyName)
type
- propertyName
- public static java.util.Collection<java.beans.PropertyDescriptor> getPropertyDescriptors(java.lang.Class<?> type)
type
- The type to get the property descriptor forpublic static java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Class<?> type, java.lang.String propertyName)
type
- propertyName
- Siehe auch Jowidgets Nutzerhandbuch