mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
optimisation: do not restore the element
This commit is contained in:
@@ -131,7 +131,8 @@ public class MethodGroupingRule implements UsageGroupingRule {
|
||||
|
||||
@Override
|
||||
public FileStatus getFileStatus() {
|
||||
return isValid() ? NavigationItemFileStatus.get(getMethod()) : null;
|
||||
PsiFile file = myMethodPointer.getContainingFile();
|
||||
return file == null ? null : NavigationItemFileStatus.get(file);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user