for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
package io.github.ro4.annotation;
import org.springframework.aop.MethodMatcher;
import java.lang.reflect.Method;
public class CheckableMethodMatcher implements MethodMatcher {
@Override
public boolean matches(Method method, Class<?> targetClass) {
return method.isAnnotationPresent(Checkable.class);
}
public boolean isRuntime() {
return false;
public boolean matches(Method method, Class<?> targetClass, Object... args) {
return matches(method, targetClass);