mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 12:01:25 +07:00
treat enum constructors as private (IDEA-118133)
This commit is contained in:
@@ -281,6 +281,9 @@ public class RefJavaUtilImpl extends RefJavaUtil{
|
||||
if (ownerClass.isInterface()) {
|
||||
result = PsiModifier.PUBLIC;
|
||||
}
|
||||
if (ownerClass.isEnum() && result.equals(PsiModifier.PACKAGE_LOCAL)) {
|
||||
result = PsiModifier.PRIVATE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user