Class MockMethodAdvice.StaticMethodCall
java.lang.Object
org.mockito.internal.creation.bytebuddy.MockMethodAdvice.StaticMethodCall
- All Implemented Interfaces:
Serializable
,RealMethod
- Enclosing class:
- MockMethodAdvice
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mockito.internal.invocation.RealMethod
RealMethod.FromBehavior, RealMethod.FromCallable, RealMethod.IsIllegal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Object[]
private final Method
private final MockMethodAdvice.SelfCallInfo
private final Class<?>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
StaticMethodCall
(MockMethodAdvice.SelfCallInfo selfCallInfo, Class<?> type, Method origin, Object[] arguments) -
Method Summary
-
Field Details
-
selfCallInfo
-
type
-
origin
-
arguments
-
-
Constructor Details
-
StaticMethodCall
private StaticMethodCall(MockMethodAdvice.SelfCallInfo selfCallInfo, Class<?> type, Method origin, Object[] arguments)
-
-
Method Details
-
isInvokable
public boolean isInvokable()- Specified by:
isInvokable
in interfaceRealMethod
-
invoke
- Specified by:
invoke
in interfaceRealMethod
- Throws:
Throwable
-