List<PsiAnnotation> (PsiModifierList modifierList) { final ArrayList<PsiAnnotation> result = new ArrayList<>(); for (PsiAnnotation annotation : modifierList.getAnnotations()) { if (GroovyCommonClassNames.GROOVY_LANG_MIXIN.equals(annotation.getQualifiedName())) { result.add(annotation); } } return result; }