@Override public StubBuilder getBuilder() { return new DefaultStubBuilder() { @NotNull @Override protected StubElement createStubForFile(@NotNull PsiFile file) { if(file instanceof CSharpFileImpl) { return new CSharpFileStub((CSharpFileImpl) file); } return super.createStubForFile(file); } }; }
@Override public StubBuilder getBuilder() { return new DefaultStubBuilder() { @NotNull @Override protected StubElement createStubForFile(@NotNull PsiFile file) { if(file instanceof MsilFile) { return new MsilFileStub((MsilFile) file); } return super.createStubForFile(file); } }; }
@Override public StubBuilder getBuilder() { return new DefaultStubBuilder() { @NotNull @Override protected StubElement createStubForFile(@NotNull PsiFile file) { if(file instanceof JSFile) { return new JSFileStubImpl((JSFile) file, file.getName()); } return super.createStubForFile(file); } }; }
@Override public StubBuilder getBuilder() { return new DefaultStubBuilder() { @NotNull @Override protected StubElement createStubForFile(@NotNull PsiFile file) { if (file instanceof RmlFile) { return new RmlFileStub((RmlFile) file); } return super.createStubForFile(file); } }; }
@Override public StubBuilder getBuilder() { return new DefaultStubBuilder() { @Override protected StubElement createStubForFile(@NotNull PsiFile file) { return new FileStub((SoyFile) file); } }; }
@Override public StubBuilder getBuilder() { return new DefaultStubBuilder() { @Override protected StubElement createStubForFile(@NotNull PsiFile file) { return new FileStub((ProtoPsiFileRoot) file); } }; }
@Override public StubBuilder getBuilder() { return new DefaultStubBuilder() { @NotNull @Override protected StubElement createStubForFile(@NotNull PsiFile file) { if (file instanceof SchemaFile) { SchemaFile schemaFile = (SchemaFile) file; Qn namespace = NamespaceManager.getNamespace(schemaFile); return new SchemaFileStubImpl(schemaFile, StringRef.fromNullableString(namespace == null ? null : namespace.toString())); } else return super.createStubForFile(file); } }; }
@Override public StubBuilder getBuilder() { return new DefaultStubBuilder() { @NotNull @Override protected StubElement createStubForFile(@NotNull PsiFile file) { if (file instanceof HaskellFile) { return new HaskellFileStub((HaskellFile)file); } return super.createStubForFile(file); } }; }