mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-annotations] IDEA-354204 java.lang.Integer.valueOf overloads should be externally annotated to return not-null result
GitOrigin-RevId: 000b7250ae122937fc668fd25458ea6fbad431f2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c85a3375f5
commit
fcab6d8eef
@@ -499,6 +499,9 @@
|
||||
<val name="pure" val="true"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.lang.Double java.lang.Double valueOf(double)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.Enum T valueOf(java.lang.Class<T>, java.lang.String)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
@@ -525,6 +528,9 @@
|
||||
<val name="pure" val="true"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.lang.Float java.lang.Float valueOf(float)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.Integer int bitCount(int)'>
|
||||
<annotation name='org.jetbrains.annotations.Range'>
|
||||
<val name="from" val="0"/>
|
||||
@@ -572,7 +578,10 @@
|
||||
<val name="pure" val="true"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.lang.Integer java.lang.Integer valueOf(java.lang.String)'>
|
||||
<item name='java.lang.Integer java.lang.Integer valueOf(int)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.Integer java.lang.Integer valueOf(java.lang.String)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.Integer java.lang.Integer valueOf(java.lang.String, int)'>
|
||||
|
||||
Reference in New Issue
Block a user