public class PropertyHelper
extends java.lang.Object
Constructor and Description |
---|
PropertyHelper() |
Modifier and Type | Method and Description |
---|---|
static EventPropertyGetter |
getGetter(java.lang.reflect.Method method,
FastClass fastClass,
EventAdapterService eventAdapterService)
Return getter for the given method and CGLIB FastClass.
|
static java.lang.String |
getGetterMethodName(java.lang.String propertyName) |
static java.lang.String |
getIsMethodName(java.lang.String propertyName) |
static java.util.List<InternalEventPropDescriptor> |
getProperties(java.lang.Class clazz)
Introspects the given class and returns event property descriptors for each property found
in the class itself, it's superclasses and all interfaces this class and the superclasses implements.
|
static java.lang.String |
getSetterMethodName(java.lang.String propertyName) |
static java.util.Set<WriteablePropertyDescriptor> |
getWritableProperties(java.lang.Class clazz)
Introspects the given class and returns event property descriptors for each writable property found
in the class itself, it's superclasses and all interfaces this class and the superclasses implements.
|
public static EventPropertyGetter getGetter(java.lang.reflect.Method method, FastClass fastClass, EventAdapterService eventAdapterService)
method
- to return getter forfastClass
- is the CGLIB fast classs to make FastMethod foreventAdapterService
- factory for event beans and event typespublic static java.util.List<InternalEventPropDescriptor> getProperties(java.lang.Class clazz)
clazz
- is the Class to introspectpublic static java.util.Set<WriteablePropertyDescriptor> getWritableProperties(java.lang.Class clazz)
clazz
- is the Class to introspectpublic static java.lang.String getGetterMethodName(java.lang.String propertyName)
public static java.lang.String getSetterMethodName(java.lang.String propertyName)
public static java.lang.String getIsMethodName(java.lang.String propertyName)