boolean (PsiModifierList list, PsiAnnotationMemberValue value) { @PsiModifier.ModifierConstant final String name = StringUtil.unquoteString(value.getText()); if (MatchOptions.INSTANCE_MODIFIER_NAME.equals(name)) { return !list.hasModifierProperty(PsiModifier.STATIC) && !list.hasModifierProperty(PsiModifier.ABSTRACT) && list.getParent() instanceof PsiMember; } return list.hasModifierProperty(name) && (!PsiModifier.PACKAGE_LOCAL.equals(name) || list.getParent() instanceof PsiMember); }