boolean (@NotNull GrTypeDefinition clazz) { PsiAnnotation annotation = AnnotationUtil.findAnnotation(clazz, true, BINDABLE_FQN); if (annotation != null) return true; for (GrField method : clazz.getCodeFields()) { if (AnnotationUtil.findAnnotation(method, true, BINDABLE_FQN) != null) { return true; } } return false; }