@Incubating public interface MemberAccessor
Modifier and Type | Interface and Description |
---|---|
static interface |
MemberAccessor.ConstructionDispatcher |
static interface |
MemberAccessor.OnConstruction |
Modifier and Type | Method and Description |
---|---|
Object |
get(Field field,
Object target) |
Object |
invoke(Method method,
Object target,
Object... arguments) |
default Object |
newInstance(Constructor<?> constructor,
MemberAccessor.OnConstruction onConstruction,
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
default Object newInstance(Constructor<?> constructor, MemberAccessor.OnConstruction onConstruction, 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