don't export intellij.platform.projectModel.impl

GitOrigin-RevId: c927bbf14f5bf8ba06196d812c5cd5e917517627
This commit is contained in:
Vladimir Krivosheev
2024-12-28 01:15:41 +00:00
committed by intellij-monorepo-bot
parent 64906c4dbd
commit 8e2762c8b0
37 changed files with 40 additions and 22 deletions
+1
View File
@@ -19,6 +19,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="library" name="gson" level="project" />
<orderEntry type="module" module-name="intellij.regexp" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.statistics" />
<orderEntry type="library" name="fastutil-min" level="project" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
@@ -11,10 +11,7 @@ import com.intellij.psi.PsiNamedElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* @author Mikhail Golubev
*/
public final class JsonFindUsagesProvider implements FindUsagesProvider {
final class JsonFindUsagesProvider implements FindUsagesProvider {
@Override
public @Nullable WordsScanner getWordsScanner() {
return new JsonWordScanner();
@@ -40,8 +40,8 @@
<orderEntry type="module" module-name="intellij.platform.usageView.impl" exported="" />
<orderEntry type="library" name="cli-parser" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.workspace.jps" />
<orderEntry type="library" name="swingx" level="project" />
<orderEntry type="library" name="Guava" level="project" />
@@ -12,6 +12,7 @@
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="library" name="kotlinx-coroutines-core" level="project" />
<orderEntry type="library" name="jbr-api" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.boot" />
<orderEntry type="module" module-name="intellij.platform.util.classLoader" />
<orderEntry type="module" module-name="intellij.platform.ide.bootstrap" />
@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.editor.ex" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="library" exported="" name="JUnit4" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.ide.codeinsight.inline" />
@@ -10,6 +10,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.vcs" />
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.diff" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.util.io" />
</component>
@@ -17,6 +17,7 @@
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="library" name="JUnit4" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.platform.diff.tests" scope="TEST" />
<orderEntry type="library" scope="TEST" name="mockito" level="project" />
@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.indexing" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.platform.util.progress" />
<orderEntry type="module" module-name="intellij.platform.ide.bootstrap" />
+1
View File
@@ -20,6 +20,7 @@
<orderEntry type="module" module-name="intellij.java.execution.impl" />
<orderEntry type="module" module-name="intellij.xml.impl" />
<orderEntry type="module" module-name="intellij.properties" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.java.execution" />
<orderEntry type="module" module-name="intellij.java.ui" />
<orderEntry type="module" module-name="intellij.xml.dom" />
@@ -45,6 +45,7 @@
<orderEntry type="library" name="kotlin-reflect" level="project" />
<orderEntry type="library" name="gson" level="project" />
<orderEntry type="module" module-name="intellij.spellchecker" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="library" name="automaton" level="project" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.codeStyle.impl" />
@@ -12,7 +12,7 @@ import org.editorconfig.language.schema.descriptors.impl.EditorConfigConstantDes
import org.editorconfig.language.schema.descriptors.impl.EditorConfigDeclarationDescriptor
import org.editorconfig.language.schema.descriptors.impl.EditorConfigReferenceDescriptor
class EditorConfigFindUsagesProvider : FindUsagesProvider {
private class EditorConfigFindUsagesProvider : FindUsagesProvider {
override fun getWordsScanner(): WordsScanner = EditorConfigWordScanner()
override fun canFindUsagesFor(psiElement: PsiElement) = psiElement is EditorConfigDescribableElement
override fun getHelpId(psiElement: PsiElement): String = HelpID.FIND_OTHER_USAGES
@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.platform.webSymbols" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.images" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
</component>
<component name="copyright">
@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.markdown.utils" />
<orderEntry type="module" module-name="intellij.platform.builtInServer" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.analysis.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
@@ -11,6 +11,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="library" scope="PROVIDED" name="cli-parser" level="project" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
@@ -1,7 +1,6 @@
package com.jetbrains.performancePlugin.commands
import com.intellij.openapi.application.runReadAction
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.progress.ProgressIndicator
import com.intellij.openapi.progress.Task
@@ -57,7 +56,7 @@ class DumpProjectFiles(text: String, line: Int) : AbstractCommand(text, line) {
}
companion object {
const val PREFIX = CMD_PREFIX + "dumpProjectFiles"
internal const val PREFIX = CMD_PREFIX + "dumpProjectFiles"
private val LOG = logger<DumpProjectFiles>()
@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.xml.psi" />
<orderEntry type="module" module-name="intellij.xml.psi.impl" />
<orderEntry type="module" module-name="intellij.platform.structureView.impl" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.analysis.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
@@ -6,7 +6,7 @@ import com.intellij.psi.impl.cache.impl.OccurrenceConsumer;
import com.intellij.psi.impl.cache.impl.todo.LexerBasedTodoIndexer;
import org.jetbrains.annotations.NotNull;
public final class PropertiesTodoIndexer extends LexerBasedTodoIndexer {
public class PropertiesTodoIndexer extends LexerBasedTodoIndexer {
@Override
public @NotNull Lexer createLexer(@NotNull OccurrenceConsumer consumer) {
return PropertiesIdIndexer.createIndexingLexer(consumer);
@@ -14,6 +14,7 @@
<orderEntry type="module" module-name="intellij.platform.execution.impl" scope="PROVIDED" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" scope="PROVIDED" />
<orderEntry type="library" name="jsoup" level="project" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
@@ -10,7 +10,7 @@ import com.intellij.restructuredtext.lexer.RestFlexLexer;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class RestIndexPatternBuilder implements IndexPatternBuilder {
final class RestIndexPatternBuilder implements IndexPatternBuilder {
public static final TokenSet COMMENTS = TokenSet.create(RestTokenTypes.COMMENT);
@Override
@@ -10,7 +10,7 @@ import com.intellij.psi.tree.IElementType;
import com.intellij.restructuredtext.lexer.RestFlexLexer;
import org.jetbrains.annotations.NotNull;
public class RestTodoIndexer extends LexerBasedTodoIndexer {
final class RestTodoIndexer extends LexerBasedTodoIndexer {
@Override
public @NotNull Lexer createLexer(@NotNull OccurrenceConsumer consumer) {
return new BaseFilterLexer(new RestFlexLexer(), consumer) {
+1
View File
@@ -15,6 +15,7 @@
<orderEntry type="library" name="pty4j" level="project" />
<orderEntry type="library" name="gson" level="project" />
<orderEntry type="module" module-name="intellij.spellchecker" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.statistics" />
<orderEntry type="module" module-name="intellij.platform.debugger" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
@@ -15,10 +15,9 @@ import org.jetbrains.annotations.Nullable;
import static com.intellij.sh.lexer.ShTokenTypes.*;
public class ShFindUsagesProvider implements FindUsagesProvider {
final class ShFindUsagesProvider implements FindUsagesProvider {
@Override
public @Nullable WordsScanner getWordsScanner() {
public @NotNull WordsScanner getWordsScanner() {
return new DefaultWordsScanner(new ShLexer(), TokenSet.create(WORD), commentTokens, literals);
}
+1
View File
@@ -37,6 +37,7 @@
<orderEntry type="module" module-name="intellij.spellchecker" />
<orderEntry type="module" module-name="intellij.platform.diff" />
<orderEntry type="module" module-name="intellij.textmate.core" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="library" name="fastutil-min" level="project" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="library" name="jackson" level="project" />
@@ -10,7 +10,7 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.plugins.textmate.psi.TextMateFile;
public class TextMatePatternBuilder implements IndexPatternBuilder {
public final class TextMatePatternBuilder implements IndexPatternBuilder {
@Override
public @Nullable Lexer getIndexingLexer(@NotNull PsiFile file) {
return file instanceof TextMateFile ? new EmptyLexer() : null;
+1
View File
@@ -9,6 +9,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.codeStyle.impl" />
@@ -14,7 +14,7 @@ import org.toml.lang.lexer.TomlLexer
import org.toml.lang.psi.TOML_COMMENTS
import org.toml.lang.psi.TomlFile
class TomlTodoIndexPatternBuilder : IndexPatternBuilder {
private class TomlTodoIndexPatternBuilder : IndexPatternBuilder {
override fun getIndexingLexer(file: PsiFile): Lexer? = if (file is TomlFile) TomlLexer() else null
override fun getCommentTokenSet(file: PsiFile): TokenSet? = if (file is TomlFile) TOML_COMMENTS else null
override fun getCommentStartDelta(tokenType: IElementType?): Int = if (tokenType in TOML_COMMENTS) 1 else 0
@@ -13,7 +13,7 @@ import com.intellij.psi.search.UsageSearchContext
import org.toml.lang.lexer.TomlLexer
import org.toml.lang.psi.TOML_COMMENTS
class TomlTodoIndexer : LexerBasedTodoIndexer() {
private class TomlTodoIndexer : LexerBasedTodoIndexer() {
override fun createLexer(consumer: OccurrenceConsumer): Lexer = object : BaseFilterLexer(TomlLexer(), consumer) {
override fun advance() {
if (myDelegate.tokenType in TOML_COMMENTS) {
+1
View File
@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.xml" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.xml.impl" />
<orderEntry type="module" module-name="intellij.platform.editor.ex" />
@@ -17,6 +17,7 @@
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" />
<orderEntry type="module" module-name="intellij.platform.debugger" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.debugger.impl" />
<orderEntry type="module" module-name="intellij.xml" />
<orderEntry type="module" module-name="intellij.xml.impl" />
@@ -20,7 +20,7 @@ import org.intellij.lang.xpath.xslt.impl.XsltChecker;
import org.intellij.plugins.xsltDebugger.impl.XsltDebuggerEditorsProvider;
import org.jetbrains.annotations.NotNull;
public class XsltBreakpointType extends XLineBreakpointType<XBreakpointProperties> {
public final class XsltBreakpointType extends XLineBreakpointType<XBreakpointProperties> {
private final XsltDebuggerEditorsProvider myMyEditorsProvider1 = new XsltDebuggerEditorsProvider(XsltChecker.LanguageLevel.V1);
private final XsltDebuggerEditorsProvider myMyEditorsProvider2 = new XsltDebuggerEditorsProvider(XsltChecker.LanguageLevel.V2);
+1
View File
@@ -17,6 +17,7 @@
<orderEntry type="module" module-name="intellij.xml" />
<orderEntry type="module" module-name="intellij.json" />
<orderEntry type="module" module-name="intellij.json.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.editor.ex" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
@@ -8,7 +8,6 @@ import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiNamedElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.yaml.psi.*;
/**
@@ -16,7 +15,7 @@ import org.jetbrains.yaml.psi.*;
*/
public class YAMLFindUsagesProvider implements FindUsagesProvider {
@Override
public @Nullable WordsScanner getWordsScanner() {
public @NotNull WordsScanner getWordsScanner() {
return new YAMLWordsScanner();
}
@@ -26,7 +25,7 @@ public class YAMLFindUsagesProvider implements FindUsagesProvider {
}
@Override
public @Nullable String getHelpId(@NotNull PsiElement psiElement) {
public @NotNull String getHelpId(@NotNull PsiElement psiElement) {
return HelpID.FIND_OTHER_USAGES;
}
@@ -16,6 +16,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.python.pydev" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" name="XmlRPC" level="project" />
+1
View File
@@ -14,6 +14,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.xml" />
<orderEntry type="library" name="fastutil-min" level="project" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
+1
View File
@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.platform.execution.impl" />
<orderEntry type="module" module-name="intellij.platform.icons" />
<orderEntry type="module" module-name="intellij.platform.vcs" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.xml.psi.impl" exported="" />
<orderEntry type="module" module-name="intellij.xml.analysis.impl" exported="" />
<orderEntry type="module" module-name="intellij.xml.structureView.impl" exported="" />
+1
View File
@@ -70,6 +70,7 @@
</orderEntry>
<orderEntry type="module" module-name="intellij.platform.util.nanoxml" />
<orderEntry type="library" name="fastutil-min" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
</component>