mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[java-i18n] External NonNls annotations for Pattern.matches and kotlin.text.Regex
Fixes IDEA-249154 "Hard Coded Strings" Kotlin regular expressions constructer calls should not be reported GitOrigin-RevId: 00be640e4a8603f1e820477a2ea0af685eadd1e2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5f2cab16f3
commit
c1a00e2079
@@ -87,6 +87,7 @@
|
||||
</item>
|
||||
<item name="java.util.regex.Pattern boolean matches(java.lang.String, java.lang.CharSequence) 0">
|
||||
<annotation name="org.jetbrains.annotations.NotNull" />
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name="java.util.regex.Pattern int flags()">
|
||||
<annotation name="org.intellij.lang.annotations.MagicConstant">
|
||||
|
||||
8
lib/annotations/kotlin/kotlin/text/annotations.xml
Normal file
8
lib/annotations/kotlin/kotlin/text/annotations.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<root>
|
||||
<item name='kotlin.text.Regex Regex(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='kotlin.text.Regex Regex(java.lang.String, kotlin.text.RegexOption) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
</root>
|
||||
Reference in New Issue
Block a user