Package | Description |
---|---|
net.sf.joafip.reflect | |
net.sf.joafip.store.service |
Modifier and Type | Class and Description |
---|---|
class |
NullFieldException |
Modifier and Type | Method and Description |
---|---|
int |
HelperReflect.arrayLength(Object array) |
void |
HelperReflect.assertNotNullField(Object object,
ClassInfoFactory classInfoFactory)
assert that field annotated assert not null are not null
used for debug |
FieldInfo |
HelperReflect.createFieldInfo(IClassInfoFactory classInfoFactory,
Field field) |
DeclaredFields |
HelperReflect.declaredFieldsByReflection(Class<?> classForField,
IClassInfoFactory classInfoFactory)
get all declared fields to persist or not for a class using recursive
reflection on class and mother class
|
Object |
HelperReflect.getArrayElement(Object array,
int index) |
Object |
HelperReflect.getFieldValue(Object object,
FieldInfo fieldInfo,
boolean checkAssertNotNull)
Returns the value of the field represented by this
FieldInfo
, on the specified object. |
Object |
HelperReflect.invokeMethod(Class<?> objectClass,
String methodName,
Object objectForInvoke,
Class<?>[] parameterTypes,
Object[] args) |
Object |
HelperReflect.invokeMethod(Object objectForInvoke,
Method method,
Object[] args) |
Object |
HelperReflect.invokeStaticMethod(Class<?> objectClass,
String methodName,
Class<?>[] parameterTypes,
Object[] args) |
Object |
HelperReflect.newInstanceConstruct(Class<?> objectClass,
Class<?>[] parameterTypes,
Object[] initargs)
create a new instance
The parameterTypes parameter is an array of
Class objects that identify the constructor's formal
parameter types, in declared order. |
Object |
HelperReflect.newInstanceDefaultConstructor(Class<?> objectClass) |
Object |
HelperReflect.newInstanceNoConstruction(Class<?> objectClass)
create a new proxy instance not invoking constructor
|
void |
HelperReflect.setArrayElement(Object array,
int index,
Object elementValue) |
void |
HelperReflect.setFieldValue(Object object,
FieldInfo fieldInfo,
Object fieldValue) |
void |
HelperReflect.setFieldValueToNull(Object object,
FieldInfo fieldInfo) |
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractDelegatingToStoreManagers.newInstance(ClassInfo objectClassInfo,
Class<?>[] parameterTypes,
Object[] initargs) |
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.