@Test @DisplayName(NOT_ACCEPT_NULLS) void passNullToleranceCheck() { new NullPointerTester().testAllPublicStaticMethods(MethodExceptionCheck.class); Method method = method("noExceptions"); MethodExceptionCheck checker = check(method, null); new NullPointerTester().testAllPublicInstanceMethods(checker); }
static MethodExceptionCheck check(Method method, @Nullable Class<? extends Throwable> allowedThrowable) { checkNotNull(method); return new MethodExceptionCheck(method, allowedThrowable); }
MethodExceptionCheck { static MethodExceptionCheck check(Method method, @Nullable Class<? extends Throwable> allowedThrowable) { checkNotNull(method); return new MethodExceptionCheck(method, allowedThrowable); } }
MethodExceptionCheck { static MethodExceptionCheck check(Method method, @Nullable Class<? extends Throwable> allowedThrowable) { checkNotNull(method); return new MethodExceptionCheck(method, allowedThrowable); } private  MethodExceptionCheck(Method method, @Nullable Class<? extends Throwable> throwable); }
MethodExceptionCheck { static MethodExceptionCheck check(Method method, @Nullable Class<? extends Throwable> allowedThrowable) { checkNotNull(method); return new MethodExceptionCheck(method, allowedThrowable); } private  MethodExceptionCheck(Method method, @Nullable Class<? extends Throwable> throwable);  }
MethodExceptionCheck { static MethodExceptionCheck check(Method method, @Nullable Class<? extends Throwable> allowedThrowable) { checkNotNull(method); return new MethodExceptionCheck(method, allowedThrowable); } private  MethodExceptionCheck(Method method, @Nullable Class<? extends Throwable> throwable);   }