Class MockMethodAdvice.ForStatic

java.lang.Object
org.mockito.internal.creation.bytebuddy.MockMethodAdvice.ForStatic
Enclosing class:
MockMethodAdvice

static class MockMethodAdvice.ForStatic extends Object
  • Constructor Details

    • ForStatic

      ForStatic()
  • Method Details

    • enter

      @OnMethodEnter(skipOn=net.bytebuddy.asm.Advice.OnNonDefaultValue.class) private static Callable<?> enter(String identifier, @Origin Class<?> type, @Origin Method origin, @AllArguments Object[] arguments) throws Throwable
      Throws:
      Throwable
    • exit

      @OnMethodExit private static void exit(@Return(readOnly=false,typing=DYNAMIC) Object returned, @Enter Callable<?> mocked) throws Throwable
      Throws:
      Throwable