mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
stub for ordered scopes problem
This commit is contained in:
@@ -85,6 +85,7 @@ public class InspectionProfileImpl extends ProfileEx implements ModifiableModel,
|
||||
private final ExternalInfo myExternalInfo = new ExternalInfo();
|
||||
@TestOnly
|
||||
public static boolean INIT_INSPECTIONS = false;
|
||||
private List<NamedScope> myScopes = Collections.emptyList();
|
||||
|
||||
@Override
|
||||
public void setModified(final boolean modified) {
|
||||
@@ -942,4 +943,11 @@ public class InspectionProfileImpl extends ProfileEx implements ModifiableModel,
|
||||
public boolean equals(Object o) {
|
||||
return super.equals(o) && ((InspectionProfileImpl)o).getProfileManager() == getProfileManager();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return list of used scopes for all inspections
|
||||
*/
|
||||
public List<NamedScope> getUsedScopes() {
|
||||
return myScopes;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user