Type Parameters:
RT - the type of the receiver.
T - the type of the returned value.
final class ReflectMethod<RT, T>
extends java.lang.Object
Utility class for accessing to a method by reflection.
Parameters:
<RT> -
<T> -
Maven Group Identifier:
Maven Artifact Identifier:
Since:
Constructor Summary
Constructors
Action Summary
All actions Static actions Instance actions
Constructor Details
new(Class<T>,Class<T>,String)
protected new (Class<T>,Class<T>,String)
Constructor.
Parameters:
receiverType -
returnType -
methodName -
Action Details
invoke(RT,Object*)
def invoke(RT,Object*) : T
Invoke the method.
Parameters:
receiver -
arguments -
Returns:
of(Class<T>,Class<T>,String)
def of(Class<T>,Class<T>,String) : ReflectMethod <RT,T> with RT, T
Static constructor.
Parameters:
<RT> -
<T> -
receiverType -
returnType -
methodName -
Returns: