mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
don't ignore scripts in groovy stub hierarchy indexing
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ public class GrStubFileElementType extends IStubFileElementType<GrFileStub> {
|
||||
|
||||
@Override
|
||||
public int getStubVersion() {
|
||||
return super.getStubVersion() + 28 + (IndexTree.STUB_HIERARCHY_ENABLED ? 1 : 0);
|
||||
return super.getStubVersion() + 29 + (IndexTree.STUB_HIERARCHY_ENABLED ? 1 : 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
-3
@@ -34,9 +34,6 @@ public class GrStubIndexer {
|
||||
|
||||
@NotNull
|
||||
public static Unit translate(int fileId, GrFileStub grFileStub) {
|
||||
if (grFileStub.isScript()) {
|
||||
return new Unit(fileId, null, IndexTree.GROOVY, Import.EMPTY_ARRAY, ClassDecl.EMPTY_ARRAY);
|
||||
}
|
||||
String pid = null;
|
||||
ArrayList<ClassDecl> classList = new ArrayList<ClassDecl>();
|
||||
Set<String> usedNames = new HashSet<String>();
|
||||
|
||||
Reference in New Issue
Block a user