public class ReflectionWrapper extends GuardedWrapper
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
arguments |
protected Field |
field |
protected Method |
method |
protected ObjectHandler |
oh |
protected int |
scopeIndex |
protected Wrapper[] |
wrappers |
guardException, guards| Constructor and Description |
|---|
ReflectionWrapper(int scopeIndex,
Wrapper[] wrappers,
Guard[] guard,
AccessibleObject method,
Object[] arguments,
ObjectHandler oh) |
| Modifier and Type | Method and Description |
|---|---|
Object |
call(List<Object> scopes) |
Object[] |
getArguments() |
Field |
getField() |
Method |
getMethod() |
Wrapper[] |
getWrappers() |
String |
toString() |
protected Object |
unwrap(List<Object> scopes) |
equals, getGuards, guardCall, hashCodeprotected final int scopeIndex
protected final Wrapper[] wrappers
protected final ObjectHandler oh
protected final Method method
protected final Field field
protected final Object[] arguments
public ReflectionWrapper(int scopeIndex,
Wrapper[] wrappers,
Guard[] guard,
AccessibleObject method,
Object[] arguments,
ObjectHandler oh)
public Object call(List<Object> scopes) throws GuardException
call in interface Wrappercall in class GuardedWrapperGuardExceptionpublic Method getMethod()
public Field getField()
public Object[] getArguments()
public String toString()
toString in class GuardedWrapperpublic Wrapper[] getWrappers()
Copyright © 2018. All rights reserved.