@Incubating public interface MemberAccessor
Modifier and Type | Method and Description |
---|---|
Object |
get(Field field,
Object target) |
Object |
invoke(Method method,
Object target,
Object... arguments) |
Object |
newInstance(Constructor<?> constructor,
Object... arguments) |
void |
set(Field field,
Object target,
Object value) |
Object newInstance(Constructor<?> constructor, Object... arguments) throws InstantiationException, InvocationTargetException, IllegalAccessException
Object invoke(Method method, Object target, Object... arguments) throws InvocationTargetException, IllegalAccessException
Object get(Field field, Object target) throws IllegalAccessException
IllegalAccessException
void set(Field field, Object target, Object value) throws IllegalAccessException
IllegalAccessException