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.MethodgetExecutable()java.util.Optional<java.lang.Object>getTarget()java.lang.Class<?>getTargetClass()Tproceed()
-
-
-
Method Detail
-
getTargetClass
public java.lang.Class<?> getTargetClass()
- Specified by:
getTargetClassin interfaceorg.junit.jupiter.api.extension.ReflectiveInvocationContext<T>
-
getTarget
public java.util.Optional<java.lang.Object> getTarget()
- Specified by:
getTargetin interfaceorg.junit.jupiter.api.extension.ReflectiveInvocationContext<T>
-
getExecutable
public java.lang.reflect.Method getExecutable()
- Specified by:
getExecutablein interfaceorg.junit.jupiter.api.extension.ReflectiveInvocationContext<T>
-
getArguments
public java.util.List<java.lang.Object> getArguments()
- Specified by:
getArgumentsin interfaceorg.junit.jupiter.api.extension.ReflectiveInvocationContext<T>
-
-