mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ui: sync /community/ configuration
GitOrigin-RevId: 7b94e82e381337ff1920276eceb261c7d1dc1890
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7483bb64e7
commit
7435b83bed
Generated
+1
-1
@@ -59,7 +59,7 @@
|
||||
<module name="intellij.platform.lang.impl" options="-Xlint:unchecked --add-exports java.desktop/sun.awt.image=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED" />
|
||||
<module name="intellij.platform.testFramework.common" options="-Xlint:unchecked --add-exports java.desktop/sun.awt=ALL-UNNAMED" />
|
||||
<module name="intellij.platform.ui.jcef" options="-Xlint:unchecked --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/java.awt.peer=ALL-UNNAMED" />
|
||||
<module name="intellij.platform.util.ui" options="-Xlint:unchecked --add-exports java.desktop/sun.font=ALL-UNNAMED --add-exports java.desktop/sun.awt.image=ALL-UNNAMED" />
|
||||
<module name="intellij.platform.util.ui" options="-Xlint:unchecked --add-exports java.desktop/sun.font=ALL-UNNAMED --add-exports java.desktop/sun.awt.image=ALL-UNNAMED --add-exports java.desktop/sun.swing=ALL-UNNAMED" />
|
||||
</option>
|
||||
<option name="MAXIMUM_HEAP_SIZE" value="400" />
|
||||
</component>
|
||||
|
||||
+9
@@ -1507,6 +1507,15 @@
|
||||
<constraint name="t" nameOfExprType="java\.lang\.Object\[\]" exprTypeWithinHierarchy="true" within="" contains="" />
|
||||
<constraint name="e" nameOfExprType="java\.lang\.Object\[\]" exprTypeWithinHierarchy="true" negateExprType="true" within="" contains="" />
|
||||
</replaceConfiguration>
|
||||
<searchConfiguration name="JComponent.getGraphics() shall not be used" description="Use GraphicsUtil.safelyGetGraphics if direct drawing is necessary. Prefer not to use at all. See UIUtil.computeStringWidth to compute the text width for preferred size." suppressId="RawComponentGraphics" text="$Instance$.graphics" recursive="false" caseInsensitive="false" type="Kotlin" pattern_context="default">
|
||||
<constraint name="Instance" nameOfExprType="javax\.swing\.JComponent" exprTypeWithinHierarchy="true" minCount="0" within="" contains="" />
|
||||
</searchConfiguration>
|
||||
<searchConfiguration name="JComponent.getGraphics() shall not be used" description="Use GraphicsUtil.safelyGetGraphics if direct drawing is necessary. Prefer not to use at all. See UIUtil.computeStringWidth to compute the text width for preferred size." suppressId="RawComponentGraphics" text="$Instance$.getGraphics()" recursive="false" caseInsensitive="false" type="Kotlin" pattern_context="default">
|
||||
<constraint name="Instance" nameOfExprType="javax\.swing\.JComponent" exprTypeWithinHierarchy="true" minCount="0" within="" contains="" />
|
||||
</searchConfiguration>
|
||||
<searchConfiguration name="JComponent.getGraphics() shall not be used" description="Use GraphicsUtil.safelyGetGraphics if direct drawing is necessary. Prefer not to use at all. See UIUtil.computeStringWidth to compute the text width for preferred size." suppressId="RawComponentGraphics" text="$Instance$.getGraphics()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default">
|
||||
<constraint name="Instance" nameOfExprType="javax\.swing\.JComponent" exprTypeWithinHierarchy="true" minCount="0" within="" contains="" />
|
||||
</searchConfiguration>
|
||||
<replaceConfiguration name="Lambda can be replaced with Pair.comparingByFirst()" text="java.util.Comparator.comparing((com.intellij.openapi.util.Pair $p$) -> $p$.first)" recursive="false" caseInsensitive="true" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="com.intellij.openapi.util.Pair.comparingByFirst()">
|
||||
<constraint name="__context__" script=""__context__.parent instanceof com.intellij.psi.PsiExpressionList"" within="" contains="" />
|
||||
<constraint name="p" within="" contains="" />
|
||||
|
||||
Reference in New Issue
Block a user