ModifierCache () { Set<String> modifiers = calcExplicitModifiers(); modifiers.addAll(calcImplicitModifiers(modifiers)); if (!modifiers.contains(PUBLIC) && !modifiers.contains(PROTECTED) && !modifiers.contains(PRIVATE)) { modifiers.add(PACKAGE_LOCAL); } PsiFile file = getContainingFile(); return new ModifierCache(file, PsiAugmentProvider.transformModifierProperties(this, file.getProject(), modifiers)); }