| Modifier and Type | Field and Description |
|---|---|
static Class[] |
ANY_PARAMETERS |
static Class[] |
NO_PARAMETERS |
| Constructor and Description |
|---|
ReflectiveProc(Constructor constructor) |
ReflectiveProc(Object instance,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
static Class[] |
anyParameters(int count) |
protected Object |
copyObjectVarArgs(Object[] args,
int len) |
protected Object |
copyPrimitiveVarArgs(Object[] args,
Class<?> c) |
static ReflectiveProc |
invoke(Class clazz,
String name,
Class... paramTypes) |
static ReflectiveProc |
invoke(Object object,
String name,
Class... paramTypes) |
static PN |
invokeWith(Class clazz,
String name,
Object... args) |
static PN |
invokeWith(Object object,
String name,
Object... args) |
static ReflectiveProc |
newInstance(Class<?> clazz,
Class... paramTypes) |
static PN |
newInstanceWith(Class<?> clazz,
Object... args) |
protected Object |
runN(Object[] args) |
createCopy, runargs, asProc0, asProc1, asProc2, asProc3, asProc4, assertArgCount, call, callAgain, copy, copy, curry, curryAt, describeArgsTo, describeKeyTo, describeNameTo, describeTo, exception, executeProc, getArgs, getException, getResult, hasResult, illegalArgumentException, name, notImplemented, retry, runtimeException, runtimeException, toString, withpublic static final Class[] ANY_PARAMETERS
public static final Class[] NO_PARAMETERS
public ReflectiveProc(Constructor constructor)
public static Class[] anyParameters(int count)
public static ReflectiveProc newInstance(Class<?> clazz, Class... paramTypes)
public static ReflectiveProc invoke(Class clazz, String name, Class... paramTypes)
public static ReflectiveProc invoke(Object object, String name, Class... paramTypes)
protected Object copyPrimitiveVarArgs(Object[] args, Class<?> c) throws AssertionError
AssertionErrorCopyright © 2013. All Rights Reserved.