new annotations

This commit is contained in:
Ilya Klyuchnikov
2015-12-21 11:13:04 +03:00
parent a1e1465d52
commit 00712ecdf5
11 changed files with 274 additions and 26 deletions

View File

@@ -94,7 +94,15 @@
<item name='org.apache.commons.collections.map.AbstractHashedMap java.lang.String toString()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.collections.map.AbstractHashedMap org.apache.commons.collections.MapIterator mapIterator()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.apache.commons.collections.map.AbstractHashedMap org.apache.commons.collections.map.AbstractHashedMap.HashEntry createEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, int, java.lang.Object, java.lang.Object)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.collections.map.AbstractHashedMap org.apache.commons.collections.map.AbstractHashedMap.HashEntry entryNext(org.apache.commons.collections.map.AbstractHashedMap.HashEntry)'>
@@ -210,7 +218,20 @@
<item name='org.apache.commons.collections.map.AbstractLinkedMap java.lang.Object previousKey(java.lang.Object)'>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
<item name='org.apache.commons.collections.map.AbstractLinkedMap org.apache.commons.collections.MapIterator mapIterator()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.apache.commons.collections.map.AbstractLinkedMap org.apache.commons.collections.OrderedMapIterator orderedMapIterator()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.apache.commons.collections.map.AbstractLinkedMap org.apache.commons.collections.map.AbstractHashedMap.HashEntry createEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, int, java.lang.Object, java.lang.Object)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.collections.map.AbstractLinkedMap org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry entryAfter(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry)'>

View File

@@ -294,7 +294,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils boolean[] toPrimitive(java.lang.Boolean[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -303,7 +304,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils boolean[] toPrimitive(java.lang.Boolean[], boolean)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null,_-&gt;null&quot;"/>
<val name="value" val="&quot;null,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -348,7 +350,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils byte[] toPrimitive(java.lang.Byte[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -357,7 +360,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils byte[] toPrimitive(java.lang.Byte[], byte)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null,_-&gt;null&quot;"/>
<val name="value" val="&quot;null,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -402,7 +406,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils char[] toPrimitive(java.lang.Character[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -411,7 +416,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils char[] toPrimitive(java.lang.Character[], char)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null,_-&gt;null&quot;"/>
<val name="value" val="&quot;null,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -456,7 +462,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils double[] toPrimitive(java.lang.Double[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -465,7 +472,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils double[] toPrimitive(java.lang.Double[], double)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null,_-&gt;null&quot;"/>
<val name="value" val="&quot;null,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -510,7 +518,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils float[] toPrimitive(java.lang.Float[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -519,7 +528,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils float[] toPrimitive(java.lang.Float[], float)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null,_-&gt;null&quot;"/>
<val name="value" val="&quot;null,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -831,7 +841,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils int[] toPrimitive(java.lang.Integer[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -840,7 +851,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils int[] toPrimitive(java.lang.Integer[], int)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null,_-&gt;null&quot;"/>
<val name="value" val="&quot;null,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -849,7 +861,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils java.lang.Boolean[] toObject(boolean[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -858,7 +871,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils java.lang.Byte[] toObject(byte[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -867,7 +881,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils java.lang.Character[] toObject(char[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -876,7 +891,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils java.lang.Double[] toObject(double[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -885,7 +901,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils java.lang.Float[] toObject(float[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -894,7 +911,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils java.lang.Integer[] toObject(int[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -903,7 +921,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils java.lang.Long[] toObject(long[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -957,7 +976,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils java.lang.Short[] toObject(short[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -1017,7 +1037,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils long[] toPrimitive(java.lang.Long[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -1026,7 +1047,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils long[] toPrimitive(java.lang.Long[], long)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null,_-&gt;null&quot;"/>
<val name="value" val="&quot;null,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -1071,7 +1093,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils short[] toPrimitive(java.lang.Short[])'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
<val name="value" val="&quot;null-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -1080,7 +1103,8 @@
</item>
<item name='org.apache.commons.lang.ArrayUtils short[] toPrimitive(java.lang.Short[], short)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null,_-&gt;null&quot;"/>
<val name="value" val="&quot;null,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
@@ -1609,6 +1633,11 @@
<item name='org.apache.commons.lang.CharUtils int toIntValue(java.lang.Character, int) 0'>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
<item name='org.apache.commons.lang.CharUtils java.lang.Character toCharacterObject(char)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.apache.commons.lang.CharUtils java.lang.Character toCharacterObject(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;null-&gt;null&quot;"/>
@@ -3230,7 +3259,8 @@
</item>
<item name='org.apache.commons.lang.StringUtils java.lang.String replaceChars(java.lang.String, char, char)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;!null,_,_-&gt;!null;null,_,_-&gt;null&quot;"/>
<val name="value" val="&quot;!null,_,_-&gt;!null;null,_,_-&gt;null&quot;"/>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>

View File

@@ -355,6 +355,11 @@
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.apache.commons.lang.math.IntRange int[] toArray()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.apache.commons.lang.math.IntRange long getMaximumLong()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
@@ -454,6 +459,11 @@
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.apache.commons.lang.math.LongRange long[] toArray()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.apache.commons.lang.math.NumberRange NumberRange(java.lang.Number) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>

View File

@@ -100,6 +100,9 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableByte java.lang.Object getValue()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableByte java.lang.String toString()'>
@@ -167,6 +170,9 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableDouble java.lang.Object getValue()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableDouble long longValue()'>
@@ -231,6 +237,9 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableFloat java.lang.Object getValue()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableFloat long longValue()'>
@@ -295,6 +304,9 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableInt java.lang.Object getValue()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableInt java.lang.String toString()'>
@@ -362,6 +374,9 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableLong java.lang.Object getValue()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableLong java.lang.String toString()'>
@@ -444,6 +459,9 @@
</annotation>
</item>
<item name='org.apache.commons.lang.mutable.MutableShort java.lang.Object getValue()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.mutable.MutableShort java.lang.Short toShort()'>

View File

@@ -116,9 +116,15 @@
</annotation>
</item>
<item name='org.apache.commons.lang.text.StrBuilder java.io.Reader asReader()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.text.StrBuilder java.io.Writer asWriter()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.text.StrBuilder java.lang.String getNewLineText()'>
@@ -404,6 +410,9 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrTokenizer asTokenizer()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.text.StrBuilder.StrBuilderReader boolean markSupported()'>
@@ -438,6 +447,9 @@
</annotation>
</item>
<item name='org.apache.commons.lang.text.StrLookup org.apache.commons.lang.text.StrLookup mapLookup(java.util.Map)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.text.StrLookup org.apache.commons.lang.text.StrLookup noneLookup()'>
@@ -462,6 +474,9 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.text.StrMatcher org.apache.commons.lang.text.StrMatcher charMatcher(char)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.commons.lang.text.StrMatcher org.apache.commons.lang.text.StrMatcher charSetMatcher(char[]) 0'>

View File

@@ -118,6 +118,9 @@
</annotation>
</item>
<item name='org.apache.velocity.runtime.directive.Directive org.apache.velocity.runtime.directive.Scope makeScope(java.lang.Object)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.velocity.runtime.directive.Directive org.apache.velocity.runtime.directive.Scope makeScope(java.lang.Object) 0'>