|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.codereligion.reflect.internal.ForwardingBeanInfo
com.codereligion.reflect.GenericTypeAwareBeanInfo
public final class GenericTypeAwareBeanInfo
A decorator for a BeanInfo implementation that assures that known
bugs with generics in Java version 1.6 do not occur when reading properties.
| Field Summary |
|---|
| Fields inherited from interface java.beans.BeanInfo |
|---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Method Summary | |
|---|---|
protected BeanInfo |
delegate()
|
PropertyDescriptor[] |
getPropertyDescriptors()
|
static BeanInfo |
of(BeanInfo beanInfo)
Creates a new instance which decorates the given beanInfo object. |
| Methods inherited from class com.codereligion.reflect.internal.ForwardingBeanInfo |
|---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static BeanInfo of(BeanInfo beanInfo)
beanInfo object.
beanInfo - the BeanInfo implementation to decorate
BeanInfo implementation
NullPointerException - when the given parameter is null
IllegalArgumentException - when the given BeanInfo is already a GenericTypeAwareBeanInfoprotected BeanInfo delegate()
delegate in class com.codereligion.reflect.internal.ForwardingBeanInfopublic PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface BeanInfogetPropertyDescriptors in class com.codereligion.reflect.internal.ForwardingBeanInfo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||