Package org.brijframework.util.accessor
Class MetaAccessorUtil
- java.lang.Object
-
- org.brijframework.util.accessor.MetaAccessorUtil
-
public class MetaAccessorUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description MetaAccessorUtil()
-
Method Summary
-
-
-
Method Detail
-
getPropertyMeta
public static AccessibleObject getPropertyMeta(Class<?> meta, String field)
-
findGetterMeta
public static AccessibleObject findGetterMeta(Class<?> meta, String field, ReflectionAccess level)
-
setPropertyMeta
public static AccessibleObject setPropertyMeta(Class<?> meta, String field, Object value)
-
findSetterMeta
public static AccessibleObject findSetterMeta(Class<?> meta, String field, ReflectionAccess level)
-
setPropertyMeta
public static AccessibleObject setPropertyMeta(Class<?> meta, String field, ReflectionAccess level, Object value)
-
getPropertiesMeta
public static List<AccessibleObject> getPropertiesMeta(Class<?> meta)
-
getPropertiesMeta
public static List<AccessibleObject> getPropertiesMeta(Class<?> meta, ReflectionAccess level)
this get all properties of class- Returns:
-
getLogicMeta
public static Method getLogicMeta(Class<?> meta, String _method, ReflectionAccess level, Object... paramObjects)
-
getterPropertyDescriptor
public static Method getterPropertyDescriptor(Class<?> _meta, String _name) throws IntrospectionException
- Throws:
IntrospectionException
-
setterPropertyMeta
public static Method setterPropertyMeta(Class<?> _meta, String _name, Object value)
-
setterPropertyDescriptor
public static Method setterPropertyDescriptor(Class<?> _meta, String _name) throws IntrospectionException
- Throws:
IntrospectionException
-
setterPropertyDescriptorList
public static Map<String,Method> setterPropertyDescriptorList(Class<?> _meta)
-
getterPropertyDescriptorList
public static Map<String,Method> getterPropertyDescriptorList(Class<?> _meta)
-
setterPropertyDescriptor
public static Method setterPropertyDescriptor(Class<?> _meta, String _name, Object value) throws IntrospectionException
- Throws:
IntrospectionException
-
findFieldMeta
public static Field findFieldMeta(Class<?> _meta, String _name, ReflectionAccess access)
-
getMethodDescriptor
public static Method getMethodDescriptor(Class<?> _meta, String method, Object... paramClasses) throws IntrospectionException
- Throws:
IntrospectionException
-
getMethodMeta
public static Method getMethodMeta(Class<?> _meta, ReflectionAccess level, String _name, Object... params)
-
getMethodMeta
public static Method getMethodMeta(Class<?> _meta, ReflectionAccess level, String _name, int params)
-
getNamePropertiesMeta
public static Set<String> getNamePropertiesMeta(Class<?> meta, ReflectionAccess level)
-
getNameLogicsMeta
public Set<String> getNameLogicsMeta(Class<?> meta, ReflectionAccess level)
-
getLogicsMeta
public static Set<Method> getLogicsMeta(Class<?> meta, ReflectionAccess level)
-
-