class GenericTypeAwarePropertyDescriptor
extends java.beans.PropertyDescriptor
getPropertyType()
such that a generically
declared type will be resolved against the containing bean class.Modifier and Type | Field and Description |
---|---|
private java.util.Set<java.lang.reflect.Method> |
ambiguousWriteMethods |
private java.lang.Class |
beanClass |
private java.lang.Class |
propertyEditorClass |
private java.lang.Class |
propertyType |
private java.lang.reflect.Method |
readMethod |
private java.lang.reflect.Method |
writeMethod |
private MethodParameter |
writeMethodParameter |
Constructor and Description |
---|
GenericTypeAwarePropertyDescriptor(java.lang.Class beanClass,
java.lang.String propertyName,
java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod,
java.lang.Class propertyEditorClass) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getBeanClass() |
java.lang.Class |
getPropertyEditorClass() |
java.lang.Class |
getPropertyType() |
java.lang.reflect.Method |
getReadMethod() |
java.lang.reflect.Method |
getWriteMethod() |
java.lang.reflect.Method |
getWriteMethodForActualAccess() |
MethodParameter |
getWriteMethodParameter() |
createPropertyEditor, equals, hashCode, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethod
private final java.lang.Class beanClass
private final java.lang.reflect.Method readMethod
private final java.lang.reflect.Method writeMethod
private final java.lang.Class propertyEditorClass
private volatile java.util.Set<java.lang.reflect.Method> ambiguousWriteMethods
private java.lang.Class propertyType
private MethodParameter writeMethodParameter
public GenericTypeAwarePropertyDescriptor(java.lang.Class beanClass, java.lang.String propertyName, java.lang.reflect.Method readMethod, java.lang.reflect.Method writeMethod, java.lang.Class propertyEditorClass) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public java.lang.Class<?> getBeanClass()
public java.lang.reflect.Method getReadMethod()
getReadMethod
in class java.beans.PropertyDescriptor
public java.lang.reflect.Method getWriteMethod()
getWriteMethod
in class java.beans.PropertyDescriptor
public java.lang.reflect.Method getWriteMethodForActualAccess()
public java.lang.Class getPropertyEditorClass()
getPropertyEditorClass
in class java.beans.PropertyDescriptor
public java.lang.Class getPropertyType()
getPropertyType
in class java.beans.PropertyDescriptor
public MethodParameter getWriteMethodParameter()