private void checkShouldAbbreviate()

in src/org/gridgain/inspection/abbrev/AbbreviationInspection.java [129:140]


            private void checkShouldAbbreviate(PsiNamedElement toCheck, PsiElement el) {
                List<String> nameParts = nameParts(toCheck.getName());

                for (String part : nameParts) {
                    if (getAbbreviation(part) != null) {
                        holder.registerProblem(el, "Abbreviation should be used",
                            new RenameToFix(replaceWithAbbreviations(nameParts)));

                        break;
                    }
                }
            }