IJPL-218803 IJ-MR-179029 IJ-MR-175479 don't export intellij.xml.analysis

GitOrigin-RevId: 3f938356370e57bb2cc64728847e8305f36b5268
This commit is contained in:
Vladimir Krivosheev
2025-11-18 20:07:13 +00:00
committed by intellij-monorepo-bot
parent a2191e553c
commit e8f67651dd
55 changed files with 131 additions and 99 deletions
+1
View File
@@ -89,6 +89,7 @@ jvm_library(
"//platform/platform-impl/internal",
"//libraries/mockito",
"@lib//:assert_j",
"//xml/xml-analysis-api:analysis",
"//xml/xml-analysis-impl:analysis-impl",
"//xml/xml-psi-api:psi",
"//xml/xml-psi-impl:psi-impl",
+1
View File
@@ -70,6 +70,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.internal" scope="TEST" />
<orderEntry type="module" module-name="intellij.libraries.mockito" scope="TEST" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
<orderEntry type="module" module-name="intellij.xml.analysis.impl" />
<orderEntry type="module" module-name="intellij.xml.psi" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.psi.impl" />
@@ -38,13 +38,17 @@ open class HighlightDisplayLevel(val severity: HighlightSeverity) {
companion object {
private val LEVEL_MAP = HashMap<HighlightSeverity, HighlightDisplayLevel>()
private fun createHighlightDisplayLevel(severity: HighlightSeverity,
key: TextAttributesKey,
icon: Icon,
outlineIcon: Icon): HighlightDisplayLevel {
return HighlightDisplayLevel(severity = severity,
icon = HighlightDisplayLevelColorizedIcon(key = key, baseIcon = icon),
outlineIcon = HighlightDisplayLevelColorizedIcon(key = key, baseIcon = outlineIcon))
private fun createHighlightDisplayLevel(
severity: HighlightSeverity,
key: TextAttributesKey,
icon: Icon,
outlineIcon: Icon,
): HighlightDisplayLevel {
return HighlightDisplayLevel(
severity = severity,
icon = HighlightDisplayLevelColorizedIcon(key = key, baseIcon = icon),
outlineIcon = HighlightDisplayLevelColorizedIcon(key = key, baseIcon = outlineIcon),
)
}
@JvmField
@@ -36,8 +36,7 @@ import static com.intellij.codeInsight.intention.CustomizableIntentionAction.Ran
* {@link com.intellij.codeInsight.intention.LowPriorityAction LowPriorityAction} to change ordering.
* <p>
* To learn how to implement preview correctly, read <a href="https://plugins.jetbrains.com/docs/intellij/code-intentions-preview.html">Intention Action Preview (IntelliJ Platform Docs)</a>.
*
* @author max
*
* @see ProblemDescriptor
* @see com.intellij.openapi.util.Iconable
*/
@@ -96,74 +96,6 @@ a:com.intellij.codeInsight.AutoPopupController
- s:getInstance(com.intellij.openapi.project.Project):com.intellij.codeInsight.AutoPopupController
- a:scheduleAutoPopup(com.intellij.openapi.editor.Editor,com.intellij.codeInsight.completion.CompletionType,com.intellij.openapi.util.Condition):V
- a:waitForDelayedActions(J,java.util.concurrent.TimeUnit):V
c:com.intellij.codeInsight.CodeInsightSettings
- com.intellij.openapi.components.PersistentStateComponent
- java.lang.Cloneable
- ADD_IMPORTS_ON_PASTE:I
- ADD_MEMBER_IMPORTS_ON_THE_FLY:Z
- ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY:Z
- sf:ALL:I
- sf:ASK:I
- AUTOCOMPLETE_ON_CODE_COMPLETION:Z
- AUTOCOMPLETE_ON_SMART_TYPE_COMPLETION:Z
- AUTOINSERT_PAIR_BRACKET:Z
- AUTOINSERT_PAIR_QUOTE:Z
- AUTO_POPUP_COMPLETION_LOOKUP:Z
- AUTO_POPUP_JAVADOC_INFO:Z
- AUTO_POPUP_PARAMETER_INFO:Z
- CLOSE_COMMENT_ON_ENTER:Z
- COMPLETION_CASE_SENSITIVE:I
- ENABLE_SECOND_REFORMAT:Z
- EXCLUDED_PACKAGES:java.lang.String[]
- sf:FIRST_LETTER:I
- HIGHLIGHT_BRACES:Z
- HIGHLIGHT_IDENTIFIER_UNDER_CARET:Z
- HIGHLIGHT_SCOPE:Z
- sf:INDENT_BLOCK:I
- sf:INDENT_EACH_LINE:I
- INDENT_TO_CARET_ON_PASTE:Z
- INSERT_BRACE_ON_ENTER:Z
- INSERT_SCRIPTLET_END_ON_ENTER:Z
- JAVADOC_GENERATE_CLOSING_TAG:Z
- JAVADOC_INFO_DELAY:I
- sf:JAVADOC_INFO_DELAY_RANGE:com.intellij.ide.ui.UINumericRange
- JAVADOC_STUB_ON_ENTER:Z
- JSP_ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY:Z
- sf:NO:I
- sf:NONE:I
- sf:NO_REFORMAT:I
- OPTIMIZE_IMPORTS_ON_THE_FLY:Z
- PARAMETER_INFO_DELAY:I
- sf:PARAMETER_INFO_DELAY_RANGE:com.intellij.ide.ui.UINumericRange
- sf:REFORMAT_BLOCK:I
- REFORMAT_BLOCK_ON_RBRACE:Z
- REFORMAT_ON_PASTE:I
- SELECT_AUTOPOPUP_SUGGESTIONS_BY_CHARS:Z
- SHOW_FULL_SIGNATURES_IN_PARAMETER_INFO:Z
- SHOW_PARAMETER_NAME_HINTS_ON_COMPLETION:Z
- SMART_END_ACTION:Z
- SMART_INDENT_ON_ENTER:Z
- SURROUND_SELECTION_ON_QUOTE_TYPED:Z
- TAB_EXITS_BRACKETS_AND_QUOTES:Z
- USE_ACCESSORS_IN_EQUALS_HASHCODE:Z
- USE_INSTANCEOF_ON_EQUALS_PARAMETER:Z
- sf:YES:I
- <init>():V
- addPropertyChangeListener(java.beans.PropertyChangeListener,com.intellij.openapi.Disposable):V
- clone():com.intellij.codeInsight.CodeInsightSettings
- equals(java.lang.Object):Z
- getBackspaceMode():com.intellij.codeInsight.editorActions.SmartBackspaceMode
- getCompletionCaseSensitive():I
- s:getInstance():com.intellij.codeInsight.CodeInsightSettings
- getState():org.jdom.Element
- isSelectAutopopupSuggestionsByChars():Z
- loadState(org.jdom.Element):V
- noStateLoaded():V
- s:runWithTemporarySettings(com.intellij.util.ThrowableConvertor):java.lang.Object
- setBackspaceMode(com.intellij.codeInsight.editorActions.SmartBackspaceMode):V
- setCompletionCaseSensitive(I):V
- setSelectAutopopupSuggestionsByChars(Z):V
- writeExternal(org.jdom.Element):V
a:com.intellij.codeInsight.TargetElementEvaluatorEx2
- com.intellij.codeInsight.TargetElementEvaluator
- <init>():V
+68
View File
@@ -12,6 +12,74 @@ com.intellij.codeHighlighting.TextEditorHighlightingPassFactoryRegistrar
a:com.intellij.codeInsight.AutoPopupController
- f:scheduleAutoPopup(com.intellij.openapi.editor.Editor):V
- f:scheduleAutoPopup(com.intellij.openapi.editor.Editor,com.intellij.openapi.util.Condition):V
f:com.intellij.codeInsight.CodeInsightSettings
- com.intellij.openapi.components.PersistentStateComponent
- java.lang.Cloneable
- ADD_IMPORTS_ON_PASTE:I
- ADD_MEMBER_IMPORTS_ON_THE_FLY:Z
- ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY:Z
- sf:ALL:I
- sf:ASK:I
- AUTOCOMPLETE_ON_CODE_COMPLETION:Z
- AUTOCOMPLETE_ON_SMART_TYPE_COMPLETION:Z
- AUTOINSERT_PAIR_BRACKET:Z
- AUTOINSERT_PAIR_QUOTE:Z
- AUTO_POPUP_COMPLETION_LOOKUP:Z
- AUTO_POPUP_JAVADOC_INFO:Z
- AUTO_POPUP_PARAMETER_INFO:Z
- CLOSE_COMMENT_ON_ENTER:Z
- COMPLETION_CASE_SENSITIVE:I
- ENABLE_SECOND_REFORMAT:Z
- EXCLUDED_PACKAGES:java.lang.String[]
- sf:FIRST_LETTER:I
- HIGHLIGHT_BRACES:Z
- HIGHLIGHT_IDENTIFIER_UNDER_CARET:Z
- HIGHLIGHT_SCOPE:Z
- sf:INDENT_BLOCK:I
- sf:INDENT_EACH_LINE:I
- INDENT_TO_CARET_ON_PASTE:Z
- INSERT_BRACE_ON_ENTER:Z
- INSERT_SCRIPTLET_END_ON_ENTER:Z
- JAVADOC_GENERATE_CLOSING_TAG:Z
- JAVADOC_INFO_DELAY:I
- sf:JAVADOC_INFO_DELAY_RANGE:com.intellij.ide.ui.UINumericRange
- JAVADOC_STUB_ON_ENTER:Z
- JSP_ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY:Z
- sf:NO:I
- sf:NONE:I
- sf:NO_REFORMAT:I
- OPTIMIZE_IMPORTS_ON_THE_FLY:Z
- PARAMETER_INFO_DELAY:I
- sf:PARAMETER_INFO_DELAY_RANGE:com.intellij.ide.ui.UINumericRange
- sf:REFORMAT_BLOCK:I
- REFORMAT_BLOCK_ON_RBRACE:Z
- REFORMAT_ON_PASTE:I
- SELECT_AUTOPOPUP_SUGGESTIONS_BY_CHARS:Z
- SHOW_FULL_SIGNATURES_IN_PARAMETER_INFO:Z
- SHOW_PARAMETER_NAME_HINTS_ON_COMPLETION:Z
- SMART_END_ACTION:Z
- SMART_INDENT_ON_ENTER:Z
- SURROUND_SELECTION_ON_QUOTE_TYPED:Z
- TAB_EXITS_BRACKETS_AND_QUOTES:Z
- USE_ACCESSORS_IN_EQUALS_HASHCODE:Z
- USE_INSTANCEOF_ON_EQUALS_PARAMETER:Z
- sf:YES:I
- <init>():V
- addPropertyChangeListener(java.beans.PropertyChangeListener,com.intellij.openapi.Disposable):V
- clone():com.intellij.codeInsight.CodeInsightSettings
- equals(java.lang.Object):Z
- getBackspaceMode():com.intellij.codeInsight.editorActions.SmartBackspaceMode
- getCompletionCaseSensitive():I
- s:getInstance():com.intellij.codeInsight.CodeInsightSettings
- getState():org.jdom.Element
- isSelectAutopopupSuggestionsByChars():Z
- loadState(org.jdom.Element):V
- noStateLoaded():V
- s:runWithTemporarySettings(com.intellij.util.ThrowableConvertor):java.lang.Object
- setBackspaceMode(com.intellij.codeInsight.editorActions.SmartBackspaceMode):V
- setCompletionCaseSensitive(I):V
- setSelectAutopopupSuggestionsByChars(Z):V
- writeExternal(org.jdom.Element):V
com.intellij.codeInsight.TargetElementEvaluatorEx
- com.intellij.codeInsight.TargetElementEvaluator
- a:isIdentifierPart(com.intellij.psi.PsiFile,java.lang.CharSequence,I):Z
@@ -34,7 +34,7 @@ import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
@State(name = "CodeInsightSettings", storages = @Storage("editor.xml"), category = SettingsCategory.CODE, perClient = true)
public class CodeInsightSettings implements PersistentStateComponent<Element>, Cloneable {
public final class CodeInsightSettings implements PersistentStateComponent<Element>, Cloneable {
private static final Logger LOG = Logger.getInstance(CodeInsightSettings.class);
private final List<PropertyChangeListener> myListeners = new CopyOnWriteArrayList<>();
+2
View File
@@ -17,6 +17,7 @@ jvm_library(
"//java/openapi:java",
"@lib//ant/lib:ant-antlr",
"//platform/analysis-api:analysis",
"//xml/xml-analysis-api:analysis",
"//platform/core-api:core",
"//platform/editor-ui-api:editor-ui",
"//platform/ide-core-impl",
@@ -69,6 +70,7 @@ jvm_library(
"@lib//:junit4",
"@lib//ant/lib:ant-antlr",
"//platform/analysis-api:analysis",
"//xml/xml-analysis-api:analysis",
"//platform/core-api:core",
"//platform/editor-ui-api:editor-ui",
"//platform/ide-core-impl",
+1
View File
@@ -14,6 +14,7 @@
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="library" name="Ant" level="project" />
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.editor.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
@@ -29,7 +29,6 @@ import org.jetbrains.annotations.Nullable;
import java.util.*;
public final class AntResolveInspection extends AntInspection {
public static final String SHORT_NAME = "AntResolveInspection";
@Override
@@ -40,7 +39,7 @@ public final class AntResolveInspection extends AntInspection {
@Override
protected void checkDomElement(@NotNull DomElement element, @NotNull DomElementAnnotationHolder holder, @NotNull DomHighlightingHelper helper) {
if (element instanceof GenericDomValue) {
final XmlElement valueElement = DomUtil.getValueElement(((GenericDomValue)element));
final XmlElement valueElement = DomUtil.getValueElement(((GenericDomValue<?>)element));
if (valueElement != null) {
checkReferences(valueElement, holder, element);
}
+1
View File
@@ -35,6 +35,7 @@ jvm_library(
"//jps/model-api:model",
"//jps/model-serialization",
"//platform/lang-core",
"//xml/xml-analysis-api:analysis",
"//platform/projectModel-api:projectModel",
"//platform/refactoring",
"//platform/structure-view-impl:structureView-impl",
@@ -41,6 +41,7 @@
<orderEntry type="module" module-name="intellij.platform.jps.model" />
<orderEntry type="module" module-name="intellij.platform.jps.model.serialization" />
<orderEntry type="module" module-name="intellij.platform.lang.core" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
<orderEntry type="module" module-name="intellij.platform.projectModel" />
<orderEntry type="module" module-name="intellij.platform.refactoring" />
<orderEntry type="module" module-name="intellij.platform.structureView.impl" />
@@ -32,6 +32,7 @@ jvm_library(
"//platform/structure-view-impl:structureView-impl",
"//xml/xml-psi-api:psi",
"//xml/xml-psi-impl:psi-impl",
"//xml/xml-analysis-api:analysis",
"//spellchecker",
"//spellchecker:spellchecker_test_lib",
"//xml/xml-analysis-impl:analysis-impl",
@@ -20,6 +20,7 @@
<orderEntry type="module" module-name="intellij.platform.structureView.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.psi" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.psi.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.analysis" scope="TEST" />
<orderEntry type="module" module-name="intellij.spellchecker" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.analysis.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
+1
View File
@@ -31,6 +31,7 @@ jvm_library(
"//xml/dom-impl",
"//java/compiler/openapi:java-compiler",
"//jvm/jvm-analysis-api:analysis",
"//xml/xml-analysis-api:analysis",
"//xml/xml-analysis-impl:analysis-impl",
"//xml/xml-psi-api:psi",
"//spellchecker",
@@ -23,6 +23,7 @@
<orderEntry type="module" module-name="intellij.xml.dom.impl" />
<orderEntry type="module" module-name="intellij.java.compiler" />
<orderEntry type="module" module-name="intellij.jvm.analysis" />
<orderEntry type="module" module-name="intellij.xml.analysis" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.analysis.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.psi" scope="TEST" />
<orderEntry type="module" module-name="intellij.spellchecker" scope="TEST" />
+2
View File
@@ -29,6 +29,7 @@ jvm_library(
"//platform/indexing-impl",
"//xml/xml-psi-api:psi",
"//platform/core-ui",
"//xml/xml-analysis-api:analysis",
]
)
### auto-generated section `build intellij.html.tools` end
@@ -68,6 +69,7 @@ jvm_library(
"//xml/xml-parser:parser",
"//platform/refactoring",
"//platform/core-impl",
"//xml/xml-analysis-api:analysis",
]
)
### auto-generated section `build intellij.html.tools.tests` end
@@ -23,6 +23,7 @@
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.xml.psi" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
</component>
<component name="copyright">
<Base>
@@ -26,5 +26,6 @@
<orderEntry type="module" module-name="intellij.xml.parser" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.refactoring" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.core.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.analysis" scope="TEST" />
</component>
</module>
+2
View File
@@ -49,6 +49,7 @@ jvm_library(
"//java/java-impl-refactorings:impl-refactorings",
"//xml/xml-psi-api:psi",
"//platform/util/jdom",
"//xml/xml-analysis-api:analysis",
]
)
@@ -100,6 +101,7 @@ jvm_library(
"//java/java-impl-refactorings:impl-refactorings",
"//xml/xml-psi-api:psi",
"//platform/util/jdom",
"//xml/xml-analysis-api:analysis",
]
)
### auto-generated section `build intellij.javaFX` end
+1
View File
@@ -37,6 +37,7 @@ jvm_library(
"//java/testFramework",
"//jps/model-api:model",
"//platform/projectModel-api:projectModel",
"//xml/xml-analysis-api:analysis",
"//platform/refactoring",
"//platform/testFramework",
"//platform/testFramework:testFramework_test_lib",
@@ -18,6 +18,7 @@
<orderEntry type="module" module-name="intellij.java.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.jps.model" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.projectModel" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.analysis" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.refactoring" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.impl" scope="TEST" />
+1
View File
@@ -47,5 +47,6 @@
<orderEntry type="module" module-name="intellij.java.impl.refactorings" />
<orderEntry type="module" module-name="intellij.xml.psi" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
</component>
</module>
+1
View File
@@ -109,6 +109,7 @@ jvm_library(
"@lib//:opentelemetry",
"//java/debugger/shared",
"//xml/xml-psi-api:psi",
"//xml/xml-analysis-api:analysis",
"//platform/xdebugger-impl:debugger-impl",
"//libraries/http-client",
":platform_java-guiForms-rt_provided",
+1
View File
@@ -129,6 +129,7 @@
<orderEntry type="library" name="opentelemetry" level="project" />
<orderEntry type="module" module-name="intellij.java.debugger.impl.shared" />
<orderEntry type="module" module-name="intellij.xml.psi" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
<orderEntry type="module" module-name="intellij.platform.debugger.impl" />
<orderEntry type="module" module-name="intellij.libraries.http.client" />
</component>
+1
View File
@@ -36,6 +36,7 @@ jvm_library(
"//platform/testFramework/eelJava",
"//platform/eel-provider",
"//platform/util/progress",
"//xml/xml-analysis-api:analysis",
"//xml/xml-analysis-impl:analysis-impl",
]
)
@@ -53,6 +53,7 @@
<orderEntry type="module" module-name="intellij.platform.testFramework.eelJava" />
<orderEntry type="module" module-name="intellij.platform.eel.provider" />
<orderEntry type="module" module-name="intellij.platform.util.progress" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
<orderEntry type="module" module-name="intellij.xml.analysis.impl" />
</component>
</module>
@@ -23,7 +23,7 @@ import org.jetbrains.idea.packagesearch.api.PackageSearchApiClientService
import org.jetbrains.idea.reposearch.DependencySearchProvider
import org.jetbrains.idea.reposearch.DependencySearchProvidersFactory
internal class PackageSearchProviderFactory : DependencySearchProvidersFactory {
private class PackageSearchProviderFactory : DependencySearchProvidersFactory {
override fun getProviders(project: Project): Collection<DependencySearchProvider> {
return when {
!RegistryManager.getInstance().`is`("maven.packagesearch.enabled") -> emptyList()
+1
View File
@@ -79,6 +79,7 @@ jvm_library(
"//platform/editor-ui-api:editor-ui",
"//platform/execution-impl",
"//platform/platform-impl:ide-impl",
"//xml/xml-analysis-api:analysis",
"//java/debugger/impl",
"//java/debugger/impl:impl_test_lib",
"//platform/indexing-api:indexing",
+1
View File
@@ -19,6 +19,7 @@
<orderEntry type="module" module-name="intellij.platform.editor.ui" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.xml.analysis" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.debugger.impl" />
<orderEntry type="module" module-name="intellij.platform.indexing" />
<orderEntry type="module" module-name="intellij.platform.lang.core" />
+1
View File
@@ -67,6 +67,7 @@ jvm_library(
"//platform/core-impl",
"//platform/editor-ui-api:editor-ui",
"//platform/indexing-api:indexing",
"//xml/xml-analysis-api:analysis",
"//jps/model-api:model",
"//platform/lang-core",
"//platform/projectModel-api:projectModel",
+1
View File
@@ -18,6 +18,7 @@
<orderEntry type="module" module-name="intellij.platform.core.impl" />
<orderEntry type="module" module-name="intellij.platform.editor.ui" />
<orderEntry type="module" module-name="intellij.platform.indexing" />
<orderEntry type="module" module-name="intellij.xml.analysis" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.jps.model" />
<orderEntry type="module" module-name="intellij.platform.lang.core" />
<orderEntry type="module" module-name="intellij.platform.projectModel" />
+1
View File
@@ -23,6 +23,7 @@ jvm_library(
"//platform/structure-view-impl:structureView-impl",
"//platform/usageView-impl",
"//xml/dom-openapi:dom",
"//xml/xml-analysis-api:analysis",
"//xml/impl",
"//platform/util",
"//platform/platform-api:ide",
+1
View File
@@ -17,6 +17,7 @@
<orderEntry type="module" module-name="intellij.platform.structureView.impl" />
<orderEntry type="module" module-name="intellij.platform.usageView.impl" />
<orderEntry type="module" module-name="intellij.xml.dom" exported="" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
<orderEntry type="module" module-name="intellij.xml.impl" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.ide" />
+1
View File
@@ -32,6 +32,7 @@ jvm_library(
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark_test_lib",
"//xml/xml-psi-api:psi",
"//platform/libraries/cglib",
"//xml/xml-analysis-api:analysis",
]
)
### auto-generated section `build intellij.xml.dom.tests` end
+1
View File
@@ -24,6 +24,7 @@
<orderEntry type="module" module-name="intellij.tools.ide.metrics.benchmark" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.psi" scope="TEST" />
<orderEntry type="module" module-name="intellij.libraries.cglib" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.analysis" scope="TEST" />
</component>
<component name="copyright">
<Base>
+1
View File
@@ -55,6 +55,7 @@ jvm_library(
"//platform/polySymbols/backend",
"//libraries/xerces",
"//xml/xml-syntax:syntax",
"//xml/xml-analysis-api:analysis",
],
exports = [
"//xml/xml-psi-impl:psi-impl",
+1
View File
@@ -50,6 +50,7 @@
<orderEntry type="module" module-name="intellij.platform.polySymbols.backend" />
<orderEntry type="module" module-name="intellij.libraries.xerces" />
<orderEntry type="module" module-name="intellij.xml.syntax" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
</component>
<component name="copyright">
<Base>
@@ -1,5 +1,4 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInspection.htmlInspections;
import com.intellij.codeInspection.options.OptPane;
@@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
import static com.intellij.codeInspection.options.OptPane.*;
public class HtmlUnknownBooleanAttributeInspection extends HtmlUnknownBooleanAttributeInspectionBase {
public final class HtmlUnknownBooleanAttributeInspection extends HtmlUnknownBooleanAttributeInspectionBase {
@Override
public @NotNull OptPane getOptionsPane() {
return pane(
@@ -1,5 +1,4 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInspection.htmlInspections;
import com.intellij.codeInspection.LocalQuickFix;
@@ -24,8 +23,7 @@ import org.jetbrains.annotations.Nullable;
import static com.intellij.codeInspection.options.OptPane.*;
public class HtmlUnknownTagInspection extends HtmlUnknownTagInspectionBase {
public final class HtmlUnknownTagInspection extends HtmlUnknownTagInspectionBase {
public HtmlUnknownTagInspection() {
super();
}
@@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
import static com.intellij.codeInspection.options.OptPane.expandableString;
import static com.intellij.codeInspection.options.OptPane.pane;
public class RequiredAttributesInspection extends RequiredAttributesInspectionBase {
public final class RequiredAttributesInspection extends RequiredAttributesInspectionBase {
@Override
public @NotNull OptPane getOptionsPane() {
return pane(
+2
View File
@@ -38,6 +38,7 @@ jvm_library(
"//xml/xml-psi-api:psi",
"//platform/util/jdom",
"//platform/core-impl",
"//xml/xml-analysis-api:analysis",
],
runtime_deps = ["//platform/backend"]
)
@@ -74,6 +75,7 @@ jvm_library(
"//xml/xml-psi-api:psi",
"//platform/util/jdom",
"//platform/core-impl",
"//xml/xml-analysis-api:analysis",
]
)
### auto-generated section `build intellij.relaxng` end
+1
View File
@@ -85,5 +85,6 @@
<orderEntry type="module" module-name="intellij.xml.psi" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.platform.core.impl" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
</component>
</module>
@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.intellij.plugins.relaxNG.inspections;
import com.intellij.codeInspection.ProblemDescriptor;
@@ -41,7 +40,6 @@ import org.jetbrains.annotations.Nullable;
import java.util.Collections;
public abstract class BaseInspection extends XmlSuppressableInspectionTool {
@Override
public boolean isSuppressedFor(@NotNull PsiElement element) {
if (element.getContainingFile() instanceof RncFile) {
+1
View File
@@ -65,6 +65,7 @@ jvm_library(
"//platform/syntax/syntax-scripts:scripts",
"//xml/xml-syntax:syntax",
"//java/java-runtime:rt",
"//xml/xml-analysis-api:analysis",
],
runtime_deps = ["//xml/langInjection"]
)
+1
View File
@@ -49,6 +49,7 @@
<orderEntry type="module" module-name="intellij.platform.syntax.scripts" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.syntax" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.rt" scope="TEST" />
<orderEntry type="module" module-name="intellij.xml.analysis" scope="TEST" />
</component>
<component name="copyright">
<Base>
-1
View File
@@ -35,7 +35,6 @@ jvm_library(
"//libraries/xerces",
"//platform/polySymbols",
],
exports = ["//xml/xml-analysis-api:analysis"],
runtime_deps = ["//platform/backend"]
)
### auto-generated section `build intellij.xml.analysis.impl` end
@@ -16,7 +16,7 @@
<orderEntry type="module" module-name="intellij.xml.psi.impl" />
<orderEntry type="module" module-name="intellij.platform.analysis.impl" />
<orderEntry type="module" module-name="intellij.platform.core.impl" />
<orderEntry type="module" module-name="intellij.xml.analysis" exported="" />
<orderEntry type="module" module-name="intellij.xml.analysis" />
<orderEntry type="module" module-name="intellij.platform.util.ui" />
<orderEntry type="module" module-name="intellij.xml.parser" />
<orderEntry type="module" module-name="intellij.platform.editor.ui" />
@@ -5,7 +5,7 @@ import com.intellij.psi.PsiReference;
import com.intellij.xml.util.AnchorReference;
import org.jetbrains.annotations.NotNull;
public class HtmlUnknownAnchorTargetInspection extends XmlPathReferenceInspection {
public final class HtmlUnknownAnchorTargetInspection extends XmlPathReferenceInspection {
@Override
public @NotNull String getShortName() {
return "HtmlUnknownAnchorTarget";
@@ -8,7 +8,7 @@ import com.intellij.xml.util.AnchorReference;
import com.intellij.xml.util.HtmlUtil;
import org.jetbrains.annotations.NotNull;
public class HtmlUnknownTargetInspection extends XmlPathReferenceInspection {
public final class HtmlUnknownTargetInspection extends XmlPathReferenceInspection {
@Override
public @NotNull String getShortName() {
return "HtmlUnknownTarget";
@@ -28,8 +28,7 @@ import java.util.regex.Pattern;
import static com.intellij.codeInspection.options.OptPane.pane;
import static com.intellij.codeInspection.options.OptPane.string;
public class XmlDeprecatedElementInspection extends XmlSuppressableInspectionTool {
public final class XmlDeprecatedElementInspection extends XmlSuppressableInspectionTool {
@Language("RegExp")
public String regexp = "(?i)deprecated.*";
@@ -7,7 +7,6 @@ import com.intellij.psi.PsiReference;
* @author Dmitry Avdeev
*/
public class XmlPathReferenceInspection extends XmlReferenceInspectionBase {
@Override
protected boolean needToCheckRef(PsiReference reference) {
return XmlHighlightVisitor.isUrlReference(reference);
@@ -22,8 +22,7 @@ import org.jetbrains.annotations.NotNull;
/**
* @author Dmitry Avdeev
*/
public class XmlUnboundNsPrefixInspection extends XmlSuppressableInspectionTool {
public final class XmlUnboundNsPrefixInspection extends XmlSuppressableInspectionTool {
private static final @NonNls String XML = "xml";
@Override
@@ -18,7 +18,7 @@ import org.jetbrains.annotations.NotNull;
/**
* @author Maxim Mossienko
*/
public class CheckDtdReferencesInspection extends XmlSuppressableInspectionTool {
public final class CheckDtdReferencesInspection extends XmlSuppressableInspectionTool {
@Override
public boolean isEnabledByDefault() {
return true;