you can use: `method.containsAnnotation(NonTransactional.class)`