boolean (@Nullable PsiAnnotation annotation, @NotNull String strategy) { if (annotation == null) return false; PsiClass aClass = GrAnnotationUtil.inferClassAttribute(annotation, STRATEGY_ATTRIBUTE); if (aClass == null) return false; return StringUtil.getQualifiedName(BUILDER_PACKAGE, strategy).equals(aClass.getQualifiedName()); }