LinkedHashSet<String> (PsiMethod psiMethod, byte frameworkId) { LinkedHashSet<String> patterns = new LinkedHashSet<>(); final PsiClass containingClass = psiMethod.getContainingClass(); if (containingClass != null) { final String qualifiedName = containingClass.getQualifiedName(); if (qualifiedName != null) { collectPatterns(psiMethod.getProject(), patterns, qualifiedName, psiMethod.getName(), frameworkId); } } return patterns; }