boolean (PsiField field) { PsiModifierList list = field.getModifierList(); if (list == null) { return false; } // modifier must be static if (!list.hasModifierProperty(PsiModifier.STATIC)) { return false; } // name must NOT have any lowercase character return !StringUtil.hasLowerCaseChar(field.getName()); }