public class InvocationResolver extends Object
| Constructor and Description |
|---|
InvocationResolver(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
protected MethodInvocationHandler |
createConstructorInvocator(Type result,
Type[] params,
Type[] exceptions) |
protected MethodInvocationHandler |
createGetterInvocator(String name,
Type result) |
protected MethodInvocationHandler |
createMethodInvocator(String name,
Type result,
Type[] params,
Type[] exceptions) |
protected MethodInvocationHandler |
createSetterInvocator(String name,
Type param) |
protected Constructor<?> |
findConstructor(Type result,
Type[] params,
Type[] exceptions) |
protected Field |
findField(String name,
Type type) |
protected MethodInvocationHandler |
findInvocationHandler(Method method) |
protected Method |
findMethod(String name,
Type result,
Type[] params,
Type[] exceptions) |
Class<?> |
getType() |
protected BindingSignature |
resolveSignature(Method method) |
public InvocationResolver(Class<?> type)
public Class<?> getType()
protected MethodInvocationHandler findInvocationHandler(Method method) throws NoSuchMethodException, NoSuchFieldException
protected BindingSignature resolveSignature(Method method) throws NoSuchMethodException, NoSuchFieldException
protected MethodInvocationHandler createSetterInvocator(String name, Type param) throws NoSuchFieldException
NoSuchFieldExceptionprotected MethodInvocationHandler createGetterInvocator(String name, Type result) throws NoSuchFieldException
NoSuchFieldExceptionprotected Field findField(String name, Type type) throws NoSuchFieldException
NoSuchFieldExceptionprotected MethodInvocationHandler createMethodInvocator(String name, Type result, Type[] params, Type[] exceptions) throws NoSuchMethodException
NoSuchMethodExceptionprotected Method findMethod(String name, Type result, Type[] params, Type[] exceptions) throws NoSuchMethodException
NoSuchMethodExceptionprotected MethodInvocationHandler createConstructorInvocator(Type result, Type[] params, Type[] exceptions) throws NoSuchMethodException
NoSuchMethodExceptionprotected Constructor<?> findConstructor(Type result, Type[] params, Type[] exceptions) throws NoSuchMethodException
NoSuchMethodExceptionCopyright © 2017. All rights reserved.