Class MethodInvocation<T>
- java.lang.Object
-
- org.junit.jupiter.engine.execution.MethodInvocation<T>
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T>
,org.junit.jupiter.api.extension.ReflectiveInvocationContext<java.lang.reflect.Method>
class MethodInvocation<T> extends java.lang.Object implements org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T>, org.junit.jupiter.api.extension.ReflectiveInvocationContext<java.lang.reflect.Method>
-
-
Constructor Summary
Constructors Constructor Description MethodInvocation(java.lang.reflect.Method method, java.util.Optional<java.lang.Object> target, java.lang.Object[] arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>
getArguments()
java.lang.reflect.Method
getExecutable()
java.util.Optional<java.lang.Object>
getTarget()
java.lang.Class<?>
getTargetClass()
T
proceed()
-
-
-
Method Detail
-
getTargetClass
public java.lang.Class<?> getTargetClass()
- Specified by:
getTargetClass
in interfaceorg.junit.jupiter.api.extension.ReflectiveInvocationContext<T>
-
getTarget
public java.util.Optional<java.lang.Object> getTarget()
- Specified by:
getTarget
in interfaceorg.junit.jupiter.api.extension.ReflectiveInvocationContext<T>
-
getExecutable
public java.lang.reflect.Method getExecutable()
- Specified by:
getExecutable
in interfaceorg.junit.jupiter.api.extension.ReflectiveInvocationContext<T>
-
getArguments
public java.util.List<java.lang.Object> getArguments()
- Specified by:
getArguments
in interfaceorg.junit.jupiter.api.extension.ReflectiveInvocationContext<T>
-
-