diff options
Diffstat (limited to 'java/java-tests')
114 files changed, 5992 insertions, 295 deletions
diff --git a/java/java-tests/testData/codeInsight/completion/keywords/finalInCatch.java b/java/java-tests/testData/codeInsight/completion/keywords/finalInCatch.java new file mode 100644 index 000000000000..6346b73dd045 --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/keywords/finalInCatch.java @@ -0,0 +1,7 @@ +public class StructuredConfigKey { + { + try { + + } catch (<caret>) + } +} diff --git a/java/java-tests/testData/codeInsight/completion/keywords/finalInIncompleteCatch.java b/java/java-tests/testData/codeInsight/completion/keywords/finalInIncompleteCatch.java new file mode 100644 index 000000000000..0cdeb4962618 --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/keywords/finalInIncompleteCatch.java @@ -0,0 +1,7 @@ +public class StructuredConfigKey { + { + try { + + } catch (<caret> + } +} diff --git a/java/java-tests/testData/codeInsight/completion/smartType/SuggestTypeParametersInTypeArgumentList.java b/java/java-tests/testData/codeInsight/completion/smartType/SuggestTypeParametersInTypeArgumentList.java new file mode 100644 index 000000000000..0bc90adbf7a3 --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/smartType/SuggestTypeParametersInTypeArgumentList.java @@ -0,0 +1,8 @@ +class StringEx<T extends String> { +} +class Outer<T extends String> { + static class CompletionTest<T extends String> { + private StringEx<<caret>> myString; + } +} + diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/ParameterBoundsWithCapturedWildcard.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/ParameterBoundsWithCapturedWildcard.java new file mode 100644 index 000000000000..c7cb266321c5 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/ParameterBoundsWithCapturedWildcard.java @@ -0,0 +1,5 @@ +class Test<T > { + public static interface EventListener<V extends String> {} + public void addListener (EventListener<<error descr="Type parameter '? extends T' is not within its bound; should extend 'java.lang.String'">? extends T</error>> listener) {} + public void addListener1(EventListener<? super T> listener) {} +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/SuperCaptureSubstitutionWhenTypeParameterHasUpperBounds.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/SuperCaptureSubstitutionWhenTypeParameterHasUpperBounds.java new file mode 100644 index 000000000000..4eaf810dad4f --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/SuperCaptureSubstitutionWhenTypeParameterHasUpperBounds.java @@ -0,0 +1,30 @@ +class Test<T > { + interface Event{} + + interface EventListener<V extends Event> { + void handleEvent(V event); + } + + public void addListener(EventListener<? super T> listener) { + EventListener<? extends Event> localListener = listener; + <error descr="Incompatible types. Found: 'Test.EventListener<capture<? super T>>', required: 'Test.EventListener<? super Test.Event>'">EventListener<? super Event> localListener1 = listener;</error> + } +} + +class Test1 { + + public static class Entity<E extends Entity<E>> { + + public final <T, V extends EntityVisitor<? super E, T>> T handle(final V visitor) { + return visitor.handle(this); + } + + } + + public interface EntityVisitor<E extends Entity<E>, T> { + + T handle(Entity<? extends E> e); + + } + +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA110947.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA110947.java index 5f7ac80942a2..e895159a5762 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA110947.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA110947.java @@ -9,7 +9,7 @@ abstract class ProcedureService { abstract <C extends Command<Result>> Class<? extends Procedure<Command<Result>>> getProcedure(Class<C> cmd); public <C extends Command<Result>> void execute(Class<? extends Command> aClass) { - Class<Procedure<Command<Result>>> procedureClass = getProcedure(aClass); + <error descr="Incompatible types. Found: 'java.lang.Class<capture<? extends Procedure<Command<Result>>>>', required: 'java.lang.Class<Procedure<Command<Result>>>'">Class<Procedure<Command<Result>>> procedureClass = getProcedure(aClass);</error> <error descr="Incompatible types. Found: 'java.lang.Class<capture<? extends Command>>', required: 'java.lang.Class<Command>'">Class<Command> c = aClass;</error> <error descr="Incompatible types. Found: 'java.lang.Class<capture<? extends Command>>', required: 'java.lang.Class<C>'">Class<C> c1 = aClass;</error> } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA128333.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA128333.java new file mode 100644 index 000000000000..24bc5b3ab1fe --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA128333.java @@ -0,0 +1,24 @@ +import java.util.*; +import java.lang.annotation.Annotation; +import java.util.function.Function; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +abstract class WithAnn { + + { + map((Class<? extends Annotation> ann) -> getAnnotation(ann)); + map(this::getAnnotation); + } + + abstract <A> A getAnnotation(Class<A> annotationClass); + abstract <R> void map(Function<Class<? extends Annotation>, ? extends R> mapper); +} + +class Test { + private void it(final Set<Class<? extends String>> set) { + set.forEach((clazz) -> bind(clazz)); + } + + protected <T> void bind(Class<T> clazz) {} +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/SuperWildcardWithBoundPromotion.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/SuperWildcardWithBoundPromotion.java index f1a533020e34..33dd56b27183 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/SuperWildcardWithBoundPromotion.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/SuperWildcardWithBoundPromotion.java @@ -20,7 +20,7 @@ class Bug2<T extends Integer>{ } void bug1(Parametrized<? super T> param) { - <error descr="Inferred type 'capture<? super T>' for type parameter 'I' is not within its bound; should extend 'java.lang.Number'">foo(param)</error>; + foo(param); } @@ -35,7 +35,7 @@ class Test { } void bug1(Parametrized<? super T> param) { - <error descr="Inferred type 'java.io.Serializable' for type parameter 'I' is not within its bound; should extend 'java.lang.Number'">foo(param)</error>; + <error descr="Inferred type 'capture<? super T>' for type parameter 'I' is not within its bound; should extend 'java.lang.Number'">foo(param)</error>; } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/WildcardsBoundsIntersection.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/WildcardsBoundsIntersection.java index 6385fe5d125e..cf8ad1c9fb9f 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/WildcardsBoundsIntersection.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/WildcardsBoundsIntersection.java @@ -10,6 +10,6 @@ class Node<NodeTypeT extends NodeType> { class Main { public static void main(NodeProperty<NumberExpression, Integer> nval, Node<? extends NodeType> expr) { - int val = expr.get<error descr="'get(NodeProperty<? super capture<? extends NodeType>,java.lang.Integer>)' in 'Node' cannot be applied to '(NodeProperty<NumberExpression,java.lang.Integer>)'">(nval)</error>; + int val = expr.get<error descr="'get(NodeProperty<? super capture<? extends NodeType>,java.lang.Object>)' in 'Node' cannot be applied to '(NodeProperty<NumberExpression,java.lang.Integer>)'">(nval)</error>; } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/CyclicParamsDependency.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/CyclicParamsDependency.java new file mode 100644 index 000000000000..927165e23e9c --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/CyclicParamsDependency.java @@ -0,0 +1,18 @@ +import java.util.List; + +class Sample { + <T extends List<K>, K extends List<T>> T foo(){ + <error descr="Incompatible types. Found: 'K', required: 'T'">T t = foo().get(0);</error> + <error descr="Incompatible types. Found: 'K', required: 'K'">K k = foo().get(0);</error> + + <error descr="Incompatible types. Found: 'T', required: 'T'">T t1 = foo().get(0).get(0);</error> + + String s = foo(); + <error descr="Incompatible types. Found: 'K', required: 'java.lang.String'">String s1 = foo().get(0);</error> + return null; + } + + { + foo(); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA126163.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA126163.java new file mode 100644 index 000000000000..7869663fb863 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA126163.java @@ -0,0 +1,29 @@ +class Test { + + public static void main( String[] args ) throws Exception { + Checker.assertThat("", Utils.is(Utils.notNullValue())); + } +} + +interface Util<T> { +} + +class Utils { + static <T> Util<T> is( Util<T> util ) { + return null; + } + + static <T> Util<T> is( T t ) { + return null; + } + + static <T> Util<T> notNullValue() { + return null; + } +} + +class Checker { + static <T> void assertThat(T actual, Util<T> util) { + } +} + diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128101.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128101.java index 42be49b62f04..ac00e0bae517 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128101.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128101.java @@ -22,8 +22,8 @@ class TestIDEA128101 { construct(String.class, createPath(integerAttribute), createPath(stringAttribute)); construct1<error descr="Cannot resolve method 'construct1(java.lang.Class<java.lang.String>, TestIDEA128101.Path<java.lang.Integer>, TestIDEA128101.Path<java.lang.String>)'">(String.class, createPath(integerAttribute), createPath(stringAttribute))</error>; construct2(String.class, createPath(integerAttribute), createPath(stringAttribute)); - <error descr="Type parameter K has incompatible upper bounds: Integer and String">construct3(String.class, createPath(integerAttribute), createPath(stringAttribute));</error> - <error descr="Type parameter K has incompatible upper bounds: Integer and String">construct4(String.class, createPath(integerAttribute), createPath(stringAttribute));</error> + construct3<error descr="Cannot resolve method 'construct3(java.lang.Class<java.lang.String>, TestIDEA128101.Path<java.lang.Integer>, TestIDEA128101.Path<java.lang.String>)'">(String.class, createPath(integerAttribute), createPath(stringAttribute))</error>; + construct4(String.class, createPath(integerAttribute), createPath<error descr="'createPath(TestIDEA128101.Attribute<Y>)' in 'TestIDEA128101' cannot be applied to '(TestIDEA128101.Attribute<java.lang.String>)'">(stringAttribute)</error>); } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128766.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128766.java new file mode 100644 index 000000000000..715b158d2cdd --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128766.java @@ -0,0 +1,21 @@ +class Test { + + static class TKey<T> {} + + public interface Getter { + <T> T getValue(TKey<T> key); + } + + public static <TK extends TKey<?>> TK getAKey(TK tKeySuffix) { + return tKeySuffix; + } + + static final TKey<Double> KEY_D = new TKey<>(); + public static void f(Getter getter) { + double d1 = getter.getValue(KEY_D); + double d2 = getter.getValue(getAKey(KEY_D)); + TKey<Double> aKey = getAKey(KEY_D); + double d3 = getter.getValue(aKey); + } +} + diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/InfiniteTypes.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/InfiniteTypes.java new file mode 100644 index 000000000000..2f6d975261e4 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/InfiniteTypes.java @@ -0,0 +1,9 @@ +class Test { + + public static void main(String[] args) { + multiBound("test"); + multiBound(null); + } + + static <E extends Comparable<E> & CharSequence> void multiBound(E e) {} +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/SOEDuringInferenceFromParamBounds.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/SOEDuringInferenceFromParamBounds.java index 3f26bbc1ef56..90e8efb23b5d 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/SOEDuringInferenceFromParamBounds.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/SOEDuringInferenceFromParamBounds.java @@ -3,5 +3,5 @@ import java.util.Map; public class SOE { public static <K extends M, M extends Map<K,M>> M foo() {return null;} - public static <K1 extends M1, M1 extends Map<K1,M1>> Map<K1, M1> foo1() {return <error descr="Inferred type 'java.util.Map<K1,M1>' for type parameter 'M' is not within its bound; should implement 'java.util.Map<java.util.Map<K1,M1>,java.util.Map<K1,M1>>'">foo()</error>;} + public static <K1 extends M1, M1 extends Map<K1,M1>> Map<K1, M1> foo1() {<error descr="Incompatible types. Found: 'M', required: 'java.util.Map<K1,M1>'">return foo();</error>} } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/SameMethodNestedChainedCallsNearFunctionInterfaces.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/SameMethodNestedChainedCallsNearFunctionInterfaces.java new file mode 100644 index 000000000000..d8e931915013 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/SameMethodNestedChainedCallsNearFunctionInterfaces.java @@ -0,0 +1,87 @@ +import java.util.*; +import java.util.function.BiFunction; +import java.util.function.Supplier; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +class Test +{ + public static class K<T> + { + private final T head; + private final K<T> tail; + + public K(T head, K<T> tail) + { + this.head = head; + this.tail = tail; + } + } + + public static class P<U> + { + public <B, C> P<C> biMap(P<B> that, BiFunction<U, B, C> f) + { + return null; + } + } + + public static <A> P<K<A>> f(K<P<A>> x) + { + return x.head.biMap(f(x.tail), K::new); + } +} + +class A<T> +{ + public A(Supplier<T> arg0, Supplier<A<T>> arg1){} + + static <S> A<S> make(S[] s) + { + return helpMake(0, s); + } + + static <S> A<S> helpMake(int offset, S[] s) + { + return new A<>(() -> s[offset], () -> helpMake(offset + 1, s)); + } +} + +interface MultivaluedMap<K, V> extends Map<K, List<V>> { + + void putSingle(K var1, V var2); + + void add(K var1, V var2); + + V getFirst(K var1); +} + + +class Headers { + private final Map<String, List<String>> headers; + + public Headers(Map<String, List<String>> headers) { + this.headers = headers; + } + + public Headers(MultivaluedMap<String, Object> multimap) { + this.headers = multimap.entrySet() + .stream() + .collect( + Collectors.toMap( + Map.Entry::getKey, + x -> x.getValue() + .stream() + .map(Object::toString) + .collect(Collectors.toList()) + ) + ); + } +} + +class IDEA128245 { + public void testCollectors(final Stream<Map.Entry<String, Set<String>>> stream, + Stream<Integer> integerStream) { + stream.collect(Collectors.toMap(Map.Entry::getKey, entry -> integerStream.collect(Collectors.toSet()))); + } +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/AdditionalConstraints3Level.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/AdditionalConstraints3Level.java new file mode 100644 index 000000000000..3e4ef6f955e5 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/AdditionalConstraints3Level.java @@ -0,0 +1,15 @@ +import java.util.List; +import java.util.function.Function; + +abstract class Sample { + abstract <T> T id (T t); + abstract <R> void foo(List<R> c); + abstract <U> List<U> bar(Function<String, U> m); + + { + foo(bar(this::id)); + foo(bar(id(i -> i))); + + Function<String, String> s = id(this::id); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/WildcardParametrization.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/WildcardParametrization.java new file mode 100644 index 000000000000..d1adfe4a9ee1 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/WildcardParametrization.java @@ -0,0 +1,19 @@ + +import java.util.function.Function; + +class IdeaTest { + class Test<K>{} + + public void checkAnnotationsPresent() { + Function<Test<? extends Annotation>, Annotation> mapper = this::getAnnotation; + Function<Test<? extends Annotation>, ? extends Annotation> mapper1 = this::getAnnotation; + } + + public <A extends Annotation> A getAnnotation(Test<A> annotationClass) { + return null; + } + + static class Annotation{} + + +} diff --git a/java/java-tests/testData/codeInsight/typing/fixIfByBraceCompositeCondition_after.java b/java/java-tests/testData/codeInsight/typing/fixIfByBraceCompositeCondition_after.java new file mode 100644 index 000000000000..d57959a1485a --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/fixIfByBraceCompositeCondition_after.java @@ -0,0 +1,5 @@ +class C { + boolean f() { + if (f() && new Object(){<caret>) + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/fixIfByBraceCompositeCondition_before.java b/java/java-tests/testData/codeInsight/typing/fixIfByBraceCompositeCondition_before.java new file mode 100644 index 000000000000..9718c041c2e0 --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/fixIfByBraceCompositeCondition_before.java @@ -0,0 +1,5 @@ +class C { + boolean f() { + if (f() && new Object()<caret>) + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/fixIfByBraceNewObject_after.java b/java/java-tests/testData/codeInsight/typing/fixIfByBraceNewObject_after.java new file mode 100644 index 000000000000..f85e4d676ead --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/fixIfByBraceNewObject_after.java @@ -0,0 +1,5 @@ +class C { + boolean f() { + if (new Object(){<caret>) + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/fixIfByBraceNewObject_before.java b/java/java-tests/testData/codeInsight/typing/fixIfByBraceNewObject_before.java new file mode 100644 index 000000000000..f536c7eba9a3 --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/fixIfByBraceNewObject_before.java @@ -0,0 +1,5 @@ +class C { + boolean f() { + if (new Object()<caret>) + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/fixIfByBrace_after.java b/java/java-tests/testData/codeInsight/typing/fixIfByBrace_after.java new file mode 100644 index 000000000000..f17312c07aa6 --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/fixIfByBrace_after.java @@ -0,0 +1,7 @@ +class C { + boolean f() { + if (f()) { + <caret> + } + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/fixIfByBrace_before.java b/java/java-tests/testData/codeInsight/typing/fixIfByBrace_before.java new file mode 100644 index 000000000000..017a62e874f3 --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/fixIfByBrace_before.java @@ -0,0 +1,5 @@ +class C { + boolean f() { + if (f()<caret>) + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/fixWhileByBrace_after.java b/java/java-tests/testData/codeInsight/typing/fixWhileByBrace_after.java new file mode 100644 index 000000000000..92e28bfe1542 --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/fixWhileByBrace_after.java @@ -0,0 +1,7 @@ +class C { + boolean f() { + while (f()) { + <caret> + } + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/fixWhileByBrace_before.java b/java/java-tests/testData/codeInsight/typing/fixWhileByBrace_before.java new file mode 100644 index 000000000000..a254dee776db --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/fixWhileByBrace_before.java @@ -0,0 +1,5 @@ +class C { + boolean f() { + while (f()<caret>) + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/awt/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/awt/annotations.xml index 0314b02a4d7b..2e75eb0e3c6c 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/awt/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/awt/annotations.xml @@ -1,4 +1,10 @@ <root> + <item name="java.awt.Component boolean action(java.awt.Event, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component boolean action(java.awt.Event, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean action(java.awt.Event, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->false;_,!null->false;_,null->false;null,_->false""/> @@ -18,6 +24,12 @@ <item name="java.awt.Component boolean eventEnabled(java.awt.AWTEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component boolean gotFocus(java.awt.Event, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component boolean gotFocus(java.awt.Event, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean gotFocus(java.awt.Event, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->false;_,!null->false;_,null->false;null,_->false""/> @@ -26,46 +38,85 @@ <item name="java.awt.Component boolean handleEvent(java.awt.Event) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component boolean imageUpdate(java.awt.Image, int, int, int, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component boolean isFocusCycleRoot(java.awt.Container) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component boolean isSameOrAncestorOf(java.awt.Component, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component boolean keyDown(java.awt.Event, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean keyDown(java.awt.Event, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->false;null,_->false""/> </annotation> </item> + <item name="java.awt.Component boolean keyUp(java.awt.Event, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean keyUp(java.awt.Event, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->false;null,_->false""/> </annotation> </item> + <item name="java.awt.Component boolean lostFocus(java.awt.Event, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component boolean lostFocus(java.awt.Event, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean lostFocus(java.awt.Event, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->false;_,!null->false;_,null->false;null,_->false""/> </annotation> </item> + <item name="java.awt.Component boolean mouseDown(java.awt.Event, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean mouseDown(java.awt.Event, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->false;null,_,_->false""/> </annotation> </item> + <item name="java.awt.Component boolean mouseDrag(java.awt.Event, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean mouseDrag(java.awt.Event, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->false;null,_,_->false""/> </annotation> </item> + <item name="java.awt.Component boolean mouseEnter(java.awt.Event, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean mouseEnter(java.awt.Event, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->false;null,_,_->false""/> </annotation> </item> + <item name="java.awt.Component boolean mouseExit(java.awt.Event, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean mouseExit(java.awt.Event, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->false;null,_,_->false""/> </annotation> </item> + <item name="java.awt.Component boolean mouseMove(java.awt.Event, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean mouseMove(java.awt.Event, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->false;null,_,_->false""/> </annotation> </item> + <item name="java.awt.Component boolean mouseUp(java.awt.Event, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component boolean mouseUp(java.awt.Event, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->false;null,_,_->false""/> @@ -93,6 +144,9 @@ <item name="java.awt.Component java.awt.Dimension getMaximumSize()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component java.awt.Dimension getSize(java.awt.Dimension) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component java.awt.Dimension getSize(java.awt.Dimension)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->!null""/> @@ -107,6 +161,9 @@ <item name="java.awt.Component java.awt.Dimension size()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component java.awt.Point getLocation(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component java.awt.Point getLocation(java.awt.Point)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->!null""/> @@ -124,6 +181,9 @@ <item name="java.awt.Component java.awt.Rectangle bounds()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component java.awt.Rectangle getBounds(java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component java.awt.Rectangle getBounds(java.awt.Rectangle)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->!null""/> @@ -134,6 +194,9 @@ <val val=""null->null""/> </annotation> </item> + <item name="java.awt.Component java.awt.image.VolatileImage createVolatileImage(int, int, java.awt.ImageCapabilities) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component java.lang.String paramString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -146,9 +209,48 @@ <item name="java.awt.Component void add(java.awt.PopupMenu) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component void addComponentListener(java.awt.event.ComponentListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addFocusListener(java.awt.event.FocusListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addHierarchyListener(java.awt.event.HierarchyListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addInputMethodListener(java.awt.event.InputMethodListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addKeyListener(java.awt.event.KeyListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addMouseListener(java.awt.event.MouseListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addMouseMotionListener(java.awt.event.MouseMotionListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addMouseWheelListener(java.awt.event.MouseWheelListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addPropertyChangeListener(java.beans.PropertyChangeListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component void applyComponentOrientation(java.awt.ComponentOrientation) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component void autoProcessMouseWheel(java.awt.event.MouseWheelEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void checkGD(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component void createBufferStrategy(int, java.awt.BufferCapabilities) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -161,9 +263,54 @@ <item name="java.awt.Component void list(java.io.PrintWriter, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component void paint(java.awt.Graphics) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void paintHeavyweightComponents(java.awt.Graphics) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void printHeavyweightComponents(java.awt.Graphics) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void processEvent(java.awt.AWTEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Component void removeComponentListener(java.awt.event.ComponentListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removeFocusListener(java.awt.event.FocusListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removeHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removeHierarchyListener(java.awt.event.HierarchyListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removeInputMethodListener(java.awt.event.InputMethodListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removeKeyListener(java.awt.event.KeyListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removeMouseListener(java.awt.event.MouseListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removeMouseMotionListener(java.awt.event.MouseMotionListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removeMouseWheelListener(java.awt.event.MouseWheelListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removePropertyChangeListener(java.beans.PropertyChangeListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Component void removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Component void resize(java.awt.Dimension) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -185,16 +332,28 @@ <item name="java.awt.Container boolean eventEnabled(java.awt.AWTEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Container boolean isAncestorOf(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Container boolean isAncestorOf(java.awt.Component)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.awt.Container boolean isFocusCycleRoot(java.awt.Container) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Container boolean isRemoveNotifyNeeded(java.awt.Component, java.awt.Container, java.awt.Container) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Container boolean isRemoveNotifyNeeded(java.awt.Component, java.awt.Container, java.awt.Container)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,null->false;_,null,_->false;null,_,_->false""/> </annotation> </item> + <item name="java.awt.Container int getComponentZOrder(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Container java.awt.Component add(java.awt.Component)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> @@ -225,12 +384,21 @@ <item name="java.awt.Container java.lang.String paramString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Container void addContainerListener(java.awt.event.ContainerListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Container void addDelicately(java.awt.Component, java.awt.Container, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.awt.Container void addImpl(java.awt.Component, java.lang.Object, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Container void addPropertyChangeListener(java.beans.PropertyChangeListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Container void addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Container void applyComponentOrientation(java.awt.ComponentOrientation) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -252,15 +420,24 @@ <item name="java.awt.Container void list(java.io.PrintWriter, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Container void processEvent(java.awt.AWTEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Container void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.awt.Container void remove(java.awt.Component) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Container void removeContainerListener(java.awt.event.ContainerListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Container void removeDelicately(java.awt.Component, java.awt.Container, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Container void reparentChild(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Container void reparentTraverse(java.awt.peer.ContainerPeer, java.awt.Container) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -273,6 +450,9 @@ <item name="java.awt.Dimension Dimension(java.awt.Dimension) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Dimension boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Dimension boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -290,6 +470,9 @@ <item name="java.awt.Frame java.lang.String constructComponentName()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Frame void init(java.lang.String, java.awt.GraphicsConfiguration) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Frame void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -305,6 +488,9 @@ <item name="java.awt.Window Window(java.awt.Window, java.awt.GraphicsConfiguration) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Window boolean dispatchMouseWheelToAncestor(java.awt.event.MouseWheelEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Window boolean dispatchMouseWheelToAncestor(java.awt.event.MouseWheelEvent)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> @@ -324,21 +510,63 @@ <item name="java.awt.Window java.lang.String constructComponentName()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Window void addOwnedWindow(java.lang.ref.WeakReference) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void addPropertyChangeListener(java.beans.PropertyChangeListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void addWindowFocusListener(java.awt.event.WindowFocusListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void addWindowListener(java.awt.event.WindowListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void addWindowStateListener(java.awt.event.WindowStateListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Window void connectOwnedWindow(java.awt.Window) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Window void deliverMouseWheelToAncestor(java.awt.event.MouseWheelEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Window void dispatchEventImpl(java.awt.AWTEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.awt.Window void ownedInit(java.awt.Window) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Window void postProcessKeyEvent(java.awt.event.KeyEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Window void preProcessKeyEvent(java.awt.event.KeyEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Window void processEvent(java.awt.AWTEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Window void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.awt.Window void removeOwnedWindow(java.lang.ref.WeakReference) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void removeWindowFocusListener(java.awt.event.WindowFocusListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void removeWindowListener(java.awt.event.WindowListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void removeWindowStateListener(java.awt.event.WindowStateListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.awt.Window void setCursor(java.awt.Cursor) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.awt.Window void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/beans/beancontext/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/beans/beancontext/annotations.xml index 60214de88d04..ce4e092e389f 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/beans/beancontext/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/beans/beancontext/annotations.xml @@ -43,6 +43,9 @@ <item name="java.beans.beancontext.BeanContextServicesSupport void bcsPreSerializationHook(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void childJustRemovedHook(java.lang.Object, java.beans.beancontext.BeanContextSupport.BCSChild) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.beans.beancontext.BeanContextServicesSupport void childJustRemovedHook(java.lang.Object, java.beans.beancontext.BeanContextSupport.BCSChild) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/io/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/io/annotations.xml index 868b0f3f11c0..521adcf48636 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/io/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/io/annotations.xml @@ -62,6 +62,9 @@ <item name="java.io.DataInputStream void readFully(byte[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.File File(java.io.File, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.File File(java.io.File, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -71,12 +74,21 @@ <item name="java.io.File File(java.lang.String, java.io.File) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.File File(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.File File(java.lang.String, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.io.File File(java.net.URI) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.File boolean checkAndCreate(java.lang.String, java.lang.SecurityManager) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.File boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.File boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -85,15 +97,33 @@ <item name="java.io.File java.io.File createTempFile(java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.File java.io.File createTempFile(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.File java.io.File createTempFile(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.io.File java.io.File createTempFile(java.lang.String, java.lang.String, java.io.File) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.File java.io.File createTempFile(java.lang.String, java.lang.String, java.io.File) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.File java.io.File createTempFile(java.lang.String, java.lang.String, java.io.File) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.File java.io.File createTempFile(java.lang.String, java.lang.String, java.io.File)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.File java.io.File generateFile(java.lang.String, java.lang.String, java.io.File) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.File java.io.File generateFile(java.lang.String, java.lang.String, java.io.File) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.File java.io.File generateFile(java.lang.String, java.lang.String, java.io.File) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.File java.io.File generateFile(java.lang.String, java.lang.String, java.io.File)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -103,12 +133,26 @@ <item name="java.io.File java.io.File getCanonicalFile()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.File java.io.File[] listFiles(java.io.FileFilter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.File java.io.File[] listFiles(java.io.FilenameFilter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.File java.lang.String getName()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.io.File java.lang.String slashify(java.lang.String, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.File java.lang.String slashify(java.lang.String, boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null""/> + </annotation> + </item> + <item name="java.io.File java.lang.String[] list(java.io.FilenameFilter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.File java.net.URI toURI()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -124,21 +168,45 @@ <item name="java.io.FileInputStream FileInputStream(java.io.FileDescriptor) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.FileInputStream FileInputStream(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.FileInputStream int read(byte[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.FileNotFoundException FileNotFoundException(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.FileNotFoundException FileNotFoundException(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.FileOutputStream FileOutputStream(java.io.FileDescriptor) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.FileOutputStream FileOutputStream(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.FileOutputStream FileOutputStream(java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.FileOutputStream void write(byte[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.io.FileReader FileReader(java.io.FileDescriptor) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.FileReader FileReader(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.FileWriter FileWriter(java.io.FileDescriptor) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.FileWriter FileWriter(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.FileWriter FileWriter(java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.FilterOutputStream void write(byte[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -213,6 +281,9 @@ <item name="java.io.ObjectInputStream void access$500(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.ObjectInputStream void defaultReadFields(java.lang.Object, java.io.ObjectStreamClass) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.ObjectInputStream void defaultReadFields(java.lang.Object, java.io.ObjectStreamClass) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -225,6 +296,9 @@ <item name="java.io.ObjectInputStream void readFully(byte[], int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.ObjectInputStream void readSerialData(java.lang.Object, java.io.ObjectStreamClass) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.ObjectInputStream void readSerialData(java.lang.Object, java.io.ObjectStreamClass) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -239,6 +313,12 @@ <item name="java.io.ObjectOutputStream void access$100(java.io.ObjectOutputStream, java.lang.Object, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.ObjectOutputStream void annotateClass(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.ObjectOutputStream void annotateProxyClass(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.ObjectOutputStream void defaultWriteFields(java.lang.Object, java.io.ObjectStreamClass) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -254,6 +334,9 @@ <item name="java.io.ObjectOutputStream void writeArray(java.lang.Object, java.io.ObjectStreamClass, boolean) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.ObjectOutputStream void writeClassDesc(java.io.ObjectStreamClass, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.ObjectOutputStream void writeClassDescriptor(java.io.ObjectStreamClass) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -269,6 +352,9 @@ <item name="java.io.ObjectOutputStream void writeNonProxyDesc(java.io.ObjectStreamClass, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.ObjectOutputStream void writeObjectOverride(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.ObjectOutputStream void writeOrdinaryObject(java.lang.Object, java.io.ObjectStreamClass, boolean) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -278,6 +364,9 @@ <item name="java.io.ObjectOutputStream void writeSerialData(java.lang.Object, java.io.ObjectStreamClass) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.ObjectOutputStream void writeTypeString(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.OutputStream void write(byte[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -323,24 +412,54 @@ <item name="java.io.PrintStream PrintStream(java.io.OutputStream, boolean, java.lang.String) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.PrintStream PrintStream(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.PrintStream PrintStream(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.PrintStream PrintStream(java.lang.String, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.io.PrintStream java.io.PrintStream append(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.PrintStream java.io.PrintStream append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.PrintStream java.io.PrintStream append(java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.PrintStream java.io.PrintStream append(java.lang.CharSequence, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.PrintStream java.io.PrintStream append(java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.PrintStream java.io.PrintStream format(java.lang.String, java.lang.Object...)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.PrintStream java.io.PrintStream format(java.util.Locale, java.lang.String, java.lang.Object...)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="java.io.PrintStream void init(java.io.OutputStreamWriter) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.PrintStream void print(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.PrintStream void print(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.io.PrintStream void println(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.RandomAccessFile RandomAccessFile(java.io.File, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.RandomAccessFile RandomAccessFile(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.RandomAccessFile RandomAccessFile(java.lang.String, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -377,9 +496,15 @@ <item name="java.io.Writer java.io.Writer append(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.Writer java.io.Writer append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.Writer java.io.Writer append(java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.io.Writer java.io.Writer append(java.lang.CharSequence, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.io.Writer java.io.Writer append(java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/annotations.xml index 8d157485ada1..4862b313a917 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/annotations.xml @@ -29,9 +29,24 @@ <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(java.lang.CharSequence, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(java.lang.StringBuffer)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> @@ -64,6 +79,18 @@ <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, char[], int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.CharSequence) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.CharSequence, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -73,19 +100,37 @@ <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder replace(int, int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder reverse()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="java.lang.AbstractStringBuilder java.lang.String substring(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.AssertionError AssertionError(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.Boolean Boolean(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.Boolean boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Boolean boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.lang.Boolean boolean parseBoolean(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Boolean boolean parseBoolean(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.lang.Boolean boolean toBoolean(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Boolean boolean toBoolean(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -97,6 +142,9 @@ <item name="java.lang.Boolean int compareTo(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Boolean java.lang.Boolean valueOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Boolean java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -106,6 +154,9 @@ <item name="java.lang.Byte Byte(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Byte boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Byte boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -147,6 +198,9 @@ <item name="java.lang.Byte java.lang.String toString(byte)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Character boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Character boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -196,6 +250,12 @@ <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="java.lang.Class boolean access$100(java.lang.Object[], java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.Class boolean access$100(java.lang.Object[], java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Class boolean access$202(boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""false->false;true->true""/> @@ -206,6 +266,12 @@ <val val=""false->false;true->true""/> </annotation> </item> + <item name="java.lang.Class boolean arrayContentsEq(java.lang.Object[], java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.Class boolean arrayContentsEq(java.lang.Object[], java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Class boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -220,6 +286,9 @@ <item name="java.lang.Class java.lang.Class<? extends U> asSubclass(java.lang.Class<U>)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Class java.lang.String argumentTypesToString(java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Class java.lang.String argumentTypesToString(java.lang.Class[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -234,6 +303,15 @@ <item name="java.lang.Class java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Class java.lang.reflect.Constructor<T> getConstructor(java.lang.Class...) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.Class java.lang.reflect.Constructor<T> getConstructor0(java.lang.Class[], int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.Class java.lang.reflect.Constructor<T> getDeclaredConstructor(java.lang.Class...) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Class java.lang.reflect.Constructor[] copyConstructors(java.lang.reflect.Constructor[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -255,9 +333,15 @@ <item name="java.lang.Class java.lang.reflect.Field[] copyFields(java.lang.reflect.Field[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Class java.lang.reflect.Field[] privateGetPublicFields(java.util.Set) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Class java.lang.reflect.Method getDeclaredMethod(java.lang.String, java.lang.Class...) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Class java.lang.reflect.Method getDeclaredMethod(java.lang.String, java.lang.Class...) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Class java.lang.reflect.Method getMethod(java.lang.String, java.lang.Class...) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -270,15 +354,27 @@ <item name="java.lang.Class java.lang.reflect.Method searchMethods(java.lang.reflect.Method[], java.lang.String, java.lang.Class[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Class java.lang.reflect.Method searchMethods(java.lang.reflect.Method[], java.lang.String, java.lang.Class[]) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Class java.lang.reflect.Method[] copyMethods(java.lang.reflect.Method[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.Class void addAll(java.util.Collection, java.lang.reflect.Field[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Class void checkMemberAccess(int, java.lang.ClassLoader) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.ClassLoader boolean compareCerts(java.security.cert.Certificate[], java.security.cert.Certificate[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.ClassLoader boolean compareCerts(java.security.cert.Certificate[], java.security.cert.Certificate[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.ClassLoader boolean isAncestor(java.lang.ClassLoader) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.ClassLoader boolean loadLibrary0(java.lang.Class, java.io.File)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->false""/> @@ -287,6 +383,9 @@ <item name="java.lang.ClassLoader java.lang.Package definePackage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.net.URL)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.ClassLoader java.lang.String findLibrary(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.ClassLoader java.lang.String findLibrary(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->null;null->null""/> @@ -295,11 +394,17 @@ <item name="java.lang.ClassLoader java.lang.String[] initializePath(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.ClassLoader java.net.URL findResource(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.ClassLoader java.net.URL findResource(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->null;null->null""/> </annotation> </item> + <item name="java.lang.ClassLoader java.util.Enumeration findResources(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.ClassLoader java.util.Enumeration findResources(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -318,6 +423,9 @@ <item name="java.lang.ClassLoader void setSigners(java.lang.Class, java.lang.Object[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Double boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Double boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -338,12 +446,18 @@ <item name="java.lang.Enum T valueOf(java.lang.Class<T>, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Enum boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Enum int compareTo(E) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.Enum int compareTo(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Float boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Float boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -364,6 +478,9 @@ <item name="java.lang.Integer Integer(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Integer boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Integer boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -434,6 +551,9 @@ <item name="java.lang.Long Long(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Long boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Long boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -498,15 +618,24 @@ <item name="java.lang.Long void getChars(long, int, char[]) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.NumberFormatException java.lang.NumberFormatException forInputString(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.NumberFormatException java.lang.NumberFormatException forInputString(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Object boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Object java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.Short Short(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Short boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Short boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -605,6 +734,12 @@ <item name="java.lang.String boolean endsWith(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.String boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.String boolean equalsIgnoreCase(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.String boolean regionMatches(boolean, int, java.lang.String, int, int) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -662,6 +797,9 @@ <item name="java.lang.String java.lang.String copyValueOf(char[], int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.String java.lang.String replace(char, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="java.lang.String java.lang.String replace(java.lang.CharSequence, java.lang.CharSequence) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -674,15 +812,30 @@ <item name="java.lang.String java.lang.String substring(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.String java.lang.String toLowerCase()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="java.lang.String java.lang.String toLowerCase(java.util.Locale) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.String java.lang.String toLowerCase(java.util.Locale)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="java.lang.String java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.String java.lang.String toUpperCase()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="java.lang.String java.lang.String toUpperCase(java.util.Locale) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.String java.lang.String toUpperCase(java.util.Locale)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String trim()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="java.lang.String java.lang.String valueOf(boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -704,6 +857,9 @@ <item name="java.lang.String java.lang.String valueOf(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.String java.lang.String valueOf(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.String java.lang.String valueOf(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> @@ -715,6 +871,9 @@ <item name="java.lang.String void checkBounds(byte[], int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.String.CaseInsensitiveComparator CaseInsensitiveComparator(java.lang.String.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.String.CaseInsensitiveComparator int compare(java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -763,18 +922,30 @@ <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(java.lang.StringBuffer)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -817,15 +988,24 @@ <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, java.lang.CharSequence) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -844,6 +1024,9 @@ <item name="java.lang.StringBuffer java.lang.Appendable append(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.Appendable append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.Appendable append(java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -886,18 +1069,30 @@ <item name="java.lang.StringBuffer java.lang.StringBuffer append(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.StringBuffer append(java.lang.StringBuffer)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -940,15 +1135,24 @@ <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, java.lang.CharSequence) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1012,18 +1216,30 @@ <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(java.lang.StringBuffer)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1066,15 +1282,24 @@ <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.CharSequence) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1093,6 +1318,9 @@ <item name="java.lang.StringBuilder java.lang.Appendable append(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.Appendable append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.Appendable append(java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1126,21 +1354,36 @@ <item name="java.lang.StringBuilder java.lang.StringBuilder append(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.StringBuffer)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.StringBuilder) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.StringBuilder)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1183,15 +1426,24 @@ <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, java.lang.CharSequence) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, java.lang.CharSequence)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, java.lang.CharSequence, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1228,6 +1480,12 @@ <item name="java.lang.System void checkKey(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.System void setProperties(java.util.Properties) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.System void setSecurityManager0(java.lang.SecurityManager) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.System.2 sun.reflect.ConstantPool getConstantPool(java.lang.Class) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1246,12 +1504,24 @@ <item name="java.lang.Thread Thread(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Thread Thread(java.lang.ThreadGroup, java.lang.Runnable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.Thread Thread(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Thread Thread(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Thread Thread(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String, long) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Thread Thread(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String, long) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Thread Thread(java.lang.ThreadGroup, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Thread Thread(java.lang.ThreadGroup, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1261,12 +1531,18 @@ <item name="java.lang.Thread java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Thread void init(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String, long) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Thread void init(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String, long) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.Thread void setName(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.ThreadLocal T childValue(T) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.ThreadLocal int access$400(java.lang.ThreadLocal) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1291,6 +1567,9 @@ <item name="java.lang.ThreadLocal.ThreadLocalMap ThreadLocalMap(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal.1) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap ThreadLocalMap(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.ThreadLocal.ThreadLocalMap java.lang.ThreadLocal.ThreadLocalMap.Entry access$000(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1300,6 +1579,12 @@ <item name="java.lang.ThreadLocal.ThreadLocalMap java.lang.ThreadLocal.ThreadLocalMap.Entry getEntry(java.lang.ThreadLocal) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap java.lang.ThreadLocal.ThreadLocalMap.Entry getEntryAfterMiss(java.lang.ThreadLocal, int, java.lang.ThreadLocal.ThreadLocalMap.Entry) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap java.lang.ThreadLocal.ThreadLocalMap.Entry getEntryAfterMiss(java.lang.ThreadLocal, int, java.lang.ThreadLocal.ThreadLocalMap.Entry) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.ThreadLocal.ThreadLocalMap java.lang.ThreadLocal.ThreadLocalMap.Entry getEntryAfterMiss(java.lang.ThreadLocal, int, java.lang.ThreadLocal.ThreadLocalMap.Entry)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,null->null""/> @@ -1329,6 +1614,9 @@ <item name="java.lang.Throwable void printEnclosedStackTrace(java.lang.Throwable.PrintStreamOrWriter, java.lang.StackTraceElement[], java.lang.String, java.lang.String, java.util.Set<java.lang.Throwable>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Throwable void printEnclosedStackTrace(java.lang.Throwable.PrintStreamOrWriter, java.lang.StackTraceElement[], java.lang.String, java.lang.String, java.util.Set<java.lang.Throwable>) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.Throwable void printEnclosedStackTrace(java.lang.Throwable.PrintStreamOrWriter, java.lang.StackTraceElement[], java.lang.String, java.lang.String, java.util.Set<java.lang.Throwable>) 4"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1344,4 +1632,7 @@ <item name="java.lang.Throwable void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.Throwable.PrintStreamOrWriter PrintStreamOrWriter(java.lang.Throwable.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> </root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/invoke/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/invoke/annotations.xml index f800dab8c906..42a07af318e1 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/invoke/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/invoke/annotations.xml @@ -8,6 +8,15 @@ <item name="java.lang.invoke.AdapterMethodHandle AdapterMethodHandle(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, long, java.lang.invoke.AdapterMethodHandle.1) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.AdapterMethodHandle AdapterMethodHandle(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, long, java.lang.invoke.AdapterMethodHandle.1) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canBoxArgument(java.lang.Class<?>, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canBoxArgument(java.lang.Class<?>, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.AdapterMethodHandle boolean canBoxArgument(java.lang.Class<?>, java.lang.Class<?>)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->false;_,!null->false;_,null->false;null,_->false""/> @@ -75,6 +84,9 @@ <val val=""_,null,_,_->false;null,_,_,_->false""/> </annotation> </item> + <item name="java.lang.invoke.AdapterMethodHandle byte basicType(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.AdapterMethodHandle int diffReturnTypes(java.lang.invoke.MethodType, java.lang.invoke.MethodType, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -87,9 +99,21 @@ <item name="java.lang.invoke.AdapterMethodHandle int diffTypes(java.lang.invoke.MethodType, java.lang.invoke.MethodType, boolean) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.AdapterMethodHandle int type2size(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.AdapterMethodHandle java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeBoxArgument(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeBoxArgument(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeBoxArgument(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeBoxArgument(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_,_->null;_,!null,_,_->null;_,_,_,!null->null;_,_,_,null->null;_,null,_,_->null;null,_,_,_->null""/> @@ -172,12 +196,18 @@ <item name="java.lang.invoke.BoundMethodHandle BoundMethodHandle(java.lang.invoke.DirectMethodHandle, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.BoundMethodHandle BoundMethodHandle(java.lang.invoke.DirectMethodHandle, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.BoundMethodHandle BoundMethodHandle(java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.invoke.BoundMethodHandle BoundMethodHandle(java.lang.invoke.MethodHandle, java.lang.Object, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.BoundMethodHandle BoundMethodHandle(java.lang.invoke.MethodHandle, java.lang.Object, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.BoundMethodHandle BoundMethodHandle(java.lang.invoke.MethodType, java.lang.Object, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -187,9 +217,18 @@ <item name="java.lang.invoke.BoundMethodHandle BoundMethodHandle(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, java.lang.Object, int) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.BoundMethodHandle BoundMethodHandle(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, java.lang.Object, int) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.BoundMethodHandle java.lang.Object bindPrimitiveArgument(java.lang.Object, java.lang.invoke.MethodHandle, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.BoundMethodHandle java.lang.Object bindPrimitiveArgument(java.lang.Object, java.lang.invoke.MethodHandle, int) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.BoundMethodHandle java.lang.Object checkReferenceArgument(java.lang.Object, java.lang.invoke.MethodHandle, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.BoundMethodHandle java.lang.Object checkReferenceArgument(java.lang.Object, java.lang.invoke.MethodHandle, int) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -198,6 +237,9 @@ <val val=""!null,_,_->!null;null,_,_->null""/> </annotation> </item> + <item name="java.lang.invoke.BoundMethodHandle java.lang.RuntimeException badBoundArgumentException(java.lang.Object, java.lang.invoke.MethodHandle, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.BoundMethodHandle java.lang.RuntimeException badBoundArgumentException(java.lang.Object, java.lang.invoke.MethodHandle, int) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -229,6 +271,12 @@ <item name="java.lang.invoke.CallSite java.lang.invoke.CallSite makeSite(java.lang.invoke.MethodHandle, java.lang.String, java.lang.invoke.MethodType, java.lang.Object, java.lang.invoke.MemberName, int) 4"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.CallSite java.lang.invoke.WrongMethodTypeException wrongTargetType(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.CallSite java.lang.invoke.WrongMethodTypeException wrongTargetType(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.CallSite java.lang.invoke.WrongMethodTypeException wrongTargetType(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -238,12 +286,21 @@ <item name="java.lang.invoke.CallSite void checkTargetChange(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.CallSite void initializeFromJVM(java.lang.String, java.lang.invoke.MethodType, java.lang.invoke.MemberName, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.CallSite void initializeFromJVM(java.lang.String, java.lang.invoke.MethodType, java.lang.invoke.MemberName, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.CallSite void maybeReBoxElements(java.lang.Object[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.invoke.ConstantCallSite ConstantCallSite(java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.ConstantCallSite void setTarget(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.DirectMethodHandle DirectMethodHandle(java.lang.invoke.MethodType, java.lang.invoke.MemberName, boolean, java.lang.Class<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -259,6 +316,12 @@ <item name="java.lang.invoke.FilterGeneric java.lang.invoke.FilterGeneric of(java.lang.invoke.FilterGeneric.Kind, int, java.lang.invoke.MethodType, java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.FilterGeneric.Adapter buildAdapterFromBytecodes(java.lang.invoke.MethodType, java.lang.invoke.FilterGeneric.Kind, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.FilterGeneric.Adapter buildAdapterFromBytecodes(java.lang.invoke.MethodType, java.lang.invoke.FilterGeneric.Kind, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.FilterGeneric java.lang.invoke.FilterGeneric.Adapter findAdapter(java.lang.invoke.MethodType, java.lang.invoke.FilterGeneric.Kind, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -323,6 +386,9 @@ <item name="java.lang.invoke.FilterGeneric.Adapter Adapter(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.FilterGeneric.Adapter java.lang.Class<? extends java.lang.invoke.FilterGeneric.Adapter> findSubClass(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.FilterGeneric.F0 F0(java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -578,6 +644,9 @@ <item name="java.lang.invoke.FilterGeneric.Kind java.lang.String invokerName(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.FilterOneArgument java.lang.invoke.MethodHandle make(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.FilterOneArgument java.lang.invoke.MethodHandle make(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;_,!null->!null""/> @@ -592,6 +661,9 @@ <item name="java.lang.invoke.FromGeneric java.lang.invoke.FromGeneric of(java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.FromGeneric java.lang.invoke.FromGeneric.Adapter buildAdapterFromBytecodes(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.FromGeneric java.lang.invoke.FromGeneric.Adapter findAdapter(java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -751,6 +823,9 @@ <item name="java.lang.invoke.FromGeneric.Adapter Adapter(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.FromGeneric.Adapter java.lang.Class<? extends java.lang.invoke.FromGeneric.Adapter> findSubClass(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.InvokeGeneric boolean returnConversionNeeded(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -762,6 +837,12 @@ <item name="java.lang.invoke.InvokeGeneric java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.InvokeGeneric java.lang.invoke.MethodHandle addReturnConversion(java.lang.invoke.MethodHandle, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.InvokeGeneric java.lang.invoke.MethodHandle addReturnConversion(java.lang.invoke.MethodHandle, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.InvokeGeneric java.lang.invoke.MethodHandle dispatch(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -812,6 +893,12 @@ <item name="java.lang.invoke.MemberName int access$200(java.lang.invoke.MemberName) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MemberName java.lang.IllegalAccessException makeAccessException(java.lang.String, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.MemberName java.lang.IllegalAccessException makeAccessException(java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MemberName java.lang.IllegalAccessException makeAccessException(java.lang.String, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -826,6 +913,9 @@ <val val=""_,!null->!null;_,null->null""/> </annotation> </item> + <item name="java.lang.invoke.MemberName java.lang.ReflectiveOperationException makeAccessException(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MemberName java.lang.ReflectiveOperationException makeAccessException(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -840,6 +930,9 @@ <val val=""_,!null->!null;_,null->null""/> </annotation> </item> + <item name="java.lang.invoke.MemberName java.lang.String getName(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MemberName java.lang.String getName(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> @@ -851,6 +944,9 @@ <item name="java.lang.invoke.MemberName.Factory java.lang.invoke.MemberName resolveOrNull(java.lang.invoke.MemberName, boolean, java.lang.Class<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MemberName.Factory java.util.List<java.lang.invoke.MemberName> getMembers(java.lang.Class<?>, java.lang.String, java.lang.Object, int, java.lang.Class<?>) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandle MethodHandle(java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -878,6 +974,9 @@ <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle accessField(java.lang.invoke.MemberName, boolean, java.lang.Class<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle accessField(java.lang.invoke.MemberName, boolean, java.lang.Class<?>) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle accessField(java.lang.invoke.MemberName, boolean, java.lang.Class<?>)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -890,9 +989,18 @@ <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle bindArgument(java.lang.invoke.MethodHandle, int, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle bindArgument(java.lang.invoke.MethodHandle, int, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle bindArgument(java.lang.invoke.MethodHandle, int, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle bindReceiver(java.lang.invoke.MethodHandle, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle bindReceiver(java.lang.invoke.MethodHandle, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle bindReceiver(java.lang.invoke.MethodHandle, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> @@ -940,6 +1048,9 @@ <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle spreadArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleImpl sun.invoke.empty.Empty throwException(T) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleImpl.AllocateObject AllocateObject(java.lang.invoke.MethodHandle, java.lang.Class<C>, java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1078,21 +1189,36 @@ <item name="java.lang.invoke.MethodHandleNatives void raiseException(int, java.lang.Object, java.lang.Object) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleNatives void raiseException(int, java.lang.Object, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.Error uncaughtException(java.lang.Exception)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.RuntimeException newIllegalArgumentException(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleStatics java.lang.RuntimeException newIllegalArgumentException(java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.RuntimeException newIllegalArgumentException(java.lang.String, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.RuntimeException newIllegalStateException(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleStatics java.lang.RuntimeException newIllegalStateException(java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.RuntimeException newIllegalStateException(java.lang.String, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleStatics java.lang.String addTypeString(java.lang.Object, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.MethodHandleStatics java.lang.String addTypeString(java.lang.Object, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.String addTypeString(java.lang.Object, java.lang.invoke.MethodHandle)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null;null,_->!null""/> @@ -1101,12 +1227,21 @@ <item name="java.lang.invoke.MethodHandleStatics java.lang.String getNameString(java.lang.invoke.MethodHandle)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleStatics java.lang.String getNameString(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.String getNameString(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleStatics java.lang.String getNameString(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.String getNameString(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandleStatics java.lang.String message(java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandleStatics java.lang.String message(java.lang.String, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;_,!null->!null""/> @@ -1127,6 +1262,9 @@ <item name="java.lang.invoke.MethodHandles boolean isObjectMethod(java.lang.reflect.Method) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandles boolean isWrapperInstance(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandles java.lang.Class<?> wrapperInstanceType(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1136,6 +1274,15 @@ <item name="java.lang.invoke.MethodHandles java.lang.Object callObjectMethod(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandles java.lang.RuntimeException misMatchedTypes(java.lang.String, java.lang.invoke.MethodType, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.RuntimeException misMatchedTypes(java.lang.String, java.lang.invoke.MethodType, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.RuntimeException misMatchedTypes(java.lang.String, java.lang.invoke.MethodType, java.lang.invoke.MethodType) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandles java.lang.RuntimeException misMatchedTypes(java.lang.String, java.lang.invoke.MethodType, java.lang.invoke.MethodType)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1277,6 +1424,12 @@ <item name="java.lang.invoke.MethodHandles void checkReorder(int[], java.lang.invoke.MethodType, java.lang.invoke.MethodType) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodHandles.1 java.lang.Object getArg(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.MethodHandles.1 java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodHandles.1 java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1425,6 +1578,9 @@ <item name="java.lang.invoke.MethodType MethodType(java.lang.Class<?>, java.lang.Class<?>[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodType boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodType boolean equals(java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1512,6 +1668,9 @@ <item name="java.lang.invoke.MethodTypeForm MethodTypeForm(java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodTypeForm boolean hasTwoArgSlots(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodTypeForm int[] primsAtEndOrder(java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1529,6 +1688,9 @@ <item name="java.lang.invoke.MethodTypeForm java.lang.invoke.MethodType canonicalize(java.lang.invoke.MethodType, int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.MethodTypeForm java.lang.invoke.MethodType reorderParameters(java.lang.invoke.MethodType, int[], java.lang.Class<?>[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.MethodTypeForm java.lang.invoke.MethodType reorderParameters(java.lang.invoke.MethodType, int[], java.lang.Class<?>[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> @@ -1572,6 +1734,12 @@ <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.SpreadGeneric of(java.lang.invoke.MethodType, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.SpreadGeneric.Adapter buildAdapterFromBytecodes(java.lang.invoke.MethodType, int, java.lang.invoke.MethodHandle[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.SpreadGeneric.Adapter buildAdapterFromBytecodes(java.lang.invoke.MethodType, int, java.lang.invoke.MethodHandle[]) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.SpreadGeneric.Adapter findAdapter(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1583,6 +1751,9 @@ <item name="java.lang.invoke.SpreadGeneric.Adapter Adapter(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.SpreadGeneric.Adapter java.lang.Class<? extends java.lang.invoke.SpreadGeneric.Adapter> findSubClass(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.SpreadGeneric.S0 S0(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1719,6 +1890,9 @@ <item name="java.lang.invoke.ToGeneric java.lang.invoke.ToGeneric of(java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.ToGeneric java.lang.invoke.ToGeneric.Adapter buildAdapterFromBytecodes(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.ToGeneric java.lang.invoke.ToGeneric.Adapter findAdapter(java.lang.invoke.MethodType) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1863,6 +2037,9 @@ <item name="java.lang.invoke.ToGeneric.Adapter Adapter(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.lang.invoke.ToGeneric.Adapter java.lang.Class<? extends java.lang.invoke.ToGeneric.Adapter> findSubClass(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.lang.invoke.VolatileCallSite VolatileCallSite(java.lang.invoke.MethodHandle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/net/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/net/annotations.xml index 6c410bc4ed65..be6006068f41 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/net/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/net/annotations.xml @@ -38,6 +38,9 @@ <item name="java.net.DatagramSocket DatagramSocket(java.net.DatagramSocketImpl) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.DatagramSocket DatagramSocket(java.net.SocketAddress) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.DatagramSocket void connect(java.net.InetAddress, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -53,6 +56,12 @@ <item name="java.net.DatagramSocket void send(java.net.DatagramPacket) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.DatagramSocket void setDatagramSocketImplFactory(java.net.DatagramSocketImplFactory) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.InetAddress boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.InetAddress boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> @@ -90,6 +99,12 @@ <item name="java.net.InetAddress java.net.InetAddress getByAddress(java.lang.String, byte[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.InetAddress java.net.InetAddress getByName(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.InetAddress java.net.InetAddress[] getAllByName(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.InetAddress java.net.InetAddress[] getAllByName(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> @@ -121,24 +136,138 @@ <item name="java.net.ServerSocket void implAccept(java.net.Socket) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.ServerSocket void setSocketFactory(java.net.SocketImplFactory) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.Socket Socket(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.Socket Socket(java.lang.String, int, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.Socket Socket(java.lang.String, int, java.net.InetAddress, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.Socket Socket(java.net.InetAddress, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.Socket Socket(java.net.InetAddress, int, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.Socket Socket(java.net.InetAddress, int, java.net.InetAddress, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.Socket Socket(java.net.SocketAddress, java.net.SocketAddress, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.net.Socket java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.Socket void bind(java.net.SocketAddress) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.Socket void connect(java.net.SocketAddress, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.Socket void setSocketImplFactory(java.net.SocketImplFactory) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 4"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 5"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 6"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI URI(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 4"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI boolean equal(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI boolean equal(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI boolean equalIgnoringCase(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI boolean equalIgnoringCase(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URI int access$2502(java.net.URI, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URI int compare(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI int compare(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI int compareIgnoringCase(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI int compareIgnoringCase(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URI int compareTo(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.net.URI int compareTo(java.net.URI) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URI int hash(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI int hashIgnoringCase(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URI int join(char[], int[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -255,6 +384,30 @@ <item name="java.net.URI java.lang.String resolvePath(java.lang.String, java.lang.String, boolean) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 4"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 6"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 7"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) 8"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URI java.lang.String toString(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -303,9 +456,45 @@ <item name="java.net.URI long lowMask(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URI void appendAuthority(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void appendAuthority(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, int) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void appendAuthority(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, int) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URI void appendEscape(java.lang.StringBuffer, byte) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URI void appendFragment(java.lang.StringBuffer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void appendSchemeSpecificPart(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void appendSchemeSpecificPart(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void appendSchemeSpecificPart(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void appendSchemeSpecificPart(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) 4"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void appendSchemeSpecificPart(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) 6"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void appendSchemeSpecificPart(java.lang.StringBuffer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) 7"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void checkPath(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URI void checkPath(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URI void maybeAddLeadingDot(char[], int[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -345,6 +534,9 @@ <item name="java.net.URL URL(java.net.URL, java.lang.String, java.net.URLStreamHandler) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URL boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URL boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -368,6 +560,9 @@ <item name="java.net.URL void set(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) 3"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URL void setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URL void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -380,11 +575,17 @@ <item name="java.net.URLConnection java.lang.String getContentHandlerPkgPrefixes()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URLConnection java.lang.String getDefaultRequestProperty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URLConnection java.lang.String getDefaultRequestProperty(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->null;null->null""/> </annotation> </item> + <item name="java.net.URLConnection java.lang.String getHeaderField(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URLConnection java.lang.String getHeaderField(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->null;null->null""/> @@ -393,6 +594,9 @@ <item name="java.net.URLConnection java.lang.String guessContentTypeFromStream(java.io.InputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URLConnection java.lang.String stripOffParameters(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URLConnection java.lang.String stripOffParameters(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> @@ -416,6 +620,18 @@ <item name="java.net.URLConnection void addRequestProperty(java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.net.URLConnection void setContentHandlerFactory(java.net.ContentHandlerFactory) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URLConnection void setDefaultRequestProperty(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URLConnection void setDefaultRequestProperty(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.net.URLConnection void setFileNameMap(java.net.FileNameMap) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.net.URLConnection void setRequestProperty(java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/security/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/security/annotations.xml index 756cbfcdd13e..597b80fe0d3f 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/security/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/security/annotations.xml @@ -1,4 +1,7 @@ <root> + <item name="java.security.Identity boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Identity boolean identityEquals(java.security.Identity) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -22,11 +25,17 @@ <item name="java.security.Identity void addCertificate(java.security.Certificate) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.security.Policy java.security.PermissionCollection getPermissions(java.security.ProtectionDomain) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Policy java.security.PermissionCollection getPermissions(java.security.ProtectionDomain)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> </annotation> </item> + <item name="java.security.Policy void addStaticPerms(java.security.PermissionCollection, java.security.PermissionCollection) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Policy void initPolicy(java.security.Policy) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -45,6 +54,9 @@ <item name="java.security.Provider void implPutAll(java.util.Map) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.security.Provider void implRemoveService(java.security.Provider.Service) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Provider void parseLegacyPut(java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -72,6 +84,15 @@ <item name="java.security.Security boolean isCriterionSatisfied(java.security.Provider, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.security.Security boolean isCriterionSatisfied(java.security.Provider, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.security.Security boolean isCriterionSatisfied(java.security.Provider, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.security.Security boolean isCriterionSatisfied(java.security.Provider, java.lang.String, java.lang.String, java.lang.String, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Security boolean isStandardAttr(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -81,9 +102,24 @@ <item name="java.security.Security int insertProviderAt(java.security.Provider, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.security.Security java.io.File securityPropFile(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Security java.io.File securityPropFile(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.security.Security java.lang.Object[] getImpl(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.security.Security java.lang.Object[] getImpl(java.lang.String, java.lang.String, java.lang.String, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.security.Security java.lang.String getAlgorithmProperty(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.security.Security java.lang.String getAlgorithmProperty(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Security java.lang.String getProviderProperty(java.lang.String, java.security.Provider) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -111,9 +147,21 @@ <item name="java.security.Security java.util.LinkedHashSet getAllQualifyingCandidates(java.lang.String, java.lang.String, java.security.Provider[]) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.security.Security java.util.LinkedHashSet getProvidersNotUsingCache(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.security.Provider[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.security.Security java.util.LinkedHashSet getProvidersNotUsingCache(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.security.Provider[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.security.Security java.util.LinkedHashSet getProvidersNotUsingCache(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.security.Provider[]) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Security java.util.LinkedHashSet getProvidersNotUsingCache(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.security.Provider[]) 4"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.security.Security java.util.Set getAlgorithms(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.security.Security void invalidateSMCache(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/sql/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/sql/annotations.xml index 2aaa71e67f39..1938616b2fff 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/sql/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/sql/annotations.xml @@ -1,10 +1,37 @@ <root> + <item name="java.sql.BatchUpdateException BatchUpdateException(int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.BatchUpdateException BatchUpdateException(int[], java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.BatchUpdateException BatchUpdateException(java.lang.String, int[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.BatchUpdateException BatchUpdateException(java.lang.String, int[], java.lang.Throwable) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.BatchUpdateException BatchUpdateException(java.lang.String, java.lang.String, int, int[]) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.BatchUpdateException BatchUpdateException(java.lang.String, java.lang.String, int, int[], java.lang.Throwable) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.BatchUpdateException BatchUpdateException(java.lang.String, java.lang.String, int[]) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.BatchUpdateException BatchUpdateException(java.lang.String, java.lang.String, int[], java.lang.Throwable) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.sql.Date java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.sql.Date java.sql.Date valueOf(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.sql.DriverInfo boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.sql.DriverInfo boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -13,11 +40,20 @@ <item name="java.sql.DriverInfo java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.sql.DriverManager boolean isDriverAllowed(java.sql.Driver, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.DriverManager boolean isDriverAllowed(java.sql.Driver, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.sql.DriverManager boolean isDriverAllowed(java.sql.Driver, java.lang.Class<?>)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->false""/> </annotation> </item> + <item name="java.sql.DriverManager boolean isDriverAllowed(java.sql.Driver, java.lang.ClassLoader) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.sql.DriverManager boolean isDriverAllowed(java.sql.Driver, java.lang.ClassLoader)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->false""/> @@ -29,15 +65,30 @@ <item name="java.sql.DriverManager java.sql.Connection getConnection(java.lang.String, java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.sql.DriverManager java.sql.Connection getConnection(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.DriverManager java.sql.Connection getConnection(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.sql.DriverManager java.sql.Connection getConnection(java.lang.String, java.util.Properties) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.sql.DriverManager java.sql.Connection getConnection(java.lang.String, java.util.Properties, java.lang.Class<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.sql.DriverManager void deregisterDriver(java.sql.Driver) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.sql.DriverManager void registerDriver(java.sql.Driver) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.sql.DriverManager void setLogStream(java.io.PrintStream) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.sql.DriverManager void setLogWriter(java.io.PrintWriter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.sql.SQLException java.util.Iterator<java.lang.Throwable> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -50,6 +101,9 @@ <item name="java.sql.Time java.sql.Time valueOf(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.sql.Timestamp boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.sql.Timestamp boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/annotations.xml index 363b81c827b4..5e73e2012e79 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/annotations.xml @@ -2,15 +2,27 @@ <item name="java.util.AbstractCollection T[] toArray(T[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.AbstractCollection boolean add(E) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.AbstractCollection boolean addAll(java.util.Collection<? extends E>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.AbstractCollection boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.AbstractCollection boolean containsAll(java.util.Collection<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.AbstractCollection boolean remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.AbstractCollection java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.AbstractList E set(int, E) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.AbstractList boolean add(E)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->true;null->true""/> @@ -19,6 +31,15 @@ <item name="java.util.AbstractList boolean addAll(int, java.util.Collection<? extends E>) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.AbstractList boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractList int indexOf(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractList int lastIndexOf(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.AbstractList java.lang.String outOfBoundsMsg(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -31,6 +52,33 @@ <item name="java.util.AbstractList java.util.ListIterator<E> listIterator(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.AbstractList void add(int, E) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractList.Itr Itr(java.util.AbstractList, java.util.AbstractList.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractMap V get(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractMap V put(K, V) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractMap V put(K, V) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractMap V remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractMap boolean containsKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractMap boolean containsValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractMap boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.AbstractMap java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -46,6 +94,12 @@ <item name="java.util.AbstractMap.SimpleEntry SimpleEntry(java.util.Map.Entry<K,V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.AbstractMap.SimpleEntry boolean eq(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.AbstractMap.SimpleEntry boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.AbstractMap.SimpleEntry boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -65,6 +119,9 @@ <item name="java.util.AbstractSequentialList boolean addAll(int, java.util.Collection<? extends E>) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.AbstractSet boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.AbstractSet boolean removeAll(java.util.Collection<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -85,6 +142,15 @@ <item name="java.util.ArrayList boolean addAll(java.util.Collection<? extends E>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.ArrayList boolean remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.ArrayList int indexOf(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.ArrayList int lastIndexOf(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.ArrayList java.lang.Object[] toArray()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -97,9 +163,72 @@ <item name="java.util.Arrays T[] cloneSubarray(T[], int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays boolean deepEquals(java.lang.Object[], java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean deepEquals(java.lang.Object[], java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(boolean[], boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(boolean[], boolean[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(byte[], byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(byte[], byte[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(char[], char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(char[], char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(double[], double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(double[], double[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(float[], float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(float[], float[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(int[], int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(int[], int[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(java.lang.Object[], java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(java.lang.Object[], java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(long[], long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(long[], long[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(short[], short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays boolean equals(short[], short[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays int binarySearch(T[], T, java.util.Comparator<? super T>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays int binarySearch(T[], T, java.util.Comparator<? super T>) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays int binarySearch(byte[], byte) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -124,6 +253,36 @@ <item name="java.util.Arrays int binarySearch(short[], short) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays int deepHashCode(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Arrays int hashCode(short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays int med3(byte[], int, int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -145,33 +304,63 @@ <item name="java.util.Arrays int med3(short[], int, int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String deepToString(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String deepToString(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(boolean[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(byte[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(char[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(double[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(float[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(int[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(long[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays java.lang.String toString(short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays java.lang.String toString(short[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -181,6 +370,9 @@ <item name="java.util.Arrays java.util.List<T> asList(T...)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays void deepToString(java.lang.Object[], java.lang.StringBuilder, java.util.Set<java.lang.Object[]>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays void deepToString(java.lang.Object[], java.lang.StringBuilder, java.util.Set<java.lang.Object[]>) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -241,9 +433,15 @@ <item name="java.util.Arrays void sort(T[], int, int, java.util.Comparator<? super T>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays void sort(T[], int, int, java.util.Comparator<? super T>) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays void sort(T[], java.util.Comparator<? super T>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays void sort(T[], java.util.Comparator<? super T>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Arrays void sort(byte[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -319,16 +517,28 @@ <item name="java.util.Arrays.ArrayList ArrayList(E[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Arrays.ArrayList int indexOf(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Calendar boolean after(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Calendar boolean after(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.util.Calendar boolean before(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Calendar boolean before(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.util.Calendar boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Calendar java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -377,12 +587,18 @@ <item name="java.util.Collections T max(java.util.Collection<? extends T>, java.util.Comparator<? super T>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections T max(java.util.Collection<? extends T>, java.util.Comparator<? super T>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections T min(java.util.Collection<? extends T>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.util.Collections T min(java.util.Collection<? extends T>, java.util.Comparator<? super T>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections T min(java.util.Collection<? extends T>, java.util.Comparator<? super T>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections boolean addAll(java.util.Collection<? super T>, T...) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -392,18 +608,30 @@ <item name="java.util.Collections boolean disjoint(java.util.Collection<?>, java.util.Collection<?>) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections boolean eq(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections boolean replaceAll(java.util.List<T>, T, T) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections boolean replaceAll(java.util.List<T>, T, T) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections int binarySearch(java.util.List<? extends T>, T, java.util.Comparator<? super T>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections int binarySearch(java.util.List<? extends T>, T, java.util.Comparator<? super T>) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections int binarySearch(java.util.List<? extends java.lang.Comparable<? super T>>, T) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.util.Collections int frequency(java.util.Collection<?>, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections int frequency(java.util.Collection<?>, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections int indexOfSubList(java.util.List<?>, java.util.List<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -455,6 +683,9 @@ <item name="java.util.Collections java.util.Collection<T> unmodifiableCollection(java.util.Collection<? extends T>)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections java.util.Comparator<T> reverseOrder(java.util.Comparator<T>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections java.util.Enumeration<T> enumeration(java.util.Collection<T>)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -632,6 +863,9 @@ <item name="java.util.Collections void sort(java.util.List<T>, java.util.Comparator<? super T>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections void sort(java.util.List<T>, java.util.Comparator<? super T>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections void swap(java.lang.Object[], int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -664,6 +898,9 @@ <item name="java.util.Collections.CheckedCollection java.util.Iterator<E> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.CheckedCollection void typeCheck(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.CheckedList CheckedList(java.util.List<E>, java.lang.Class<E>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -700,9 +937,21 @@ <item name="java.util.Collections.CheckedMap void putAll(java.util.Map<? extends K,? extends V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.CheckedMap void typeCheck(java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.CheckedMap.CheckedEntrySet T[] toArray(T[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean add(java.util.Map.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean addAll(java.util.Collection<? extends java.util.Map.Entry<K,V>>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean contains(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -711,6 +960,12 @@ <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean containsAll(java.util.Collection<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean remove(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -725,6 +980,9 @@ <item name="java.util.Collections.CheckedMap.CheckedEntrySet.1 java.util.Map.Entry<K,V> next()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet.CheckedEntry boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.CheckedMap.CheckedEntrySet.CheckedEntry java.lang.String badValueMsg(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -782,12 +1040,21 @@ <item name="java.util.Collections.CopiesList T[] toArray(T[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.CopiesList boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.CopiesList java.lang.Object[] toArray()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.util.Collections.CopiesList java.util.List<E> subList(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.EmptyIterator EmptyIterator(java.util.Collections.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.EmptyList EmptyList(java.util.Collections.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptyList T[] toArray(T[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -796,6 +1063,9 @@ <val val=""!null->!null""/> </annotation> </item> + <item name="java.util.Collections.EmptyList boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptyList boolean contains(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> @@ -804,6 +1074,9 @@ <item name="java.util.Collections.EmptyList boolean containsAll(java.util.Collection<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.EmptyList boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptyList boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -812,26 +1085,50 @@ <item name="java.util.Collections.EmptyList java.lang.Object[] toArray()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.EmptyListIterator void add(E) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.EmptyListIterator void set(E) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.EmptyMap EmptyMap(java.util.Collections.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.EmptyMap V get(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptyMap V get(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->null;null->null""/> </annotation> </item> + <item name="java.util.Collections.EmptyMap boolean containsKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptyMap boolean containsKey(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> </annotation> </item> + <item name="java.util.Collections.EmptyMap boolean containsValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptyMap boolean containsValue(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> </annotation> </item> + <item name="java.util.Collections.EmptyMap boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptyMap boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.util.Collections.EmptySet EmptySet(java.util.Collections.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptySet T[] toArray(T[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -840,6 +1137,9 @@ <val val=""!null->!null""/> </annotation> </item> + <item name="java.util.Collections.EmptySet boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.EmptySet boolean contains(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> @@ -854,15 +1154,33 @@ <item name="java.util.Collections.ReverseComparator int compare(java.lang.Comparable<java.lang.Object>, java.lang.Comparable<java.lang.Object>) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.ReverseComparator2 boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.SetFromMap SetFromMap(java.util.Map<E,java.lang.Boolean>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.util.Collections.SetFromMap void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.SingletonList boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.SingletonList java.util.Iterator<E> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.SingletonMap V get(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.SingletonMap boolean containsKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.SingletonMap boolean containsValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.SingletonSet boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.SingletonSet java.util.Iterator<E> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -926,12 +1244,33 @@ <item name="java.util.Collections.UnmodifiableCollection UnmodifiableCollection(java.util.Collection<? extends E>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.UnmodifiableCollection boolean add(E) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableCollection boolean addAll(java.util.Collection<? extends E>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableCollection boolean remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableCollection boolean removeAll(java.util.Collection<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableCollection boolean retainAll(java.util.Collection<?>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.UnmodifiableCollection java.util.Iterator<E> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.UnmodifiableList E set(int, E) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.UnmodifiableList UnmodifiableList(java.util.List<? extends E>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.UnmodifiableList boolean addAll(int, java.util.Collection<? extends E>) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.UnmodifiableList java.lang.Object readResolve()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -941,15 +1280,39 @@ <item name="java.util.Collections.UnmodifiableList java.util.ListIterator<E> listIterator(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.UnmodifiableList void add(int, E) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableList.1 void add(E) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableList.1 void set(E) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.UnmodifiableMap UnmodifiableMap(java.util.Map<? extends K,? extends V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.UnmodifiableMap V put(K, V) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableMap V put(K, V) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableMap V remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableMap void putAll(java.util.Map<? extends K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet T[] toArray(T[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet UnmodifiableEntrySet(java.util.Set<? extends java.util.Map.Entry<? extends K,? extends V>>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet boolean contains(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -958,12 +1321,21 @@ <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet boolean containsAll(java.util.Collection<?>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet java.util.Iterator<java.util.Map.Entry<K,V>> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet.1 java.util.Map.Entry<K,V> next()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry V setValue(V) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Collections.UnmodifiableRandomAccessList UnmodifiableRandomAccessList(java.util.List<? extends E>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1009,6 +1381,9 @@ <item name="java.util.Date boolean before(java.util.Date) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Date boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Date boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -1026,6 +1401,9 @@ <item name="java.util.Date void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.GregorianCalendar boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.GregorianCalendar boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -1052,6 +1430,9 @@ <item name="java.util.HashMap HashMap(java.util.Map<? extends K,? extends V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.HashMap T maskNull(T) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.HashMap T maskNull(T)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> @@ -1062,6 +1443,18 @@ <val val=""null->null""/> </annotation> </item> + <item name="java.util.HashMap V get(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.HashMap V put(K, V) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.HashMap boolean containsKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.HashMap boolean containsValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.HashMap boolean eq(java.lang.Object, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->true""/> @@ -1070,6 +1463,15 @@ <item name="java.util.HashMap int hash(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.HashMap java.util.HashMap.Entry<K,V> getEntry(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.HashMap java.util.HashMap.Entry<K,V> removeEntryForKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.HashMap java.util.HashMap.Entry<K,V> removeMapping(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.HashMap java.util.HashMap.Entry<K,V> removeMapping(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -1090,6 +1492,9 @@ <item name="java.util.HashMap void putAllForCreate(java.util.Map<? extends K,? extends V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.HashMap void putForCreate(K, V) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.HashMap void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1120,6 +1525,9 @@ <item name="java.util.Hashtable boolean containsKey(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Hashtable boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Hashtable int access$200(java.util.Hashtable) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1162,6 +1570,9 @@ <item name="java.util.Hashtable.Entry V setValue(V) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Hashtable.Entry boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Hashtable.Entry boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -1173,25 +1584,82 @@ <item name="java.util.Hashtable.Entry java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Hashtable.EntrySet EntrySet(java.util.Hashtable, java.util.Hashtable.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Hashtable.EntrySet boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Hashtable.EntrySet boolean contains(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.util.Hashtable.EntrySet boolean remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Hashtable.EntrySet boolean remove(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.util.Hashtable.KeySet KeySet(java.util.Hashtable, java.util.Hashtable.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Hashtable.ValueCollection ValueCollection(java.util.Hashtable, java.util.Hashtable.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap IdentityHashMap(java.util.Map<? extends K,? extends V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap V get(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap V put(K, V) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap V remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap boolean access$1500(java.util.IdentityHashMap, java.lang.Object, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap boolean access$1500(java.util.IdentityHashMap, java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean access$1500(java.util.IdentityHashMap, java.lang.Object, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap boolean access$1600(java.util.IdentityHashMap, java.lang.Object, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap boolean access$1600(java.util.IdentityHashMap, java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean access$1600(java.util.IdentityHashMap, java.lang.Object, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean containsKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean containsMapping(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean containsMapping(java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean containsValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean removeMapping(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap boolean removeMapping(java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap int access$000(java.util.IdentityHashMap) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1209,6 +1677,9 @@ <val val=""null->null""/> </annotation> </item> + <item name="java.util.IdentityHashMap java.lang.Object maskNull(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap java.lang.Object maskNull(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> @@ -1225,12 +1696,24 @@ <item name="java.util.IdentityHashMap void putAll(java.util.Map<? extends K,? extends V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap void putForCreate(K, V) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.util.IdentityHashMap void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap.EntryIterator EntryIterator(java.util.IdentityHashMap, java.util.IdentityHashMap.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap.EntryIterator.Entry Entry(java.util.IdentityHashMap.EntryIterator, int, java.util.IdentityHashMap.1) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap.EntryIterator.Entry boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap.EntryIterator.Entry int access$800(java.util.IdentityHashMap.EntryIterator.Entry) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1240,14 +1723,23 @@ <item name="java.util.IdentityHashMap.EntryIterator.Entry java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap.EntrySet EntrySet(java.util.IdentityHashMap, java.util.IdentityHashMap.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap.EntrySet T[] toArray(T[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap.EntrySet boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap.EntrySet boolean contains(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="java.util.IdentityHashMap.EntrySet boolean remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap.EntrySet boolean remove(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -1256,9 +1748,27 @@ <item name="java.util.IdentityHashMap.EntrySet java.util.Iterator<java.util.Map.Entry<K,V>> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap.IdentityHashMapIterator IdentityHashMapIterator(java.util.IdentityHashMap, java.util.IdentityHashMap.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap.KeyIterator KeyIterator(java.util.IdentityHashMap, java.util.IdentityHashMap.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap.KeySet KeySet(java.util.IdentityHashMap, java.util.IdentityHashMap.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap.KeySet java.util.Iterator<K> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.IdentityHashMap.ValueIterator ValueIterator(java.util.IdentityHashMap, java.util.IdentityHashMap.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap.Values Values(java.util.IdentityHashMap, java.util.IdentityHashMap.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.IdentityHashMap.Values boolean remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.IdentityHashMap.Values java.util.Iterator<V> iterator()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1280,12 +1790,21 @@ <item name="java.util.Locale Locale(java.lang.String, java.lang.String, java.lang.String) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Locale boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Locale java.lang.String convertOldISOCodes(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="java.util.Locale java.lang.String formatList(java.lang.String[], java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Locale java.lang.String formatList(java.lang.String[], java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.Locale java.lang.String formatList(java.lang.String[], java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Locale java.lang.String formatList(java.lang.String[], java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,null->!null;_,null,_->!null""/> @@ -1335,6 +1854,9 @@ <item name="java.util.Locale java.lang.String[] composeList(java.text.MessageFormat, java.lang.String[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.Locale java.lang.String[] getDisplayVariantArray(sun.util.resources.OpenListResourceBundle, java.util.Locale) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.Locale java.lang.String[] getISO2Table(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1422,11 +1944,23 @@ <item name="java.util.TreeMap TreeMap(java.util.SortedMap<K,? extends V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.TreeMap boolean access$500(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.TreeMap boolean colorOf(java.util.TreeMap.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap boolean colorOf(java.util.TreeMap.Entry<K,V>)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="java.util.TreeMap boolean containsValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.TreeMap boolean valEquals(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap boolean valueSearchNonNull(java.util.TreeMap.Entry, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1475,6 +2009,9 @@ <item name="java.util.TreeMap java.util.TreeMap.Entry access$400(java.util.TreeMap, java.util.TreeMap.Entry) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry access$400(java.util.TreeMap, java.util.TreeMap.Entry) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap java.util.TreeMap.Entry access$400(java.util.TreeMap, java.util.TreeMap.Entry)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->null""/> @@ -1483,21 +2020,33 @@ <item name="java.util.TreeMap java.util.TreeMap.Entry access$800(java.util.TreeMap, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry<K,V> leftOf(java.util.TreeMap.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap java.util.TreeMap.Entry<K,V> leftOf(java.util.TreeMap.Entry<K,V>)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry<K,V> parentOf(java.util.TreeMap.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap java.util.TreeMap.Entry<K,V> parentOf(java.util.TreeMap.Entry<K,V>)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry<K,V> rightOf(java.util.TreeMap.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap java.util.TreeMap.Entry<K,V> rightOf(java.util.TreeMap.Entry<K,V>)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry<K,V> successor(java.util.TreeMap.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap java.util.TreeMap.Entry<K,V> successor(java.util.TreeMap.Entry<K,V>)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -1512,6 +2061,9 @@ <item name="java.util.TreeMap void deleteEntry(java.util.TreeMap.Entry<K,V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.TreeMap void fixAfterDeletion(java.util.TreeMap.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap void fixAfterInsertion(java.util.TreeMap.Entry<K,V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1527,6 +2079,9 @@ <item name="java.util.TreeMap void rotateRight(java.util.TreeMap.Entry<K,V>) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.TreeMap void setColor(java.util.TreeMap.Entry<K,V>, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.TreeMap void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/atomic/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/atomic/annotations.xml index def395c4cf42..30e85d4f3ee8 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/atomic/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/atomic/annotations.xml @@ -59,6 +59,12 @@ <item name="java.util.concurrent.atomic.AtomicMarkableReference V get(boolean[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.concurrent.atomic.AtomicMarkableReference boolean compareAndSet(V, V, boolean, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.concurrent.atomic.AtomicMarkableReference boolean weakCompareAndSet(V, V, boolean, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.concurrent.atomic.AtomicMarkableReference.ReferenceBooleanPair boolean access$100(java.util.concurrent.atomic.AtomicMarkableReference.ReferenceBooleanPair) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -86,9 +92,18 @@ <item name="java.util.concurrent.atomic.AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl AtomicReferenceFieldUpdaterImpl(java.lang.Class<T>, java.lang.Class<V>, java.lang.String) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.concurrent.atomic.AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl void updateCheck(T, V) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.concurrent.atomic.AtomicStampedReference V get(int[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.concurrent.atomic.AtomicStampedReference boolean compareAndSet(V, V, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="java.util.concurrent.atomic.AtomicStampedReference boolean weakCompareAndSet(V, V, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.concurrent.atomic.AtomicStampedReference.ReferenceIntegerPair int access$100(java.util.concurrent.atomic.AtomicStampedReference.ReferenceIntegerPair) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/locks/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/locks/annotations.xml index a5aef3c11bb8..08c07b4d957f 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/locks/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/locks/annotations.xml @@ -2,6 +2,9 @@ <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer boolean acquireQueued(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer boolean findNodeFromTail(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer boolean hasWaiters(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -35,6 +38,9 @@ <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer java.util.concurrent.locks.AbstractQueuedSynchronizer.Node enq(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer void cancelAcquire(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer void setHead(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -50,6 +56,9 @@ <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject boolean awaitUntil(java.util.Date) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject boolean isOwnedBy(java.util.concurrent.locks.AbstractQueuedSynchronizer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject java.util.concurrent.locks.AbstractQueuedSynchronizer.Node addConditionWaiter()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -59,6 +68,9 @@ <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject void doSignalAll(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="java.util.concurrent.locks.LockSupport void unpark(java.lang.Thread) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="java.util.concurrent.locks.ReentrantLock boolean hasWaiters(java.util.concurrent.locks.Condition) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/javax/swing/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/javax/swing/annotations.xml index c0738eb8897d..910842a47153 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/javax/swing/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/javax/swing/annotations.xml @@ -1,4 +1,10 @@ <root> + <item name="javax.swing.AbstractButton boolean isListener(java.lang.Class, java.awt.event.ActionListener) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.AbstractButton boolean isListener(java.lang.Class, java.awt.event.ActionListener) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.AbstractButton java.beans.PropertyChangeListener createActionPropertyChangeListener(javax.swing.Action)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -11,6 +17,24 @@ <item name="javax.swing.AbstractButton void access$100(javax.swing.AbstractButton) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.AbstractButton void configurePropertiesFromAction(javax.swing.Action, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.AbstractButton void configurePropertiesFromAction(javax.swing.Action, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.AbstractButton void init(java.lang.String, javax.swing.Icon) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.AbstractButton void init(java.lang.String, javax.swing.Icon) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.AbstractButton void setUIProperty(java.lang.String, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.AbstractButton void updateDisplayedMnemonicIndex(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JButton java.lang.String getUIClassID()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -39,6 +63,9 @@ <item name="javax.swing.JComponent byte getWriteObjCounter(javax.swing.JComponent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JComponent java.awt.Dimension getSize(java.awt.Dimension) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent java.awt.Dimension getSize(java.awt.Dimension)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->!null""/> @@ -49,21 +76,36 @@ <val val=""!null->!null;null->!null""/> </annotation> </item> + <item name="javax.swing.JComponent java.awt.Insets getInsets(java.awt.Insets) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JComponent java.awt.Point getLocation(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent java.awt.Point getLocation(java.awt.Point)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->!null""/> </annotation> </item> + <item name="javax.swing.JComponent java.awt.Point getPopupLocation(java.awt.event.MouseEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent java.awt.Point getPopupLocation(java.awt.event.MouseEvent)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->null;null->null""/> </annotation> </item> + <item name="javax.swing.JComponent java.awt.Point getToolTipLocation(java.awt.event.MouseEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent java.awt.Point getToolTipLocation(java.awt.event.MouseEvent)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->null;null->null""/> </annotation> </item> + <item name="javax.swing.JComponent java.awt.Rectangle getBounds(java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent java.awt.Rectangle getBounds(java.awt.Rectangle)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->!null""/> @@ -72,6 +114,9 @@ <item name="javax.swing.JComponent java.awt.Rectangle getVisibleRect()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JComponent java.lang.String getToolTipText(java.awt.event.MouseEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent java.lang.String getUIClassID()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -81,6 +126,9 @@ <item name="javax.swing.JComponent javax.swing.JToolTip createToolTip()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JComponent void componentInputMapChanged(javax.swing.ComponentInputMap) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent void computeVisibleRect(java.awt.Component, java.awt.Rectangle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -99,21 +147,33 @@ <item name="javax.swing.JComponent void paintWithOffscreenBuffer(javax.swing.JComponent, java.awt.Graphics, int, int, int, int, java.awt.Image) 6"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JComponent void processComponentKeyEvent(java.awt.event.KeyEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent void processKeyEvent(java.awt.event.KeyEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="javax.swing.JComponent void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JComponent void registerNextFocusableComponent(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent void repaint(java.awt.Rectangle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JComponent void setUIProperty(java.lang.String, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent void setWriteObjCounter(javax.swing.JComponent, byte) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="javax.swing.JComponent void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JComponent.AccessibleJComponent java.lang.String getBorderTitle(javax.swing.border.Border) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JComponent.AccessibleJComponent java.lang.String getBorderTitle(javax.swing.border.Border)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -125,6 +185,21 @@ <item name="javax.swing.JComponent.AccessibleJComponent javax.swing.JComponent access$100(javax.swing.JComponent.AccessibleJComponent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JDialog JDialog(java.awt.Frame) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JDialog JDialog(java.awt.Frame, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JDialog JDialog(java.awt.Frame, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JDialog JDialog(java.awt.Frame, java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JDialog JDialog(java.awt.Frame, java.lang.String, boolean, java.awt.GraphicsConfiguration) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JDialog java.lang.String paramString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -161,6 +236,12 @@ <item name="javax.swing.JPanel void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JScrollPane JScrollPane(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JScrollPane JScrollPane(java.awt.Component, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JScrollPane java.awt.Component getCorner(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -188,6 +269,24 @@ <item name="javax.swing.JScrollPane void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable JTable(javax.swing.table.TableModel) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable JTable(javax.swing.table.TableModel, javax.swing.table.TableColumnModel) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable JTable(javax.swing.table.TableModel, javax.swing.table.TableColumnModel) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable JTable(javax.swing.table.TableModel, javax.swing.table.TableColumnModel, javax.swing.ListSelectionModel) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable JTable(javax.swing.table.TableModel, javax.swing.table.TableColumnModel, javax.swing.ListSelectionModel) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable JTable(javax.swing.table.TableModel, javax.swing.table.TableColumnModel, javax.swing.ListSelectionModel) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable boolean print(int, java.text.MessageFormat, java.text.MessageFormat, boolean, javax.print.attribute.PrintRequestAttributeSet)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,_,false,_->true""/> @@ -199,9 +298,15 @@ <item name="javax.swing.JTable int getScrollableBlockIncrement(java.awt.Rectangle, int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable int getScrollableUnitIncrement(java.awt.Rectangle, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable int rowAtPoint(java.awt.Point) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable int viewIndexForColumn(javax.swing.table.TableColumn) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable int[] getSelectedRows()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -226,6 +331,9 @@ <item name="javax.swing.JTable java.lang.String paramString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable javax.swing.JScrollPane createScrollPaneForTable(javax.swing.JTable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable javax.swing.JScrollPane createScrollPaneForTable(javax.swing.JTable)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -235,11 +343,17 @@ <item name="javax.swing.JTable javax.swing.table.JTableHeader createDefaultTableHeader()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable javax.swing.table.TableCellEditor getDefaultEditor(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable javax.swing.table.TableCellEditor getDefaultEditor(java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="javax.swing.JTable javax.swing.table.TableCellRenderer getDefaultRenderer(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable javax.swing.table.TableCellRenderer getDefaultRenderer(java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -263,15 +377,39 @@ <item name="javax.swing.JTable void changeSelectionModel(javax.swing.ListSelectionModel, int, boolean, boolean, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable void columnAdded(javax.swing.event.TableColumnModelEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable void columnMarginChanged(javax.swing.event.ChangeEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable void columnMoved(javax.swing.event.TableColumnModelEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable void columnRemoved(javax.swing.event.TableColumnModelEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable void columnSelectionChanged(javax.swing.event.ListSelectionEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable void editingCanceled(javax.swing.event.ChangeEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable void editingStopped(javax.swing.event.ChangeEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable void readObject(java.io.ObjectInputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="javax.swing.JTable void setColumnModel(javax.swing.table.TableColumnModel) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable void setDefaultEditor(java.lang.Class, javax.swing.table.TableCellEditor) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable void setDefaultRenderer(java.lang.Class, javax.swing.table.TableCellRenderer) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable void setGridColor(java.awt.Color) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -293,18 +431,36 @@ <item name="javax.swing.JTable void setSelectionModel(javax.swing.ListSelectionModel) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable void setUIProperty(java.lang.String, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.JTable void tableChanged(javax.swing.event.TableModelEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable void tableRowsDeleted(javax.swing.event.TableModelEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="javax.swing.JTable void tableRowsInserted(javax.swing.event.TableModelEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.JTable void updateSubComponentUI(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.JTable void valueChanged(javax.swing.event.ListSelectionEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="javax.swing.JTable void writeObject(java.io.ObjectOutputStream) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities boolean doesIconReferenceImage(javax.swing.Icon, java.awt.Image) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.SwingUtilities boolean doesIconReferenceImage(javax.swing.Icon, java.awt.Image) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.SwingUtilities boolean isDescendingFrom(java.awt.Component, java.awt.Component) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities boolean isDescendingFrom(java.awt.Component, java.awt.Component)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->true""/> @@ -331,11 +487,20 @@ <item name="javax.swing.SwingUtilities boolean isValidKeyEventForKeyBindings(java.awt.event.KeyEvent) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities boolean notifyAction(javax.swing.Action, javax.swing.KeyStroke, java.awt.event.KeyEvent, java.lang.Object, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.SwingUtilities boolean notifyAction(javax.swing.Action, javax.swing.KeyStroke, java.awt.event.KeyEvent, java.lang.Object, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities boolean notifyAction(javax.swing.Action, javax.swing.KeyStroke, java.awt.event.KeyEvent, java.lang.Object, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,null,_,_->false;null,_,_,_,_->false""/> </annotation> </item> + <item name="javax.swing.SwingUtilities boolean processKeyBindings(java.awt.event.KeyEvent) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities boolean processKeyBindings(java.awt.event.KeyEvent)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -344,20 +509,41 @@ <item name="javax.swing.SwingUtilities int computeStringWidth(java.awt.FontMetrics, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities int findDisplayedMnemonicIndex(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities int getAccessibleChildrenCount(java.awt.Component) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="javax.swing.SwingUtilities int getAccessibleIndexInParent(java.awt.Component) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities java.awt.Component findFocusOwner(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.awt.Component getDeepestComponentAt(java.awt.Component, int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities java.awt.Component getRoot(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Container getAncestorNamed(java.lang.String, java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Container getAncestorNamed(java.lang.String, java.awt.Component) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.awt.Container getAncestorNamed(java.lang.String, java.awt.Component)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->null;null,_->null""/> </annotation> </item> + <item name="javax.swing.SwingUtilities java.awt.Container getAncestorOfClass(java.lang.Class, java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Container getAncestorOfClass(java.lang.Class, java.awt.Component) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.awt.Container getAncestorOfClass(java.lang.Class, java.awt.Component)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->null;null,_->null""/> @@ -379,6 +565,12 @@ <item name="javax.swing.SwingUtilities java.awt.Point convertScreenLocationToParent(java.awt.Container, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle calculateInnerArea(javax.swing.JComponent, java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle calculateInnerArea(javax.swing.JComponent, java.awt.Rectangle) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.awt.Rectangle calculateInnerArea(javax.swing.JComponent, java.awt.Rectangle)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> @@ -412,6 +604,9 @@ <item name="javax.swing.SwingUtilities java.awt.Rectangle getLocalBounds(java.awt.Component)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle[] computeDifference(java.awt.Rectangle, java.awt.Rectangle) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.awt.Rectangle[] computeDifference(java.awt.Rectangle, java.awt.Rectangle)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -427,6 +622,9 @@ <item name="javax.swing.SwingUtilities java.awt.event.MouseEvent convertMouseEvent(java.awt.Component, java.awt.event.MouseEvent, java.awt.Component)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabel(java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabel(java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 7"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -441,9 +639,15 @@ <val val=""_,!null,_,_,_,_,_,_,_,_,_->!null""/> </annotation> </item> + <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabel(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabel(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 10"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabel(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabel(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 8"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -455,9 +659,15 @@ <val val=""_,_,!null,_,_,_,_,_,_,_,_,_->!null""/> </annotation> </item> + <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabelImpl(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabelImpl(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 10"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabelImpl(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities java.lang.String layoutCompoundLabelImpl(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int) 8"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -469,6 +679,9 @@ <val val=""_,_,!null,_,_,_,_,_,_,_,_,_->!null""/> </annotation> </item> + <item name="javax.swing.SwingUtilities javax.accessibility.Accessible getAccessibleAt(java.awt.Component, java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities javax.accessibility.Accessible getAccessibleAt(java.awt.Component, java.awt.Point)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> @@ -489,6 +702,9 @@ <item name="javax.swing.SwingUtilities javax.swing.InputMap getUIInputMap(javax.swing.JComponent, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities javax.swing.JRootPane getRootPane(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="javax.swing.SwingUtilities javax.swing.JRootPane getRootPane(java.awt.Component)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -524,4 +740,7 @@ <item name="javax.swing.SwingUtilities void updateComponentTreeUI(java.awt.Component) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="javax.swing.SwingUtilities void updateComponentTreeUI0(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> </root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/annotations.xml index 08e265e17fcf..89a90c53dae2 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/annotations.xml @@ -5,6 +5,9 @@ <item name="org.apache.commons.collections.ExtendedProperties ExtendedProperties(java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.ExtendedProperties ExtendedProperties(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.ExtendedProperties boolean access$000(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -17,6 +20,9 @@ <item name="org.apache.commons.collections.ExtendedProperties java.lang.String escape(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.ExtendedProperties java.lang.String interpolateHelper(java.lang.String, java.util.List) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.ExtendedProperties java.lang.String interpolateHelper(java.lang.String, java.util.List)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> @@ -37,4 +43,16 @@ <item name="org.apache.commons.collections.ExtendedProperties void combine(org.apache.commons.collections.ExtendedProperties) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.ExtendedProperties void save(java.io.OutputStream, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties void save(java.io.OutputStream, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties void setInclude(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties.PropertiesTokenizer java.lang.String nextToken()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> </root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/iterators/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/iterators/annotations.xml new file mode 100644 index 000000000000..d4cfb7e5dfde --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/iterators/annotations.xml @@ -0,0 +1,11 @@ +<root> + <item name="org.apache.commons.collections.iterators.AbstractEmptyIterator java.lang.Object setValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.collections.iterators.AbstractEmptyIterator void add(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.collections.iterators.AbstractEmptyIterator void set(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/map/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/map/annotations.xml index 26b98c6bdf92..bd99ae8b862d 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/map/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/map/annotations.xml @@ -2,6 +2,12 @@ <item name="org.apache.commons.collections.map.AbstractHashedMap AbstractHashedMap(java.util.Map) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap boolean containsValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.map.AbstractHashedMap boolean isEqualKey(java.lang.Object, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->true""/> @@ -18,6 +24,9 @@ <item name="org.apache.commons.collections.map.AbstractHashedMap int hash(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap java.lang.Object convertKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.map.AbstractHashedMap java.lang.Object convertKey(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> @@ -53,17 +62,26 @@ <item name="org.apache.commons.collections.map.AbstractHashedMap void removeEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, int, org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap void removeEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, int, org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.map.AbstractHashedMap void reuseEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, int, int, java.lang.Object, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.collections.map.AbstractHashedMap void updateEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap.EntrySet boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.map.AbstractHashedMap.EntrySet boolean contains(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap.EntrySet boolean remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.map.AbstractHashedMap.EntrySet boolean remove(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -72,6 +90,9 @@ <item name="org.apache.commons.collections.map.AbstractHashedMap.EntrySetIterator EntrySetIterator(org.apache.commons.collections.map.AbstractHashedMap) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap.HashEntry boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.map.AbstractHashedMap.HashEntry java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -93,6 +114,9 @@ <item name="org.apache.commons.collections.map.AbstractLinkedMap AbstractLinkedMap(java.util.Map) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.map.AbstractLinkedMap boolean containsValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </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.NotNull"/> </item> @@ -108,6 +132,9 @@ <item name="org.apache.commons.collections.map.AbstractLinkedMap void removeEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, int, org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.map.AbstractLinkedMap void removeEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, int, org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.map.AbstractLinkedMap.EntrySetIterator EntrySetIterator(org.apache.commons.collections.map.AbstractLinkedMap) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -132,6 +159,9 @@ <item name="org.apache.commons.collections.map.LRUMap LRUMap(java.util.Map, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.collections.map.LRUMap boolean removeLRU(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.collections.map.LRUMap boolean removeLRU(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->true;null->true""/> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/annotations.xml index e36a5e269c9a..7115dfb72473 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/annotations.xml @@ -1,55 +1,169 @@ <root> + <item name="org.apache.commons.lang.ArrayUtils boolean contains(byte[], byte) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean contains(char[], char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean contains(int[], int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean contains(java.lang.Object[], java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean contains(java.lang.Object[], java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean contains(long[], long) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean contains(short[], short) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(boolean[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(byte[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(double[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(float[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(int[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(long[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isEmpty(short[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(boolean[], boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(boolean[], boolean[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(byte[], byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(byte[], byte[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(char[], char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(char[], char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(double[], double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(double[], double[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(float[], float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(float[], float[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(int[], int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(int[], int[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(java.lang.Object[], java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(java.lang.Object[], java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(long[], long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(long[], long[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(short[], short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean isSameLength(short[], short[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean isSameType(java.lang.Object, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.ArrayUtils boolean isSameType(java.lang.Object, java.lang.Object) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean[] add(boolean[], boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean[] addAll(boolean[], boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean[] addAll(boolean[], boolean[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils boolean[] clone(boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean[] clone(boolean[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -58,21 +172,42 @@ <item name="org.apache.commons.lang.ArrayUtils boolean[] remove(boolean[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean[] subarray(boolean[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean[] subarray(boolean[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean[] toPrimitive(java.lang.Boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean[] toPrimitive(java.lang.Boolean[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils boolean[] toPrimitive(java.lang.Boolean[], boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils boolean[] toPrimitive(java.lang.Boolean[], boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils byte[] add(byte[], byte) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils byte[] addAll(byte[], byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils byte[] addAll(byte[], byte[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils byte[] clone(byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils byte[] clone(byte[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -81,21 +216,42 @@ <item name="org.apache.commons.lang.ArrayUtils byte[] remove(byte[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils byte[] subarray(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils byte[] subarray(byte[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils byte[] toPrimitive(java.lang.Byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils byte[] toPrimitive(java.lang.Byte[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils byte[] toPrimitive(java.lang.Byte[], byte) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils byte[] toPrimitive(java.lang.Byte[], byte)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils char[] add(char[], char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils char[] addAll(char[], char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils char[] addAll(char[], char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils char[] clone(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils char[] clone(char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -104,21 +260,42 @@ <item name="org.apache.commons.lang.ArrayUtils char[] remove(char[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils char[] subarray(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils char[] subarray(char[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils char[] toPrimitive(java.lang.Character[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils char[] toPrimitive(java.lang.Character[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils char[] toPrimitive(java.lang.Character[], char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils char[] toPrimitive(java.lang.Character[], char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils double[] add(double[], double) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils double[] addAll(double[], double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils double[] addAll(double[], double[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils double[] clone(double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils double[] clone(double[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -127,21 +304,42 @@ <item name="org.apache.commons.lang.ArrayUtils double[] remove(double[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils double[] subarray(double[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils double[] subarray(double[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils double[] toPrimitive(java.lang.Double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils double[] toPrimitive(java.lang.Double[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils double[] toPrimitive(java.lang.Double[], double) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils double[] toPrimitive(java.lang.Double[], double)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils float[] add(float[], float) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils float[] addAll(float[], float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils float[] addAll(float[], float[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils float[] clone(float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils float[] clone(float[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -150,21 +348,129 @@ <item name="org.apache.commons.lang.ArrayUtils float[] remove(float[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils float[] subarray(float[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils float[] subarray(float[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils float[] toPrimitive(java.lang.Float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils float[] toPrimitive(java.lang.Float[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils float[] toPrimitive(java.lang.Float[], float) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils float[] toPrimitive(java.lang.Float[], float)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils int getLength(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(byte[], byte) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(byte[], byte, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(char[], char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(char[], char, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(int[], int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(int[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(java.lang.Object[], java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(java.lang.Object[], java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(java.lang.Object[], java.lang.Object, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(java.lang.Object[], java.lang.Object, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(long[], long) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(long[], long, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(short[], short) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int indexOf(short[], short, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(byte[], byte) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(byte[], byte, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(char[], char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(char[], char, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(int[], int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(int[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(java.lang.Object[], java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(java.lang.Object[], java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(java.lang.Object[], java.lang.Object, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(java.lang.Object[], java.lang.Object, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(long[], long) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(long[], long, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(short[], short) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int lastIndexOf(short[], short, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int[] add(int[], int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int[] addAll(int[], int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int[] addAll(int[], int[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils int[] clone(int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils int[] clone(int[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -173,59 +479,104 @@ <item name="org.apache.commons.lang.ArrayUtils int[] remove(int[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils int[] subarray(int[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils int[] subarray(int[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils int[] toPrimitive(java.lang.Integer[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils int[] toPrimitive(java.lang.Integer[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils int[] toPrimitive(java.lang.Integer[], int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils int[] toPrimitive(java.lang.Integer[], int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Boolean[] toObject(boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Boolean[] toObject(boolean[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Byte[] toObject(byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Byte[] toObject(byte[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Character[] toObject(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Character[] toObject(char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Double[] toObject(double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Double[] toObject(double[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Float[] toObject(float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Float[] toObject(float[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Integer[] toObject(int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Integer[] toObject(int[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Long[] toObject(long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Long[] toObject(long[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Object copyArrayGrow1(java.lang.Object, java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Object remove(java.lang.Object, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] add(java.lang.Object[], java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] addAll(java.lang.Object[], java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] addAll(java.lang.Object[], java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] clone(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] clone(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -234,21 +585,51 @@ <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] remove(java.lang.Object[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] removeElement(java.lang.Object[], java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] subarray(java.lang.Object[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Object[] subarray(java.lang.Object[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.Short[] toObject(short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.lang.Short[] toObject(short[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.String toString(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils java.lang.String toString(java.lang.Object, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils java.util.Map toMap(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils java.util.Map toMap(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils long[] add(long[], long) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils long[] addAll(long[], long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils long[] addAll(long[], long[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils long[] clone(long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils long[] clone(long[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -257,21 +638,42 @@ <item name="org.apache.commons.lang.ArrayUtils long[] remove(long[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils long[] subarray(long[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils long[] subarray(long[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils long[] toPrimitive(java.lang.Long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils long[] toPrimitive(java.lang.Long[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils long[] toPrimitive(java.lang.Long[], long) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils long[] toPrimitive(java.lang.Long[], long)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils short[] add(short[], short) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils short[] addAll(short[], short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils short[] addAll(short[], short[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils short[] clone(short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils short[] clone(short[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -280,57 +682,177 @@ <item name="org.apache.commons.lang.ArrayUtils short[] remove(short[], int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ArrayUtils short[] subarray(short[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils short[] subarray(short[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils short[] toPrimitive(java.lang.Short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils short[] toPrimitive(java.lang.Short[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils short[] toPrimitive(java.lang.Short[], short) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ArrayUtils short[] toPrimitive(java.lang.Short[], short)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ArrayUtils void reverse(short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils boolean isFalse(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.BooleanUtils boolean isFalse(java.lang.Boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.BooleanUtils boolean isNotFalse(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils boolean isNotTrue(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils boolean isTrue(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.BooleanUtils boolean isTrue(java.lang.Boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.BooleanUtils boolean toBoolean(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.BooleanUtils boolean toBoolean(java.lang.Boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.BooleanUtils boolean toBoolean(java.lang.Integer, java.lang.Integer, java.lang.Integer) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils boolean toBoolean(java.lang.Integer, java.lang.Integer, java.lang.Integer) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils boolean toBoolean(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils boolean toBoolean(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils boolean toBoolean(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils boolean toBooleanDefaultIfNull(java.lang.Boolean, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.BooleanUtils boolean xor(boolean[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.BooleanUtils int toInteger(java.lang.Boolean, int, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean negate(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean negate(java.lang.Boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.Integer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.Integer)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.String, java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.String, java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean toBooleanObject(java.lang.String, java.lang.String, java.lang.String, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.BooleanUtils java.lang.Boolean xor(java.lang.Boolean[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Integer toIntegerObject(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.BooleanUtils java.lang.Integer toIntegerObject(java.lang.Boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.Integer toIntegerObject(java.lang.Boolean, java.lang.Integer, java.lang.Integer, java.lang.Integer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.String toString(java.lang.Boolean, java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.String toStringOnOff(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.String toStringTrueFalse(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.BooleanUtils java.lang.String toStringYesNo(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.CharEncoding boolean isSupported(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharEncoding boolean isSupported(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -339,29 +861,56 @@ <item name="org.apache.commons.lang.CharRange boolean contains(org.apache.commons.lang.CharRange) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.CharRange boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSet CharSet(java.lang.String[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.CharSet boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.CharSet org.apache.commons.lang.CharSet getInstance(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSet org.apache.commons.lang.CharSet getInstance(java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.CharSet void add(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.CharSetUtils int count(java.lang.String, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSetUtils java.lang.String delete(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.CharSetUtils java.lang.String delete(java.lang.String, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSetUtils java.lang.String delete(java.lang.String, java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.CharSetUtils java.lang.String keep(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSetUtils java.lang.String keep(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.CharSetUtils java.lang.String keep(java.lang.String, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.CharSetUtils java.lang.String keep(java.lang.String, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSetUtils java.lang.String keep(java.lang.String, java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> @@ -370,6 +919,9 @@ <item name="org.apache.commons.lang.CharSetUtils java.lang.String modify(java.lang.String, java.lang.String[], boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.CharSetUtils java.lang.String modify(java.lang.String, java.lang.String[], boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSetUtils java.lang.String modify(java.lang.String, java.lang.String[], boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -378,6 +930,9 @@ <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.CharSetUtils java.lang.String squeeze(java.lang.String, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSetUtils java.lang.String squeeze(java.lang.String, java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> @@ -388,6 +943,9 @@ <val val=""!null,_,_->!null;null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.CharSetUtils org.apache.commons.lang.CharSet evaluateSet(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharSetUtils org.apache.commons.lang.CharSet evaluateSet(java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> @@ -396,17 +954,26 @@ <item name="org.apache.commons.lang.CharUtils char toChar(java.lang.Character) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.CharUtils char toChar(java.lang.Character, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharUtils char toChar(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.CharUtils int toIntValue(java.lang.Character) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <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(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.CharUtils java.lang.String toString(java.lang.Character) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharUtils java.lang.String toString(java.lang.Character)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -415,16 +982,34 @@ <item name="org.apache.commons.lang.CharUtils java.lang.String unicodeEscaped(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.CharUtils java.lang.String unicodeEscaped(java.lang.Character) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.CharUtils java.lang.String unicodeEscaped(java.lang.Character)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils boolean isAssignable(java.lang.Class, java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ClassUtils boolean isAssignable(java.lang.Class, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils boolean isAssignable(java.lang.Class, java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils boolean isAssignable(java.lang.Class[], java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ClassUtils boolean isAssignable(java.lang.Class[], java.lang.Class[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ClassUtils boolean isInnerClass(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils boolean isInnerClass(java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -435,24 +1020,39 @@ <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.Class[] primitivesToWrappers(java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.Class[] primitivesToWrappers(java.lang.Class[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.Class[] toClass(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.Class[] toClass(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.Class[] wrappersToPrimitives(java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.Class[] wrappersToPrimitives(java.lang.Class[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageCanonicalName(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageCanonicalName(java.lang.Class)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageCanonicalName(java.lang.Object, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageCanonicalName(java.lang.Object, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;_,!null->!null""/> @@ -461,31 +1061,62 @@ <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageCanonicalName(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageName(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageName(java.lang.Class)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageName(java.lang.Object, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageName(java.lang.Object, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;_,!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageName(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String getPackageName(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortCanonicalName(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortCanonicalName(java.lang.Class)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortCanonicalName(java.lang.Object, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortCanonicalName(java.lang.Object, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> + <val val=""!null,_->!null;_,!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortCanonicalName(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortClassName(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortClassName(java.lang.Class)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortClassName(java.lang.Object, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortClassName(java.lang.Object, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> + <val val=""!null,_->!null;_,!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortClassName(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortClassName(java.lang.String)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.ClassUtils java.lang.String toCanonicalName(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> @@ -498,21 +1129,33 @@ <item name="org.apache.commons.lang.ClassUtils java.lang.reflect.Method getPublicMethod(java.lang.Class, java.lang.String, java.lang.Class[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ClassUtils java.util.List convertClassNamesToClasses(java.util.List) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.util.List convertClassNamesToClasses(java.util.List)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.util.List convertClassesToClassNames(java.util.List) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.util.List convertClassesToClassNames(java.util.List)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.util.List getAllInterfaces(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.util.List getAllInterfaces(java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ClassUtils java.util.List getAllSuperclasses(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ClassUtils java.util.List getAllSuperclasses(java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -551,11 +1194,41 @@ <item name="org.apache.commons.lang.Entities void unescape(java.io.Writer, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.Entities.ArrayEntityMap int value(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.IllegalClassException IllegalClassException(java.lang.Class, java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.IllegalClassException IllegalClassException(java.lang.Class, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.IllegalClassException IllegalClassException(java.lang.Class, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.IllegalClassException IllegalClassException(java.lang.Class, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.IllegalClassException java.lang.String safeGetClassName(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.IllegalClassException java.lang.String safeGetClassName(java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.IncompleteArgumentException IncompleteArgumentException(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.IncompleteArgumentException IncompleteArgumentException(java.lang.String, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.IncompleteArgumentException IncompleteArgumentException(java.lang.String, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.IncompleteArgumentException java.lang.String safeArrayToString(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.IncompleteArgumentException java.lang.String safeArrayToString(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -567,14 +1240,32 @@ <item name="org.apache.commons.lang.LocaleUtils java.util.List localeLookupList(java.util.Locale)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.LocaleUtils java.util.List localeLookupList(java.util.Locale, java.util.Locale) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.LocaleUtils java.util.List localeLookupList(java.util.Locale, java.util.Locale)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.LocaleUtils java.util.Locale toLocale(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.LocaleUtils java.util.Locale toLocale(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.NotImplementedException NotImplementedException(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.NotImplementedException NotImplementedException(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.NotImplementedException NotImplementedException(java.lang.String, java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.NullArgumentException NullArgumentException(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.NumberRange NumberRange(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -584,16 +1275,28 @@ <item name="org.apache.commons.lang.NumberRange NumberRange(java.lang.Number, java.lang.Number) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.NumberRange boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.NumberRange boolean includesNumber(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.NumberRange boolean includesNumber(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.NumberRange boolean includesRange(org.apache.commons.lang.NumberRange) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.NumberRange boolean includesRange(org.apache.commons.lang.NumberRange)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.NumberRange boolean overlaps(org.apache.commons.lang.NumberRange) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.NumberRange boolean overlaps(org.apache.commons.lang.NumberRange)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -602,11 +1305,17 @@ <item name="org.apache.commons.lang.NumberRange java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.NumberUtils boolean isAllZeros(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.NumberUtils boolean isAllZeros(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.NumberUtils boolean isDigits(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.NumberUtils boolean isDigits(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -635,6 +1344,9 @@ <item name="org.apache.commons.lang.NumberUtils java.lang.Long createLong(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.NumberUtils java.lang.Number createNumber(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.NumberUtils java.lang.Number createNumber(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -646,21 +1358,54 @@ <item name="org.apache.commons.lang.NumberUtils java.math.BigInteger createBigInteger(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.ObjectUtils boolean equals(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ObjectUtils boolean equals(java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ObjectUtils int hashCode(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ObjectUtils java.lang.Object defaultIfNull(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ObjectUtils java.lang.Object defaultIfNull(java.lang.Object, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.ObjectUtils java.lang.Object max(java.lang.Comparable, java.lang.Comparable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ObjectUtils java.lang.Object min(java.lang.Comparable, java.lang.Comparable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ObjectUtils java.lang.String identityToString(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ObjectUtils java.lang.String identityToString(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.ObjectUtils java.lang.String toString(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ObjectUtils java.lang.String toString(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.ObjectUtils java.lang.String toString(java.lang.Object, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ObjectUtils java.lang.StringBuffer appendIdentityToString(java.lang.StringBuffer, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.ObjectUtils java.lang.StringBuffer appendIdentityToString(java.lang.StringBuffer, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.ObjectUtils java.lang.StringBuffer appendIdentityToString(java.lang.StringBuffer, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null;_,null->null""/> @@ -678,18 +1423,30 @@ <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, boolean, boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, char[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, int, int, boolean, boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, int, int, boolean, boolean, char[]) 5"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, int, int, boolean, boolean, char[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, int, int, boolean, boolean, char[], java.util.Random) 5"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, int, int, boolean, boolean, char[], java.util.Random)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -714,41 +1471,77 @@ <item name="org.apache.commons.lang.SerializationUtils void serialize(java.io.Serializable, java.io.OutputStream) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeHtml(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeHtml(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeJava(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeJavaScript(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeJavaStyleString(java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeJavaStyleString(java.lang.String, boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeSql(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeSql(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeXml(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String escapeXml(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String hex(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeCsv(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeCsv(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeHtml(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeHtml(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeJava(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeJava(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeJavaScript(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeXml(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils java.lang.String unescapeXml(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -757,136 +1550,358 @@ <item name="org.apache.commons.lang.StringEscapeUtils void escapeHtml(java.io.Writer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void escapeHtml(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils void escapeJava(java.io.Writer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void escapeJava(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils void escapeJavaScript(java.io.Writer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void escapeJavaScript(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils void escapeJavaStyleString(java.io.Writer, java.lang.String, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void escapeJavaStyleString(java.io.Writer, java.lang.String, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils void escapeXml(java.io.Writer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void escapeXml(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringEscapeUtils void unescapeCsv(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils void unescapeHtml(java.io.Writer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void unescapeHtml(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils void unescapeJava(java.io.Writer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void unescapeJava(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils void unescapeJavaScript(java.io.Writer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void unescapeJavaScript(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringEscapeUtils void unescapeXml(java.io.Writer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringEscapeUtils void unescapeXml(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean contains(java.lang.String, char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean contains(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean contains(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean contains(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->false;null,_->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean containsAny(java.lang.String, char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean containsAny(java.lang.String, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean containsAny(java.lang.String, char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->false;null,_->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean containsAny(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean containsAny(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean containsAny(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->false;null,_->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean containsIgnoreCase(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean containsIgnoreCase(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean containsIgnoreCase(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->false;null,_->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean containsNone(java.lang.String, char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean containsNone(java.lang.String, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean containsNone(java.lang.String, char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->true;null,_->true""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean containsNone(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean containsNone(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean containsNone(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->true;null,_->true""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean containsOnly(java.lang.String, char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean containsOnly(java.lang.String, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean containsOnly(java.lang.String, char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->false;null,_->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean containsOnly(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean containsOnly(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean containsOnly(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->false;null,_->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean endsWith(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean endsWith(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean endsWith(java.lang.String, java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean endsWith(java.lang.String, java.lang.String, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean endsWithIgnoreCase(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean endsWithIgnoreCase(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean equals(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean equals(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean equalsIgnoreCase(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean equalsIgnoreCase(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean isAlpha(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isAlpha(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isAlphaSpace(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isAlphaSpace(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isAlphanumeric(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isAlphanumeric(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isAlphanumericSpace(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isAlphanumericSpace(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isAsciiPrintable(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isAsciiPrintable(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isBlank(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isBlank(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isEmpty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isEmpty(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isNotBlank(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean isNotEmpty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean isNumeric(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isNumeric(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isNumericSpace(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isNumericSpace(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean isWhitespace(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils boolean isWhitespace(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils boolean startsWith(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean startsWith(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean startsWith(java.lang.String, java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean startsWith(java.lang.String, java.lang.String, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean startsWithIgnoreCase(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils boolean startsWithIgnoreCase(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils int getLevenshteinDistance(java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.StringUtils int getLevenshteinDistance(java.lang.String, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringUtils int indexOf(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int indexOf(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int indexOf(java.lang.String, java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int indexOf(java.lang.String, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int indexOfAny(java.lang.String, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int indexOfAny(java.lang.String, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int indexOfDifference(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int indexOfDifference(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int indexOfDifference(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int lastIndexOf(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int lastIndexOf(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int lastIndexOf(java.lang.String, java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int lastIndexOf(java.lang.String, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int lastIndexOfAny(java.lang.String, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int lastIndexOfAny(java.lang.String, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int length(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int ordinalIndexOf(java.lang.String, java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils int ordinalIndexOf(java.lang.String, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String abbreviate(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String abbreviate(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String abbreviate(java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String abbreviate(java.lang.String, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null;null,_,_->null""/> @@ -927,6 +1942,9 @@ <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String chomp(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String chomp(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> @@ -948,6 +1966,9 @@ <val val=""!null,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String chop(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String chop(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> @@ -959,26 +1980,39 @@ <item name="org.apache.commons.lang.StringUtils java.lang.String chopNewline(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String clean(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String clean(java.lang.String)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String concatenate(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.StringUtils java.lang.String concatenate(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String defaultString(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String defaultString(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String defaultString(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String defaultString(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String deleteSpaces(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String deleteSpaces(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> @@ -989,11 +2023,17 @@ <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String difference(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String difference(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;_,!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String escape(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String getChomp(java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1005,16 +2045,34 @@ <val val=""_,!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getCommonPrefix(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String getCommonPrefix(java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getNestedString(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getNestedString(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String getNestedString(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getNestedString(java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getNestedString(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getNestedString(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String getNestedString(java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,null->null;_,null,_->null;null,_,_->null""/> @@ -1029,81 +2087,144 @@ <item name="org.apache.commons.lang.StringUtils java.lang.String getPrechomp(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], char, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], char, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_,_->!null;null,_,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], java.lang.String, int, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.lang.Object[], java.lang.String, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_,_->!null;null,_,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Collection, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Collection, char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Collection, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Collection, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Collection, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Iterator, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Iterator, char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Iterator, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Iterator, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String join(java.util.Iterator, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String left(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String left(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String leftPad(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String leftPad(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String leftPad(java.lang.String, int, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String leftPad(java.lang.String, int, char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String leftPad(java.lang.String, int, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String leftPad(java.lang.String, int, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String lowerCase(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String lowerCase(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->null""/> + <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String mid(java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String mid(java.lang.String, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null;null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String overlay(java.lang.String, java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String overlay(java.lang.String, java.lang.String, int, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String overlay(java.lang.String, java.lang.String, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_,_->!null;null,_,_,_->null""/> @@ -1162,116 +2283,200 @@ <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String repeat(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String repeat(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replace(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String replace(java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null;null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replace(java.lang.String, java.lang.String, java.lang.String, int) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String replace(java.lang.String, java.lang.String, java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_,_->!null;null,_,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceChars(java.lang.String, char, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </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=""null,_,_->null""/> + <val val=""!null,_,_->!null;null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceChars(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String replaceChars(java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null;null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEach(java.lang.String, java.lang.String[], java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEach(java.lang.String, java.lang.String[], java.lang.String[]) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEach(java.lang.String, java.lang.String[], java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEach(java.lang.String, java.lang.String[], java.lang.String[], boolean, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEach(java.lang.String, java.lang.String[], java.lang.String[], boolean, int) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEach(java.lang.String, java.lang.String[], java.lang.String[], boolean, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEachRepeatedly(java.lang.String, java.lang.String[], java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEachRepeatedly(java.lang.String, java.lang.String[], java.lang.String[]) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String replaceEachRepeatedly(java.lang.String, java.lang.String[], java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String replaceOnce(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String replaceOnce(java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null;null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String reverse(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String reverse(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String reverseDelimited(java.lang.String, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String reverseDelimited(java.lang.String, char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String reverseDelimitedString(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String reverseDelimitedString(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String reverseDelimitedString(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String right(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String right(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String rightPad(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String rightPad(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String rightPad(java.lang.String, int, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String rightPad(java.lang.String, int, char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String rightPad(java.lang.String, int, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String rightPad(java.lang.String, int, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String strip(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String stripEnd(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String stripEnd(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String stripStart(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String stripStart(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String stripToEmpty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String stripToEmpty(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String stripToNull(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String stripToNull(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substring(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String substring(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substring(java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String substring(java.lang.String, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null;null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substringAfter(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String substringAfter(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null""/> @@ -1282,6 +2487,9 @@ <val val=""!null,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substringBefore(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String substringBefore(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null""/> @@ -1292,11 +2500,26 @@ <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substringBetween(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substringBetween(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String substringBetween(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null->null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substringBetween(java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substringBetween(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substringBetween(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String substringBetween(java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,null->null;_,null,_->null;null,_,_->null""/> @@ -1307,15 +2530,22 @@ <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String trim(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String trim(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->null""/> + <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String trimToEmpty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String trimToEmpty(java.lang.String)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String trimToNull(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.StringUtils java.lang.String trimToNull(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> @@ -1332,96 +2562,183 @@ <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String upperCase(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String upperCase(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->null""/> + <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String, char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String, java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] split(java.lang.String, java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByCharacterType(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByCharacterType(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByCharacterType(java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByCharacterType(java.lang.String, boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByCharacterTypeCamelCase(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByCharacterTypeCamelCase(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparator(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparator(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparator(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparator(java.lang.String, java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparator(java.lang.String, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparator(java.lang.String, java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorWorker(java.lang.String, java.lang.String, int, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorWorker(java.lang.String, java.lang.String, int, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitByWholeSeparatorWorker(java.lang.String, java.lang.String, int, boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String, char)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String, java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitPreserveAllTokens(java.lang.String, java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitWorker(java.lang.String, char, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitWorker(java.lang.String, char, boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitWorker(java.lang.String, java.lang.String, int, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitWorker(java.lang.String, java.lang.String, int, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] splitWorker(java.lang.String, java.lang.String, int, boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_,_->null""/> @@ -1432,11 +2749,17 @@ <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] stripAll(java.lang.String[], java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] stripAll(java.lang.String[], java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] substringsBetween(java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.StringUtils java.lang.String[] substringsBetween(java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> @@ -1476,6 +2799,18 @@ <item name="org.apache.commons.lang.Validate void allElementsOfType(java.util.Collection, java.lang.Class, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.Validate void isTrue(boolean, java.lang.String, double) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.Validate void isTrue(boolean, java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.Validate void isTrue(boolean, java.lang.String, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.Validate void isTrue(boolean, java.lang.String, long) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.Validate void noNullElements(java.lang.Object[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -1518,6 +2853,15 @@ <item name="org.apache.commons.lang.Validate void notNull(java.lang.Object, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.WordUtils boolean isDelimiter(char, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String abbreviate(java.lang.String, int, int, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String abbreviate(java.lang.String, int, int, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.WordUtils java.lang.String abbreviate(java.lang.String, int, int, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_,_->!null;null,_,_,_->null""/> @@ -1528,6 +2872,9 @@ <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String capitalize(java.lang.String, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.WordUtils java.lang.String capitalize(java.lang.String, char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> @@ -1538,6 +2885,9 @@ <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String capitalizeFully(java.lang.String, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.WordUtils java.lang.String capitalizeFully(java.lang.String, char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> @@ -1548,6 +2898,9 @@ <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String initials(java.lang.String, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.WordUtils java.lang.String initials(java.lang.String, char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> @@ -1563,16 +2916,28 @@ <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String uncapitalize(java.lang.String, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.WordUtils java.lang.String uncapitalize(java.lang.String, char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String wrap(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.WordUtils java.lang.String wrap(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String wrap(java.lang.String, int, java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String wrap(java.lang.String, int, java.lang.String, boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.WordUtils java.lang.String wrap(java.lang.String, int, java.lang.String, boolean)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_,_->!null;null,_,_,_->null""/> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/builder/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/builder/annotations.xml index c46c851e0fa1..4cd0e1e34b32 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/builder/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/builder/annotations.xml @@ -1,75 +1,126 @@ <root> + <item name="org.apache.commons.lang.builder.CompareToBuilder int reflectionCompare(java.lang.Object, java.lang.Object, boolean, java.lang.Class) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder int reflectionCompare(java.lang.Object, java.lang.Object, boolean, java.lang.Class, java.lang.String[]) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder int reflectionCompare(java.lang.Object, java.lang.Object, java.util.Collection) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(boolean, boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(boolean[], boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(boolean[], boolean[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(boolean[], boolean[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(byte, byte)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(byte[], byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(byte[], byte[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(byte[], byte[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(char, char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(char[], char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(char[], char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(char[], char[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(double, double)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(double[], double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(double[], double[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(double[], double[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(float, float)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(float[], float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(float[], float[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(float[], float[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(int[], int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(int[], int[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(int[], int[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(java.lang.Object, java.lang.Object, java.util.Comparator) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(java.lang.Object, java.lang.Object, java.util.Comparator) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(java.lang.Object, java.lang.Object, java.util.Comparator)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(java.lang.Object[], java.lang.Object[], java.util.Comparator) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(java.lang.Object[], java.lang.Object[], java.util.Comparator) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(java.lang.Object[], java.lang.Object[], java.util.Comparator)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null,_->!null;null,_,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(long, long)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(long[], long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(long[], long[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(long[], long[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(short, short)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(short[], short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(short[], short[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder append(short[], short[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder appendSuper(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> @@ -77,71 +128,158 @@ <item name="org.apache.commons.lang.builder.CompareToBuilder void reflectionAppend(java.lang.Object, java.lang.Object, java.lang.Class, org.apache.commons.lang.builder.CompareToBuilder, boolean, java.lang.String[]) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, boolean, java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, boolean, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, boolean, java.lang.Class) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, boolean, java.lang.Class, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, boolean, java.lang.Class, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, boolean, java.lang.Class, java.lang.String[]) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, java.util.Collection) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, java.util.Collection) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder boolean reflectionEquals(java.lang.Object, java.lang.Object, java.util.Collection) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(boolean, boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(boolean[], boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(boolean[], boolean[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(boolean[], boolean[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(byte, byte)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(byte[], byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(byte[], byte[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(byte[], byte[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(char, char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(char[], char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(char[], char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(char[], char[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(double[], double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(double[], double[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(double[], double[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(float[], float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(float[], float[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(float[], float[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(int[], int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(int[], int[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(int[], int[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object, java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object[], java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object[], java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object[], java.lang.Object[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(long, long)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(long[], long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(long[], long[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(long[], long[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(short, short)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(short[], short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(short[], short[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder append(short[], short[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""_,null->!null;null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder appendSuper(boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> @@ -158,9 +296,15 @@ <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(int, int, java.lang.Object, boolean, java.lang.Class) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(int, int, java.lang.Object, boolean, java.lang.Class) 4"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(int, int, java.lang.Object, boolean, java.lang.Class, java.lang.String[]) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(int, int, java.lang.Object, boolean, java.lang.Class, java.lang.String[]) 4"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -173,77 +317,92 @@ <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(java.lang.Object, java.util.Collection) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(java.lang.Object, java.util.Collection) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder java.lang.Integer toIdentityHashCodeInteger(java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(boolean[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(boolean[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(byte)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(byte[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(char[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(double[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(double[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(float)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(float[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(float[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(int[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(int[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(java.lang.Object[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(long)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(long[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(long[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(short)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(short[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder append(short[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder appendSuper(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> @@ -251,15 +410,60 @@ <item name="org.apache.commons.lang.builder.HashCodeBuilder.1 java.lang.Object initialValue()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder ReflectionToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder ReflectionToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder ReflectionToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder ReflectionToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer, java.lang.Class, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder ReflectionToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer, java.lang.Class, boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder ReflectionToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer, java.lang.Class, boolean, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder ReflectionToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer, java.lang.Class, boolean, boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder boolean accept(java.lang.reflect.Field) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.Object getValue(java.lang.reflect.Field) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.String toString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.String toString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.String toString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.String toString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean, boolean, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.String toString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.String toStringExclude(java.lang.Object, java.util.Collection) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.String[] toNoNullStringArray(java.lang.Object[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder java.lang.String[] toNoNullStringArray(java.util.Collection) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder org.apache.commons.lang.builder.ReflectionToStringBuilder setExcludeFieldNames(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder org.apache.commons.lang.builder.ReflectionToStringBuilder setExcludeFieldNames(java.lang.String[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -269,6 +473,60 @@ <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder void appendFieldsIn(java.lang.Class) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setArrayEnd(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setArraySeparator(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setArrayStart(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setContentEnd(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setContentStart(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setFieldNameValueSeparator(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setFieldSeparator(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setNullText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setSizeEndText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setSizeStartText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setSummaryObjectEndText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.StandardToStringStyle void setSummaryObjectStartText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder ToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder ToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder ToStringBuilder(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, java.lang.StringBuffer) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder java.lang.String reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder java.lang.String reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder java.lang.String reflectionToString(java.lang.Object, org.apache.commons.lang.builder.ToStringStyle, boolean, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringBuilder java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -410,22 +668,68 @@ <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(short[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder appendAsObjectToString(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder appendAsObjectToString(java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder appendSuper(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder appendSuper(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder appendToString(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder appendToString(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.ToStringBuilder void setDefaultStyle(org.apache.commons.lang.builder.ToStringStyle) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle boolean isFullDetail(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle java.lang.String getShortClassName(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle java.lang.String getShortClassName(java.lang.Class)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, boolean[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, byte[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, char[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, double[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, float[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, int[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, java.lang.Object, java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, java.lang.Object[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, long[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void append(java.lang.StringBuffer, java.lang.String, short[], java.lang.Boolean) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendClassName(java.lang.StringBuffer, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendContentEnd(java.lang.StringBuffer) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> @@ -433,9 +737,21 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendContentStart(java.lang.StringBuffer) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendCyclicObject(java.lang.StringBuffer, java.lang.String, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendCyclicObject(java.lang.StringBuffer, java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendCyclicObject(java.lang.StringBuffer, java.lang.String, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, boolean[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -445,6 +761,9 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, byte) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, byte) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, byte[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -454,6 +773,9 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, char) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, char) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, char[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -463,6 +785,9 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, double) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, double) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, double[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -472,6 +797,9 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, float) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, float) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, float[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -481,6 +809,9 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, int[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -490,6 +821,12 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.lang.Object[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -499,12 +836,27 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.util.Collection) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.util.Collection) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.util.Collection) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.util.Map) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.util.Map) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, java.util.Map) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, long) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, long) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, long[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -514,18 +866,36 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, short) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, short) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, short[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendDetail(java.lang.StringBuffer, java.lang.String, short[]) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendFieldEnd(java.lang.StringBuffer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendFieldSeparator(java.lang.StringBuffer) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendFieldStart(java.lang.StringBuffer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendIdentityHashCode(java.lang.StringBuffer, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendNullText(java.lang.StringBuffer, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendNullText(java.lang.StringBuffer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendStart(java.lang.StringBuffer, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, boolean[]) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -547,6 +917,9 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, java.lang.Object) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -562,12 +935,57 @@ <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummarySize(java.lang.StringBuffer, java.lang.String, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummarySize(java.lang.StringBuffer, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendToString(java.lang.StringBuffer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void reflectionAppendArrayDetail(java.lang.StringBuffer, java.lang.String, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void register(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle void removeLastFieldSeparator(java.lang.StringBuffer) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setArrayEnd(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setArraySeparator(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setArrayStart(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setContentEnd(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setContentStart(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setFieldNameValueSeparator(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setFieldSeparator(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setNullText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setSizeEndText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setSizeStartText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setSummaryObjectEndText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void setSummaryObjectStartText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.builder.ToStringStyle.1 java.lang.Object initialValue()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enum/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enum/annotations.xml index be5d5ca8d20e..05b15d3460ce 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enum/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enum/annotations.xml @@ -2,6 +2,9 @@ <item name="org.apache.commons.lang.enum.Enum Enum(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.enum.Enum boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.enum.Enum java.lang.String getNameInOtherClassLoader(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enums/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enums/annotations.xml index 0e7d219fd30a..3b827c118787 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enums/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enums/annotations.xml @@ -2,6 +2,9 @@ <item name="org.apache.commons.lang.enums.Enum Enum(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.enums.Enum boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.enums.Enum java.lang.String getNameInOtherClassLoader(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/exception/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/exception/annotations.xml index 2924cb9a5731..585584b958f2 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/exception/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/exception/annotations.xml @@ -1,4 +1,10 @@ <root> + <item name="org.apache.commons.lang.exception.ExceptionUtils boolean isCauseMethodName(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils boolean isNestedThrowable(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils boolean isNestedThrowable(java.lang.Throwable)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -7,12 +13,54 @@ <item name="org.apache.commons.lang.exception.ExceptionUtils boolean setCause(java.lang.Throwable, java.lang.Throwable) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int getThrowableCount(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOf(java.lang.Throwable, java.lang.Class, int, boolean) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOf(java.lang.Throwable, java.lang.Class, int, boolean) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOfThrowable(java.lang.Throwable, java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOfThrowable(java.lang.Throwable, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOfThrowable(java.lang.Throwable, java.lang.Class, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOfThrowable(java.lang.Throwable, java.lang.Class, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOfType(java.lang.Throwable, java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOfType(java.lang.Throwable, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOfType(java.lang.Throwable, java.lang.Class, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils int indexOfType(java.lang.Throwable, java.lang.Class, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getFullStackTrace(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getFullStackTrace(java.lang.Throwable)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getMessage(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getMessage(java.lang.Throwable)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getRootCauseMessage(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getRootCauseMessage(java.lang.Throwable)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -22,30 +70,63 @@ <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getStackTrace(java.lang.Throwable)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String[] getRootCauseStackTrace(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String[] getStackFrames(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String[] toArray(java.util.List) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.Throwable getCause(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.Throwable getCause(java.lang.Throwable)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.Throwable getCause(java.lang.Throwable, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.Throwable getCause(java.lang.Throwable, java.lang.String[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.Throwable getCauseUsingWellKnownTypes(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.Throwable getCauseUsingWellKnownTypes(java.lang.Throwable)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.Throwable getRootCause(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.Throwable[] getThrowables(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.util.ArrayList getCauseMethodNameList()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.exception.ExceptionUtils java.util.List getStackFrameList(java.lang.Throwable) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.util.List getThrowableList(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils void printRootCauseStackTrace(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils void printRootCauseStackTrace(java.lang.Throwable, java.io.PrintStream) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils void printRootCauseStackTrace(java.lang.Throwable, java.io.PrintWriter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.ExceptionUtils void removeCommonFrames(java.util.List, java.util.List) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -55,6 +136,9 @@ <item name="org.apache.commons.lang.exception.NestableDelegate NestableDelegate(org.apache.commons.lang.exception.Nestable) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.exception.NestableDelegate int indexOfThrowable(java.lang.Class, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.exception.NestableDelegate java.lang.String getMessage(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/math/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/math/annotations.xml index c799fc9bc0fd..567cb620681f 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/math/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/math/annotations.xml @@ -8,16 +8,28 @@ <item name="org.apache.commons.lang.math.DoubleRange DoubleRange(java.lang.Number, java.lang.Number) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.DoubleRange boolean containsNumber(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.DoubleRange boolean containsNumber(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.DoubleRange boolean containsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.DoubleRange boolean containsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.DoubleRange boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.DoubleRange boolean overlapsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.DoubleRange boolean overlapsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -32,21 +44,36 @@ <item name="org.apache.commons.lang.math.FloatRange FloatRange(java.lang.Number, java.lang.Number) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.FloatRange boolean containsNumber(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.FloatRange boolean containsNumber(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.FloatRange boolean containsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.FloatRange boolean containsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.FloatRange boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.FloatRange boolean overlapsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.FloatRange boolean overlapsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.Fraction boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction abs()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -116,21 +143,36 @@ <item name="org.apache.commons.lang.math.IntRange IntRange(java.lang.Number, java.lang.Number) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.IntRange boolean containsNumber(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.IntRange boolean containsNumber(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.IntRange boolean containsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.IntRange boolean containsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.IntRange boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.IntRange boolean overlapsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.IntRange boolean overlapsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.JVMRandom void nextBytes(byte[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.LongRange LongRange(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -140,16 +182,28 @@ <item name="org.apache.commons.lang.math.LongRange LongRange(java.lang.Number, java.lang.Number) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.LongRange boolean containsNumber(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.LongRange boolean containsNumber(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.LongRange boolean containsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.LongRange boolean containsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.LongRange boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.LongRange boolean overlapsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.LongRange boolean overlapsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -164,11 +218,20 @@ <item name="org.apache.commons.lang.math.NumberRange NumberRange(java.lang.Number, java.lang.Number) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.NumberRange boolean containsNumber(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberRange boolean containsNumber(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.NumberRange boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils boolean isAllZeros(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils boolean isAllZeros(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->true""/> @@ -196,48 +259,93 @@ <item name="org.apache.commons.lang.math.NumberUtils double min(double[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.NumberUtils double toDouble(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils double toDouble(java.lang.String, double) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils float max(float[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.math.NumberUtils float min(float[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.NumberUtils float toFloat(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils float toFloat(java.lang.String, float) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils int max(int[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.math.NumberUtils int min(int[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.NumberUtils int stringToInt(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils int stringToInt(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils int toInt(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils int toInt(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils java.lang.Double createDouble(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils java.lang.Double createDouble(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.math.NumberUtils java.lang.Float createFloat(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils java.lang.Float createFloat(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.math.NumberUtils java.lang.Integer createInteger(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils java.lang.Integer createInteger(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.math.NumberUtils java.lang.Long createLong(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils java.lang.Long createLong(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.math.NumberUtils java.lang.Number createNumber(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils java.lang.Number createNumber(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.math.NumberUtils java.math.BigDecimal createBigDecimal(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils java.math.BigDecimal createBigDecimal(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.math.NumberUtils java.math.BigInteger createBigInteger(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils java.math.BigInteger createBigInteger(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> @@ -249,6 +357,12 @@ <item name="org.apache.commons.lang.math.NumberUtils long min(long[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.NumberUtils long toLong(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils long toLong(java.lang.String, long) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.NumberUtils short max(short[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -273,31 +387,52 @@ <item name="org.apache.commons.lang.math.RandomUtils long nextLong(java.util.Random) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.math.Range boolean containsDouble(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.Range boolean containsDouble(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.Range boolean containsFloat(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.Range boolean containsFloat(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.Range boolean containsInteger(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.Range boolean containsInteger(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.Range boolean containsLong(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.Range boolean containsLong(java.lang.Number)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.Range boolean containsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.Range boolean containsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.math.Range boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.math.Range boolean overlapsRange(org.apache.commons.lang.math.Range) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.math.Range boolean overlapsRange(org.apache.commons.lang.math.Range)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/mutable/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/mutable/annotations.xml index dd2d7d0d82ab..acf730ff9e41 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/mutable/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/mutable/annotations.xml @@ -2,6 +2,9 @@ <item name="org.apache.commons.lang.mutable.MutableBoolean MutableBoolean(java.lang.Boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.mutable.MutableBoolean boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.mutable.MutableBoolean boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -19,6 +22,9 @@ <item name="org.apache.commons.lang.mutable.MutableByte MutableByte(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.mutable.MutableByte boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.mutable.MutableByte boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -48,6 +54,9 @@ <item name="org.apache.commons.lang.mutable.MutableDouble MutableDouble(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.mutable.MutableDouble boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.mutable.MutableDouble boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -74,6 +83,9 @@ <item name="org.apache.commons.lang.mutable.MutableFloat MutableFloat(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.mutable.MutableFloat boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.mutable.MutableFloat boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -100,6 +112,9 @@ <item name="org.apache.commons.lang.mutable.MutableInt MutableInt(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.mutable.MutableInt boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.mutable.MutableInt boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -129,6 +144,9 @@ <item name="org.apache.commons.lang.mutable.MutableLong MutableLong(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.mutable.MutableLong boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.mutable.MutableLong boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -155,6 +173,9 @@ <item name="org.apache.commons.lang.mutable.MutableLong void subtract(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.mutable.MutableObject boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.mutable.MutableObject boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -163,6 +184,9 @@ <item name="org.apache.commons.lang.mutable.MutableShort MutableShort(java.lang.Number) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.mutable.MutableShort boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.mutable.MutableShort boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/text/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/text/annotations.xml index d6d4e6ec1483..0e46f59ecbed 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/text/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/text/annotations.xml @@ -1,4 +1,7 @@ <root> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat boolean containsElements(java.util.Collection) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.ExtendedMessageFormat boolean containsElements(java.util.Collection)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -60,11 +63,32 @@ <item name="org.apache.commons.lang.text.ExtendedMessageFormat void seekNonWs(java.lang.String, java.text.ParsePosition) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat void setFormat(int, java.text.Format) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat void setFormatByArgumentIndex(int, java.text.Format) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat void setFormats(java.text.Format[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat void setFormatsByArgumentIndex(java.text.Format[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder StrBuilder(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder boolean endsWith(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder boolean endsWith(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -80,16 +104,34 @@ <val val=""null->true""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder boolean startsWith(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder boolean startsWith(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder char[] getChars(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder char[] getChars(char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder int indexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder int indexOf(org.apache.commons.lang.text.StrMatcher, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder int lastIndexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder int lastIndexOf(org.apache.commons.lang.text.StrMatcher, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder java.io.Reader asReader()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -120,60 +162,105 @@ <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(char[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.String, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.StringBuffer)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.StringBuffer, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(java.lang.StringBuffer, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(org.apache.commons.lang.text.StrBuilder) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(org.apache.commons.lang.text.StrBuilder)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(org.apache.commons.lang.text.StrBuilder, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(org.apache.commons.lang.text.StrBuilder, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendAll(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendAll(java.lang.Object[])"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendAll(java.util.Collection) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendAll(java.util.Collection)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendAll(java.util.Iterator) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendAll(java.util.Iterator)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendFixedWidthPadLeft(java.lang.Object, int, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendFixedWidthPadLeft(java.lang.Object, int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendFixedWidthPadRight(java.lang.Object, int, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendFixedWidthPadRight(java.lang.Object, int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendPadding(int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendSeparator(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> @@ -181,26 +268,44 @@ <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendSeparator(char, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendSeparator(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendSeparator(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendSeparator(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendSeparator(java.lang.String, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.lang.Object[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.lang.Object[], java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.lang.Object[], java.lang.String)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.util.Collection, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.util.Collection, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.util.Collection, java.lang.String)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.util.Iterator, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.util.Iterator, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder appendWithSeparators(java.util.Iterator, java.lang.String)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder clear()"> <annotation name="org.jetbrains.annotations.NotNull"/> @@ -208,9 +313,18 @@ <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder delete(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder deleteAll(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder deleteAll(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder deleteCharAt(int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder deleteFirst(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder deleteFirst(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -223,16 +337,28 @@ <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, char[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, char[], int, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, char[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null,_,_->!null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -242,34 +368,57 @@ <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replace(int, int, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replace(org.apache.commons.lang.text.StrMatcher, java.lang.String, int, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replace(org.apache.commons.lang.text.StrMatcher, java.lang.String, int, int, int)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null,_,_,_,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replaceAll(char, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replaceAll(java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replaceFirst(char, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replaceFirst(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replaceImpl(org.apache.commons.lang.text.StrMatcher, java.lang.String, int, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder replaceImpl(org.apache.commons.lang.text.StrMatcher, java.lang.String, int, int, int)"> - <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null,_,_,_,_->!null""/> - </annotation> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder reverse()"> + <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder setCharAt(int, char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder setLength(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder setNewLineText(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder setNullText(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder trim()"> + <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.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrBuilder.StrBuilderReader int read(char[], int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrBuilder.StrBuilderTokenizer java.util.List tokenize(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrLookup org.apache.commons.lang.text.StrLookup mapLookup(java.util.Map)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -279,6 +428,15 @@ <item name="org.apache.commons.lang.text.StrMatcher org.apache.commons.lang.text.StrMatcher charMatcher(char)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrMatcher org.apache.commons.lang.text.StrMatcher charSetMatcher(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrMatcher org.apache.commons.lang.text.StrMatcher charSetMatcher(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrMatcher org.apache.commons.lang.text.StrMatcher stringMatcher(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrMatcher.CharMatcher int isMatch(char[], int, int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -288,27 +446,42 @@ <item name="org.apache.commons.lang.text.StrMatcher.CharSetMatcher int isMatch(char[], int, int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrMatcher.NoMatcher int isMatch(char[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrMatcher.StringMatcher StringMatcher(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrMatcher.TrimMatcher int isMatch(char[], int, int, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor boolean replaceIn(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor boolean replaceIn(java.lang.StringBuffer)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor boolean replaceIn(java.lang.StringBuffer, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor boolean replaceIn(java.lang.StringBuffer, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->false""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor boolean replaceIn(org.apache.commons.lang.text.StrBuilder) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor boolean replaceIn(org.apache.commons.lang.text.StrBuilder)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor boolean replaceIn(org.apache.commons.lang.text.StrBuilder, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor boolean replaceIn(org.apache.commons.lang.text.StrBuilder, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->false""/> @@ -320,51 +493,84 @@ <item name="org.apache.commons.lang.text.StrSubstitutor int substitute(org.apache.commons.lang.text.StrBuilder, int, int, java.util.List) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor int substitute(org.apache.commons.lang.text.StrBuilder, int, int, java.util.List) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(char[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(char[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(char[], int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.String, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.StringBuffer)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.StringBuffer, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(java.lang.StringBuffer, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(org.apache.commons.lang.text.StrBuilder) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(org.apache.commons.lang.text.StrBuilder)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(org.apache.commons.lang.text.StrBuilder, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String replace(org.apache.commons.lang.text.StrBuilder, int, int)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.commons.lang.text.StrSubstitutor java.lang.String resolveVariable(java.lang.String, org.apache.commons.lang.text.StrBuilder, int, int) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrSubstitutor org.apache.commons.lang.text.StrSubstitutor setVariablePrefix(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -386,37 +592,82 @@ <item name="org.apache.commons.lang.text.StrSubstitutor void checkCyclicSubstitution(java.lang.String, java.util.List) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer StrTokenizer(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrTokenizer StrTokenizer(java.lang.String, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrTokenizer StrTokenizer(java.lang.String, char, char) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrTokenizer StrTokenizer(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrTokenizer StrTokenizer(java.lang.String, org.apache.commons.lang.text.StrMatcher) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrTokenizer StrTokenizer(java.lang.String, org.apache.commons.lang.text.StrMatcher, org.apache.commons.lang.text.StrMatcher) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrTokenizer int readWithQuotes(char[], int, int, org.apache.commons.lang.text.StrBuilder, java.util.List, int, int) 3"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrTokenizer java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer java.util.List tokenize(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer reset()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer reset(char[])"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer reset(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer reset(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setDelimiterMatcher(org.apache.commons.lang.text.StrMatcher) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setDelimiterMatcher(org.apache.commons.lang.text.StrMatcher)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setDelimiterString(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setEmptyTokenAsNull(boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setIgnoreEmptyTokens(boolean)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setIgnoredMatcher(org.apache.commons.lang.text.StrMatcher) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setIgnoredMatcher(org.apache.commons.lang.text.StrMatcher)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setQuoteMatcher(org.apache.commons.lang.text.StrMatcher) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setQuoteMatcher(org.apache.commons.lang.text.StrMatcher)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setTrimmerMatcher(org.apache.commons.lang.text.StrMatcher) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.text.StrTokenizer org.apache.commons.lang.text.StrTokenizer setTrimmerMatcher(org.apache.commons.lang.text.StrMatcher)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.text.StrTokenizer void add(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.text.StrTokenizer void set(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> </root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/time/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/time/annotations.xml index b392cffbce52..12183165228a 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/time/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/time/annotations.xml @@ -5,48 +5,90 @@ <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Calendar, java.lang.String, java.util.Locale) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Calendar, java.lang.String, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Calendar, java.lang.String, java.util.TimeZone) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Calendar, java.lang.String, java.util.TimeZone) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Calendar, java.lang.String, java.util.TimeZone, java.util.Locale) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Calendar, java.lang.String, java.util.TimeZone, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Calendar, java.lang.String, java.util.TimeZone, java.util.Locale) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Date, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Date, java.lang.String, java.util.Locale) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Date, java.lang.String, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Date, java.lang.String, java.util.TimeZone) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Date, java.lang.String, java.util.TimeZone) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Date, java.lang.String, java.util.TimeZone, java.util.Locale) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Date, java.lang.String, java.util.TimeZone, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Date, java.lang.String, java.util.TimeZone, java.util.Locale) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(long, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(long, java.lang.String, java.util.Locale) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(long, java.lang.String, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(long, java.lang.String, java.util.TimeZone) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(long, java.lang.String, java.util.TimeZone) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(long, java.lang.String, java.util.TimeZone, java.util.Locale) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(long, java.lang.String, java.util.TimeZone, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(long, java.lang.String, java.util.TimeZone, java.util.Locale) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String formatUTC(java.util.Date, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String formatUTC(java.util.Date, java.lang.String, java.util.Locale) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String formatUTC(java.util.Date, java.lang.String, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String formatUTC(long, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String formatUTC(long, java.lang.String, java.util.Locale) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String formatUTC(long, java.lang.String, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DateUtils boolean isSameDay(java.util.Calendar, java.util.Calendar) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -296,6 +338,9 @@ <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatDurationISO(long)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatDurationWords(long, boolean, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatPeriod(long, long, java.lang.String) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -317,6 +362,12 @@ <item name="org.apache.commons.lang.time.DurationFormatUtils.Token boolean containsTokenWithValue(org.apache.commons.lang.time.DurationFormatUtils.Token[], java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils.Token boolean containsTokenWithValue(org.apache.commons.lang.time.DurationFormatUtils.Token[], java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils.Token boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.DurationFormatUtils.Token boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -325,11 +376,23 @@ <item name="org.apache.commons.lang.time.FastDateFormat FastDateFormat(java.lang.String, java.util.TimeZone, java.util.Locale) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat FastDateFormat(java.lang.String, java.util.TimeZone, java.util.Locale) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat FastDateFormat(java.lang.String, java.util.TimeZone, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.Object parseObject(java.lang.String, java.text.ParsePosition) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat java.lang.Object parseObject(java.lang.String, java.text.ParsePosition) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -367,6 +430,9 @@ <item name="org.apache.commons.lang.time.FastDateFormat java.lang.StringBuffer format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.StringBuffer format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat java.lang.StringBuffer format(java.util.Date, java.lang.StringBuffer) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -376,12 +442,24 @@ <item name="org.apache.commons.lang.time.FastDateFormat org.apache.commons.lang.time.FastDateFormat getInstance(java.lang.String, java.util.Locale) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat org.apache.commons.lang.time.FastDateFormat getInstance(java.lang.String, java.util.Locale) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat org.apache.commons.lang.time.FastDateFormat getInstance(java.lang.String, java.util.TimeZone) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat org.apache.commons.lang.time.FastDateFormat getInstance(java.lang.String, java.util.TimeZone) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat org.apache.commons.lang.time.FastDateFormat getInstance(java.lang.String, java.util.TimeZone, java.util.Locale) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat org.apache.commons.lang.time.FastDateFormat getInstance(java.lang.String, java.util.TimeZone, java.util.Locale) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat org.apache.commons.lang.time.FastDateFormat getInstance(java.lang.String, java.util.TimeZone, java.util.Locale) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat org.apache.commons.lang.time.FastDateFormat.NumberRule selectNumberRule(int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -391,6 +469,9 @@ <item name="org.apache.commons.lang.time.FastDateFormat.CharacterLiteral void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat.CharacterLiteral void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat.PaddedNumberField void appendTo(java.lang.StringBuffer, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -400,18 +481,27 @@ <item name="org.apache.commons.lang.time.FastDateFormat.PaddedNumberField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat.Pair boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat.Pair java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.time.FastDateFormat.StringLiteral void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat.StringLiteral void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat.TextField void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.commons.lang.time.FastDateFormat.TextField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TimeZoneDisplayKey boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/anakia/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/anakia/annotations.xml index a2e1c91b68a7..81935a0dc483 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/anakia/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/anakia/annotations.xml @@ -29,6 +29,9 @@ <item name="org.apache.velocity.anakia.AnakiaJDOMFactory org.jdom.Element element(java.lang.String, org.jdom.Namespace)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.anakia.AnakiaTask java.lang.String getRelativePath(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.anakia.AnakiaTask java.lang.String getRelativePath(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> @@ -70,6 +73,9 @@ <item name="org.apache.velocity.anakia.NodeList NodeList(org.jdom.Element) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.anakia.NodeList boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.anakia.NodeList boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -81,6 +87,9 @@ <item name="org.apache.velocity.anakia.NodeList org.apache.velocity.anakia.NodeList selectNodes(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.anakia.NodeList.AttributeXMLOutputter AttributeXMLOutputter(org.apache.velocity.anakia.NodeList.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.anakia.NodeList.AttributeXMLOutputter void output(org.jdom.Attribute, java.io.Writer) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/annotations.xml new file mode 100644 index 000000000000..7ef87f095569 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/annotations.xml @@ -0,0 +1,8 @@ +<root> + <item name="org.apache.velocity.VelocityContext VelocityContext(java.util.Map) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.VelocityContext VelocityContext(java.util.Map, org.apache.velocity.context.Context) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/annotations.xml index ad9def7fd362..d1987cbafc38 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/annotations.xml @@ -1,14 +1,23 @@ <root> + <item name="org.apache.velocity.app.event.EventCartridge boolean addEventHandler(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.EventCartridge boolean addEventHandler(org.apache.velocity.app.event.EventHandler)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.velocity.app.event.EventCartridge boolean attachToContext(org.apache.velocity.context.Context) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.EventCartridge boolean attachToContext(org.apache.velocity.context.Context)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.velocity.app.event.EventCartridge boolean removeEventHandler(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.EventCartridge boolean removeEventHandler(org.apache.velocity.app.event.EventHandler)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -59,12 +68,24 @@ <item name="org.apache.velocity.app.event.EventHandlerUtil java.lang.String includeEvent(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.String, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil void callEventHandlers(java.util.Iterator, java.util.Iterator, org.apache.velocity.app.event.EventHandlerMethodExecutor) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil void callEventHandlers(java.util.Iterator, java.util.Iterator, org.apache.velocity.app.event.EventHandlerMethodExecutor) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil void initializeEventCartridge(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.app.event.EventCartridge) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.EventHandlerUtil void invalidSetMethod(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.String, org.apache.velocity.util.introspection.Info) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.app.event.EventHandlerUtil void invalidSetMethod(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.String, org.apache.velocity.util.introspection.Info) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil void iterateOverEventHandlers(java.util.Iterator, org.apache.velocity.app.event.EventHandlerMethodExecutor) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.IncludeEventHandler.IncludeEventExecutor void execute(org.apache.velocity.app.event.EventHandler) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/implement/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/implement/annotations.xml index 5591ed681847..643ea130fd54 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/implement/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/implement/annotations.xml @@ -31,12 +31,21 @@ <item name="org.apache.velocity.app.event.implement.EscapeXmlReference java.lang.String getMatchAttribute()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.app.event.implement.IncludeNotFound java.lang.String includeEvent(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.implement.IncludeNotFound java.lang.String includeEvent(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.implement.IncludeNotFound void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.app.event.implement.IncludeRelativePath java.lang.String includeEvent(java.lang.String, java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.app.event.implement.IncludeRelativePath java.lang.String includeEvent(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.implement.IncludeRelativePath java.lang.String includeEvent(java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null""/> @@ -48,6 +57,12 @@ <item name="org.apache.velocity.app.event.implement.InvalidReferenceInfo java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.app.event.implement.PrintExceptions java.lang.Object methodException(java.lang.Class, java.lang.String, java.lang.Exception) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.implement.PrintExceptions java.lang.Object methodException(java.lang.Class, java.lang.String, java.lang.Exception) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.implement.PrintExceptions java.lang.Object methodException(java.lang.Class, java.lang.String, java.lang.Exception) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -57,6 +72,12 @@ <item name="org.apache.velocity.app.event.implement.PrintExceptions java.lang.String getStackTrace(java.lang.Throwable) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences boolean invalidSetMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.String, org.apache.velocity.util.introspection.Info) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences boolean invalidSetMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.String, org.apache.velocity.util.introspection.Info) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences boolean invalidSetMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.String, org.apache.velocity.util.introspection.Info) 3"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -65,6 +86,15 @@ <val val=""!null,_,_,_->false;_,!null,_,_->false;_,_,!null,_->false;_,_,_,!null->false;_,_,_,null->false;_,_,null,_->false;_,null,_,_->false;null,_,_,_->false""/> </annotation> </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences java.lang.Object invalidGetMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences java.lang.Object invalidGetMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences java.lang.Object invalidGetMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences java.lang.Object invalidGetMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 4"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -73,6 +103,15 @@ <val val=""!null,_,_,_,_->null;_,!null,_,_,_->null;_,_,!null,_,_->null;_,_,_,!null,_->null;_,_,_,_,!null->null;_,_,_,_,null->null;_,_,_,null,_->null;_,_,null,_,_->null;_,null,_,_,_->null;null,_,_,_,_->null""/> </annotation> </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences java.lang.Object invalidMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences java.lang.Object invalidMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences java.lang.Object invalidMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences java.lang.Object invalidMethod(org.apache.velocity.context.Context, java.lang.String, java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 4"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/tools/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/tools/annotations.xml index 855a668ec63b..0117ad6dfb45 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/tools/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/tools/annotations.xml @@ -1,15 +1,30 @@ <root> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.Object isNull(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.Object isNull(java.lang.Object, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->!null""/> </annotation> </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String formatArray(java.lang.Object, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String formatArray(java.lang.Object, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String formatArray(java.lang.Object, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String formatVector(java.util.List, java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String formatVector(java.util.List, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String formatVector(java.util.List, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String formatVector(java.util.List, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/context/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/context/annotations.xml index 2e739fb35c61..62279b8f44db 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/context/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/context/annotations.xml @@ -1,19 +1,31 @@ <root> + <item name="org.apache.velocity.context.AbstractContext boolean containsKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.context.AbstractContext boolean containsKey(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.velocity.context.AbstractContext java.lang.Object get(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.context.AbstractContext java.lang.Object get(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> </annotation> </item> + <item name="org.apache.velocity.context.AbstractContext java.lang.Object put(java.lang.String, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.context.AbstractContext java.lang.Object put(java.lang.String, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> </annotation> </item> + <item name="org.apache.velocity.context.AbstractContext java.lang.Object remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.context.AbstractContext java.lang.Object remove(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->null""/> @@ -31,6 +43,12 @@ <item name="org.apache.velocity.context.ProxyVMContext boolean isConstant(org.apache.velocity.runtime.parser.node.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.context.ProxyVMContext void addVMProxyArg(org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.String, org.apache.velocity.runtime.Renderable) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.context.ProxyVMContext void addVMProxyArg(org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.String, org.apache.velocity.runtime.Renderable) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.context.ProxyVMContext void addVMProxyArg(org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.String, org.apache.velocity.runtime.parser.node.Node) 3"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/convert/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/convert/annotations.xml index 8303b86a3cba..0f266c90651e 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/convert/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/convert/annotations.xml @@ -2,6 +2,9 @@ <item name="org.apache.velocity.convert.WebMacro boolean writeTemplate(java.lang.String, java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.convert.WebMacro boolean writeTemplate(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.convert.WebMacro boolean writeTemplate(java.lang.String, java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null,_->false""/> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/exception/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/exception/annotations.xml index d7d2ee1dcb64..d9611079bfb5 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/exception/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/exception/annotations.xml @@ -11,7 +11,13 @@ <item name="org.apache.velocity.exception.ParseErrorException ParseErrorException(org.apache.velocity.exception.VelocityException, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.exception.ParseErrorException ParseErrorException(org.apache.velocity.exception.VelocityException, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.exception.ParseErrorException ParseErrorException(org.apache.velocity.runtime.parser.ParseException, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.exception.ParseErrorException ParseErrorException(org.apache.velocity.runtime.parser.ParseException, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> </root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/io/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/io/annotations.xml index 75ca57304d5b..f55b4257f29a 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/io/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/io/annotations.xml @@ -2,7 +2,16 @@ <item name="org.apache.velocity.io.UnicodeInputStream org.apache.velocity.io.UnicodeInputStream.UnicodeBOM match(org.apache.velocity.io.UnicodeInputStream.UnicodeBOM, org.apache.velocity.io.UnicodeInputStream.UnicodeBOM) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.io.UnicodeInputStream void pushback(org.apache.velocity.io.UnicodeInputStream.UnicodeBOM) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.io.UnicodeInputStream.UnicodeBOM UnicodeBOM(java.lang.String, byte[], org.apache.velocity.io.UnicodeInputStream.1) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.io.VelocityWriter void write(char[]) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.io.VelocityWriter void write(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> </root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/annotations.xml index 457ea7d9dd4b..1dd01a70efdd 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/annotations.xml @@ -31,6 +31,12 @@ <val val=""!null,_,_,_->true;_,!null,_,_->true;_,_,!null,_->true;_,_,_,!null->true;_,_,_,null->true;_,_,null,_->true;_,null,_,_->true;null,_,_,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.RuntimeInstance org.apache.velocity.app.event.EventHandler initializeSpecificEventHandler(java.lang.String, java.lang.String, java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance org.apache.velocity.app.event.EventHandler initializeSpecificEventHandler(java.lang.String, java.lang.String, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.RuntimeInstance org.apache.velocity.app.event.EventHandler initializeSpecificEventHandler(java.lang.String, java.lang.String, java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,null->null;null,_,_->null""/> @@ -81,6 +87,9 @@ <item name="org.apache.velocity.runtime.VelocimacroFactory boolean addVelocimacro(java.lang.String, org.apache.velocity.runtime.parser.node.Node, java.lang.String[], java.lang.String) 3"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.VelocimacroFactory.Twonk Twonk(org.apache.velocity.runtime.VelocimacroFactory.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.VelocimacroManager boolean addVM(java.lang.String, org.apache.velocity.runtime.parser.node.Node, java.lang.String[], java.lang.String, boolean) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -89,10 +98,22 @@ <val val=""!null,_,_,_,_->true;_,!null,_,_,_->true;_,_,!null,_,_->true;_,_,_,!null,_->true;_,_,_,_,false->true;_,_,_,_,true->true;_,_,_,null,_->true;_,_,null,_,_->true;null,_,_,_,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.VelocimacroManager boolean usingNamespaces(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.VelocimacroManager org.apache.velocity.runtime.directive.VelocimacroProxy get(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.VelocimacroManager.MacroEntry MacroEntry(java.lang.String, org.apache.velocity.runtime.parser.node.Node, java.lang.String[], java.lang.String, org.apache.velocity.runtime.RuntimeServices) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.VelocimacroManager.MacroEntry MacroEntry(java.lang.String, org.apache.velocity.runtime.parser.node.Node, java.lang.String[], java.lang.String, org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.runtime.VelocimacroManager.1) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.VelocimacroManager.MacroEntry MacroEntry(java.lang.String, org.apache.velocity.runtime.parser.node.Node, java.lang.String[], java.lang.String, org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.runtime.VelocimacroManager.1) 5"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.VelocimacroManager.MacroEntry org.apache.velocity.runtime.directive.VelocimacroProxy getProxy(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> </root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/directive/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/directive/annotations.xml index f6cd67632cb8..e9d35d5e61e8 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/directive/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/directive/annotations.xml @@ -5,6 +5,9 @@ <item name="org.apache.velocity.runtime.directive.Block void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Block void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Block void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -14,6 +17,9 @@ <item name="org.apache.velocity.runtime.directive.BlockMacro void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Break boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Break boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -25,12 +31,21 @@ <item name="org.apache.velocity.runtime.directive.Break java.lang.String getName()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Break void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Break void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.directive.Define boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Define boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Define boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Define boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->true;_,!null,_->true;_,_,!null->true;_,_,null->true;_,null,_->true""/> @@ -42,12 +57,24 @@ <item name="org.apache.velocity.runtime.directive.Define void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Define void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Define void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <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"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Directive org.apache.velocity.runtime.directive.Scope makeScope(java.lang.Object)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Directive void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Directive void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Evaluate boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -74,12 +101,36 @@ <item name="org.apache.velocity.runtime.directive.Foreach void clean(org.apache.velocity.context.InternalContextAdapter, java.lang.Object, java.lang.Object, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Foreach void clean(org.apache.velocity.context.InternalContextAdapter, java.lang.Object, java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Foreach void clean(org.apache.velocity.context.InternalContextAdapter, java.lang.Object, java.lang.Object, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Foreach void clean(org.apache.velocity.context.InternalContextAdapter, java.lang.Object, java.lang.Object, java.lang.Object) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Foreach void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Foreach void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.directive.Foreach void put(org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Foreach.NullHolderContext NullHolderContext(java.lang.String, org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Foreach.NullHolderContext NullHolderContext(java.lang.String, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.directive.Foreach.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Foreach.NullHolderContext NullHolderContext(java.lang.String, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.directive.Foreach.1) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.ForeachScope ForeachScope(java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Include boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -88,6 +139,9 @@ <val val=""!null,_,_->true;_,!null,_->true;_,_,!null->true;_,null,_->true;null,_,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.directive.Include boolean renderOutput(org.apache.velocity.runtime.parser.node.Node, org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Include boolean renderOutput(org.apache.velocity.runtime.parser.node.Node, org.apache.velocity.context.InternalContextAdapter, java.io.Writer)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,null,_->false;null,_,_->false""/> @@ -99,9 +153,15 @@ <item name="org.apache.velocity.runtime.directive.InputBase java.lang.String getInputEncoding(org.apache.velocity.context.InternalContextAdapter) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Literal boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Literal boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Literal boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Literal boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->true;_,!null,_->true;_,_,!null->true;_,_,null->true;null,_,_->true""/> @@ -110,9 +170,21 @@ <item name="org.apache.velocity.runtime.directive.Literal java.lang.String getName()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Literal void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Literal void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Macro boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Macro boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Macro boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Macro boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->true;_,!null,_->true;_,_,!null->true;_,_,null->true;_,null,_->true;null,_,_->true""/> @@ -121,6 +193,9 @@ <item name="org.apache.velocity.runtime.directive.Macro java.lang.String getName()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Macro java.lang.StringBuffer macroToString(java.lang.StringBuffer, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Macro java.lang.StringBuffer macroToString(java.lang.StringBuffer, java.lang.String[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -138,9 +213,15 @@ <item name="org.apache.velocity.runtime.directive.Macro void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Macro void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Macro void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.MacroParseException MacroParseException(java.lang.String, java.lang.String, org.apache.velocity.runtime.parser.Token) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.MacroParseException java.lang.String getMessage()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -171,15 +252,27 @@ <item name="org.apache.velocity.runtime.directive.RuntimeMacro void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Scope Scope(java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.directive.Scope.Info Info(org.apache.velocity.runtime.directive.Scope, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Scope.Info java.lang.String toString()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Stop boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Stop boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.directive.Stop java.lang.String getName()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.directive.Stop void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.Stop void init(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -194,6 +287,9 @@ <val val=""!null,_,_,_->true;_,!null,_,_->true;_,_,!null,_->true;_,_,_,!null->true;_,_,_,null->true;_,null,_,_->true;null,_,_,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.directive.VelocimacroProxy java.lang.String buildErrorMsg(org.apache.velocity.runtime.parser.node.Node, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.directive.VelocimacroProxy java.lang.String buildErrorMsg(org.apache.velocity.runtime.parser.node.Node, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/log/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/log/annotations.xml index b49c0f73e389..f3dd5bc117e1 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/log/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/log/annotations.xml @@ -8,9 +8,18 @@ <item name="org.apache.velocity.runtime.log.CommonsLogLogChute void init(org.apache.velocity.runtime.RuntimeServices) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.log.HoldingLogChute void init(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.log.JdkLogChute void init(org.apache.velocity.runtime.RuntimeServices) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.log.JdkLogChute void log(int, java.lang.String, java.lang.Throwable) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.Log java.lang.String formatFileString(java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.log.Log java.lang.String formatFileString(java.lang.String, int, int)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -32,12 +41,30 @@ <item name="org.apache.velocity.runtime.log.Log java.lang.String formatFileString(org.apache.velocity.util.introspection.Info)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.log.Log void log(int, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.Log void log(int, java.lang.Object, java.lang.Throwable) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.log.Log void setLogChute(org.apache.velocity.runtime.log.LogChute) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.log.LogDisplayWrapper LogDisplayWrapper(org.apache.velocity.runtime.log.Log, java.lang.String, boolean) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.log.LogDisplayWrapper void log(boolean, int, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.LogDisplayWrapper void log(boolean, int, java.lang.Object, java.lang.Throwable) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.LogDisplayWrapper void log(int, java.lang.Object, java.lang.Throwable) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.LogManager boolean isProbablyProvidedLogChute(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.log.LogManager boolean isProbablyProvidedLogChute(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -52,15 +79,39 @@ <item name="org.apache.velocity.runtime.log.LogManager void updateLog(org.apache.velocity.runtime.log.Log, org.apache.velocity.runtime.RuntimeServices) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.log.NullLogChute void init(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.NullLogChute void log(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.NullLogChute void log(int, java.lang.String, java.lang.Throwable) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.NullLogChute void log(int, java.lang.String, java.lang.Throwable) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.NullLogSystem void logVelocityMessage(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.log.RuntimeLoggerLog RuntimeLoggerLog(org.apache.velocity.runtime.RuntimeLogger) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.log.RuntimeLoggerLog void setLogChute(org.apache.velocity.runtime.log.LogChute) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.log.ServletLogChute int toLevel(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.log.ServletLogChute void init(org.apache.velocity.runtime.RuntimeServices) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.log.ServletLogChute void log(int, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.ServletLogChute void log(int, java.lang.String, java.lang.Throwable) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.log.SystemLogChute int toLevel(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -73,4 +124,10 @@ <item name="org.apache.velocity.runtime.log.SystemLogChute void write(java.io.PrintStream, java.lang.String, java.lang.String, java.lang.Throwable) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.log.SystemLogChute void write(java.io.PrintStream, java.lang.String, java.lang.String, java.lang.Throwable) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.log.VelocityFormatter java.lang.String getTime(long, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> </root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/annotations.xml index 7d0bc8cdefa1..88ac417b986d 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/annotations.xml @@ -1,4 +1,7 @@ <root> + <item name="org.apache.velocity.runtime.parser.JJTParserState void clearNodeScope(org.apache.velocity.runtime.parser.node.Node) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.JJTParserState void closeNodeScope(org.apache.velocity.runtime.parser.node.Node, int) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -25,9 +28,18 @@ <item name="org.apache.velocity.runtime.parser.Parser org.apache.velocity.runtime.parser.ParseException generateParseException()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.Parser.LookaheadSuccess LookaheadSuccess(org.apache.velocity.runtime.parser.Parser.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.ParserTokenManager org.apache.velocity.runtime.parser.Token jjFillToken()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.ParserTokenManager void SkipLexicalActions(org.apache.velocity.runtime.parser.Token) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.ParserTokenManager.ParserState ParserState(org.apache.velocity.runtime.parser.ParserTokenManager.1) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.TemplateParseException java.lang.String getMessage()"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/node/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/node/annotations.xml index 5f78c94ea501..b6a2face76a9 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/node/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/node/annotations.xml @@ -5,6 +5,15 @@ <item name="org.apache.velocity.runtime.parser.node.ASTAddNode java.lang.Number perform(java.lang.Number, java.lang.Number, org.apache.velocity.context.InternalContextAdapter) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTAddNode java.lang.Number perform(java.lang.Number, java.lang.Number, org.apache.velocity.context.InternalContextAdapter) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTAddNode java.lang.Object handleSpecial(java.lang.Object, java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTAddNode java.lang.Object handleSpecial(java.lang.Object, java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTAndNode java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -19,6 +28,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTBlock java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTComment boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTComment boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -27,6 +39,9 @@ <val val=""!null,_->true;_,!null->true;null,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTComment java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTComment java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null;_,null->null""/> @@ -57,6 +72,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTElseIfStatement java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTElseStatement boolean evaluate(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTElseStatement boolean evaluate(org.apache.velocity.context.InternalContextAdapter)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->true;null->true""/> @@ -65,6 +83,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTElseStatement java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTEscape boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTEscape boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -73,6 +94,9 @@ <val val=""!null,_->true;_,!null->true;null,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTEscape java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTEscape java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null;_,null->null""/> @@ -81,6 +105,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTEscape java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTEscapedDirective boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTEscapedDirective boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -95,6 +122,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTExpression java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTFalse boolean evaluate(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTFalse boolean evaluate(org.apache.velocity.context.InternalContextAdapter)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> @@ -103,6 +133,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTFalse java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTFalse java.lang.Object value(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null;_,null->null""/> @@ -111,6 +144,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral java.lang.Object value(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTGENode java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -136,6 +172,12 @@ <item name="org.apache.velocity.runtime.parser.node.ASTIfStatement java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTIfStatement void process(org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.ParserVisitor) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTIfStatement void process(org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.ParserVisitor) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTIncludeStatement java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -160,6 +202,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTIntegerLiteral java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTIntegerLiteral java.lang.Object value(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTIntegerRange java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -172,6 +217,15 @@ <item name="org.apache.velocity.runtime.parser.node.ASTMap java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMathNode java.lang.Object handleSpecial(java.lang.Object, java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMathNode java.lang.Object handleSpecial(java.lang.Object, java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMathNode java.lang.Object handleSpecial(java.lang.Object, java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTMathNode java.lang.Object handleSpecial(java.lang.Object, java.lang.Object, org.apache.velocity.context.InternalContextAdapter)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->null;_,!null,_->null;_,_,!null->null;_,_,null->null;_,null,_->null;null,_,_->null""/> @@ -205,6 +259,15 @@ <item name="org.apache.velocity.runtime.parser.node.ASTMethod java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey MethodCacheKey(java.lang.String, java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey MethodCacheKey(java.lang.String, java.lang.Class[]) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey boolean equals(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey boolean equals(java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -219,6 +282,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTMulNode java.lang.Number perform(java.lang.Number, java.lang.Number, org.apache.velocity.context.InternalContextAdapter) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMulNode java.lang.Number perform(java.lang.Number, java.lang.Number, org.apache.velocity.context.InternalContextAdapter) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTNENode java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -239,6 +305,9 @@ <val val=""!null,_->true;_,!null->true;_,null->true;null,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTReference java.lang.Object execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTReference java.lang.Object getVariableValue(org.apache.velocity.context.Context, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -256,11 +325,17 @@ <item name="org.apache.velocity.runtime.parser.node.ASTReference java.lang.String getNullString(org.apache.velocity.context.InternalContextAdapter) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTReference java.lang.String printClass(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTReference java.lang.String printClass(java.lang.Class)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->!null""/> </annotation> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTSetDirective boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTSetDirective java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null;_,null->null""/> @@ -292,6 +367,12 @@ <item name="org.apache.velocity.runtime.parser.node.ASTSubtractNode java.lang.Number perform(java.lang.Number, java.lang.Number, org.apache.velocity.context.InternalContextAdapter) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTSubtractNode java.lang.Number perform(java.lang.Number, java.lang.Number, org.apache.velocity.context.InternalContextAdapter) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTText boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTText boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -300,6 +381,9 @@ <val val=""!null,_->true;_,!null->true;null,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTText java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTText java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null;_,null->null""/> @@ -308,6 +392,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTText java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTTextblock boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTTextblock boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -316,6 +403,9 @@ <val val=""!null,_->true;_,!null->true;null,_->true""/> </annotation> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTTextblock java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTTextblock java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,!null->!null;_,null->null""/> @@ -324,6 +414,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTTextblock java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTTrue boolean evaluate(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTTrue boolean evaluate(org.apache.velocity.context.InternalContextAdapter)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->true;null->true""/> @@ -332,6 +425,9 @@ <item name="org.apache.velocity.runtime.parser.node.ASTTrue java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.ASTTrue java.lang.Object value(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.ASTVariable java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -344,9 +440,18 @@ <item name="org.apache.velocity.runtime.parser.node.BooleanPropertyExecutor BooleanPropertyExecutor(org.apache.velocity.runtime.RuntimeLogger, org.apache.velocity.util.introspection.Introspector, java.lang.Class, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.BooleanPropertyExecutor void discover(java.lang.Class, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.GetExecutor GetExecutor(org.apache.velocity.runtime.RuntimeLogger, org.apache.velocity.util.introspection.Introspector, java.lang.Class, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.GetExecutor GetExecutor(org.apache.velocity.runtime.RuntimeLogger, org.apache.velocity.util.introspection.Introspector, java.lang.Class, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.GetExecutor GetExecutor(org.apache.velocity.runtime.log.Log, org.apache.velocity.util.introspection.Introspector, java.lang.Class, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.MapGetExecutor java.lang.Object execute(java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -401,6 +506,9 @@ <item name="org.apache.velocity.runtime.parser.node.MathUtils java.lang.Number subtract(java.lang.Number, java.lang.Number) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils java.lang.Number wrapPrimitive(long, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.MathUtils java.lang.Number wrapPrimitive(long, java.lang.Number, java.lang.Number) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -433,6 +541,12 @@ <item name="org.apache.velocity.runtime.parser.node.PropertyExecutor PropertyExecutor(org.apache.velocity.runtime.RuntimeLogger, org.apache.velocity.util.introspection.Introspector, java.lang.Class, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.PropertyExecutor void discover(java.lang.Class, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode boolean evaluate(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.SimpleNode boolean evaluate(org.apache.velocity.context.InternalContextAdapter)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> @@ -448,6 +562,12 @@ <val val=""_,!null->!null;_,null->null""/> </annotation> </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.Object execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.Object execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.Object execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_->null;_,!null->null;_,null->null;null,_->null""/> @@ -461,14 +581,23 @@ <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.Object jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.Object value(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.Object value(org.apache.velocity.context.InternalContextAdapter)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->null;null->null""/> </annotation> </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.String getLocation(org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.String getLocation(org.apache.velocity.context.InternalContextAdapter)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.String toString(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.String toString(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/annotations.xml index c85589b43d33..6d9f27bfe3ff 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/annotations.xml @@ -1,4 +1,10 @@ <root> + <item name="org.apache.velocity.runtime.resource.ResourceFactory org.apache.velocity.runtime.resource.Resource getResource(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.resource.ResourceManagerImpl org.apache.velocity.runtime.resource.Resource createResource(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.ResourceManagerImpl org.apache.velocity.runtime.resource.Resource refreshResource(org.apache.velocity.runtime.resource.Resource, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/loader/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/loader/annotations.xml index 5fc5b3a6b8f0..ca5b1efb729c 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/loader/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/loader/annotations.xml @@ -1,4 +1,7 @@ <root> + <item name="org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->false;null->false""/> @@ -7,6 +10,12 @@ <item name="org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader java.io.InputStream getResourceStream(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader long getLastModified(org.apache.velocity.runtime.resource.Resource) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader void init(org.apache.commons.collections.ExtendedProperties) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -16,41 +25,71 @@ <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader java.sql.PreparedStatement getStatement(java.sql.Connection, java.lang.String, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader java.sql.PreparedStatement getStatement(java.sql.Connection, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader long getLastModified(org.apache.velocity.runtime.resource.Resource) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader long readLastModified(org.apache.velocity.runtime.resource.Resource, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader long readLastModified(org.apache.velocity.runtime.resource.Resource, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader void closeDbConnection(java.sql.Connection) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader void closeResultSet(java.sql.ResultSet) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader void closeStatement(java.sql.PreparedStatement) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader void init(org.apache.commons.collections.ExtendedProperties) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader boolean resourceExists(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader boolean resourceExists(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> </annotation> </item> + <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader java.io.File getFile(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader java.io.File getFile(java.lang.String, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader java.io.File getFile(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader java.io.InputStream findTemplate(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader java.io.InputStream getResourceStream(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader long getLastModified(org.apache.velocity.runtime.resource.Resource) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader void closeQuiet(java.io.InputStream) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.FileResourceLoader void init(org.apache.commons.collections.ExtendedProperties) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.runtime.resource.loader.JarHolder JarHolder(org.apache.velocity.runtime.RuntimeServices, java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.JarResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.JarResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->true;null->true""/> @@ -59,6 +98,9 @@ <item name="org.apache.velocity.runtime.resource.loader.JarResourceLoader java.io.InputStream getResourceStream(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.JarResourceLoader long getLastModified(org.apache.velocity.runtime.resource.Resource) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.JarResourceLoader void init(org.apache.commons.collections.ExtendedProperties) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -74,6 +116,9 @@ <item name="org.apache.velocity.runtime.resource.loader.StringResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.StringResourceLoader boolean resourceExists(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.StringResourceLoader boolean resourceExists(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null->false""/> @@ -85,6 +130,9 @@ <item name="org.apache.velocity.runtime.resource.loader.StringResourceLoader long getLastModified(org.apache.velocity.runtime.resource.Resource) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.runtime.resource.loader.StringResourceLoader org.apache.velocity.runtime.resource.util.StringResourceRepository createRepository(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.runtime.resource.loader.StringResourceLoader void init(org.apache.commons.collections.ExtendedProperties) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/servlet/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/servlet/annotations.xml index a1d5f80fe4ca..8c2789a533bf 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/servlet/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/servlet/annotations.xml @@ -1,13 +1,28 @@ <root> + <item name="org.apache.velocity.servlet.VelocityServlet java.lang.String chooseCharacterEncoding(javax.servlet.http.HttpServletRequest) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.servlet.VelocityServlet java.util.Properties loadConfiguration(javax.servlet.ServletConfig) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> <item name="org.apache.velocity.servlet.VelocityServlet java.util.Properties loadConfiguration(javax.servlet.ServletConfig)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.servlet.VelocityServlet org.apache.velocity.Template handleRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.velocity.context.Context) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.servlet.VelocityServlet org.apache.velocity.Template handleRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.velocity.context.Context) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.servlet.VelocityServlet org.apache.velocity.Template handleRequest(org.apache.velocity.context.Context) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.servlet.VelocityServlet org.apache.velocity.context.Context createContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.servlet.VelocityServlet void error(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.Exception) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.servlet.VelocityServlet void error(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.Exception) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -17,6 +32,15 @@ <item name="org.apache.velocity.servlet.VelocityServlet void mergeTemplate(org.apache.velocity.Template, org.apache.velocity.context.Context, javax.servlet.http.HttpServletResponse) 2"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.servlet.VelocityServlet void requestCleanup(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.velocity.context.Context) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.servlet.VelocityServlet void requestCleanup(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.velocity.context.Context) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.servlet.VelocityServlet void requestCleanup(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.velocity.context.Context) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.servlet.VelocityServlet void setContentType(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/annotations.xml index bea0f093ad72..8dbb538e058e 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/annotations.xml @@ -1,10 +1,37 @@ <root> + <item name="org.apache.velocity.texen.Generator Generator(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.texen.Generator Generator(java.util.Properties) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.texen.Generator java.io.Writer getWriter(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.texen.Generator java.io.Writer getWriter(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.texen.Generator java.io.Writer getWriter(java.lang.String, java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.texen.Generator java.lang.String parse(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.texen.Generator java.lang.String parse(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.texen.Generator java.lang.String parse(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Object) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.texen.Generator java.lang.String parse(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Object) 4"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.texen.Generator java.lang.String parse(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Object) 5"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.texen.Generator org.apache.velocity.Template getTemplate(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.texen.Generator void fillContextDefaults(org.apache.velocity.context.Context) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/util/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/util/annotations.xml index 353ade77c7bc..20c60fde4b7b 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/util/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/util/annotations.xml @@ -5,6 +5,9 @@ <item name="org.apache.velocity.texen.util.FileUtil java.io.File file(java.lang.String)"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.texen.util.FileUtil java.io.File file(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.texen.util.FileUtil java.io.File file(java.lang.String, java.lang.String) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/annotations.xml index e60004f3fd63..8b1334446ad3 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/annotations.xml @@ -27,6 +27,9 @@ <val val=""!null,_->!null;null,_->null""/> </annotation> </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String chop(java.lang.String, int, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.StringUtils java.lang.String chop(java.lang.String, int, java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null,_,_->!null;null,_,_->null""/> @@ -65,9 +68,12 @@ <item name="org.apache.velocity.util.StringUtils java.lang.String normalizePath(java.lang.String) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String nullTrim(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.StringUtils java.lang.String nullTrim(java.lang.String)"> <annotation name="org.jetbrains.annotations.Contract"> - <val val=""null->null""/> + <val val=""!null->!null;null->null""/> </annotation> </item> <item name="org.apache.velocity.util.StringUtils java.lang.String removeAndHump(java.lang.String)"> @@ -101,6 +107,9 @@ <item name="org.apache.velocity.util.StringUtils java.lang.StringBuffer stringSubstitution(java.lang.String, java.util.Map) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.util.StringUtils java.util.List trimStrings(java.util.List) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.StringUtils java.util.List trimStrings(java.util.List)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""!null->!null;null->null""/> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/introspection/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/introspection/annotations.xml index 4518a467c463..4fd41ea336be 100644 --- a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/introspection/annotations.xml +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/introspection/annotations.xml @@ -5,6 +5,9 @@ <item name="org.apache.velocity.util.introspection.ClassMap void populateMethodCacheWithInterface(org.apache.velocity.util.introspection.ClassMap.MethodCache, java.lang.Class) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.util.introspection.ClassMap.MethodCache MethodCache(org.apache.velocity.runtime.log.Log, org.apache.velocity.util.introspection.ClassMap.1) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.introspection.ClassMap.MethodCache java.lang.String makeMethodKey(java.lang.String, java.lang.Object[]) 1"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> @@ -90,11 +93,20 @@ <item name="org.apache.velocity.util.introspection.MethodMap void add(java.lang.reflect.Method) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.util.introspection.SecureIntrospectorImpl boolean checkObjectExecutePermission(java.lang.Class, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.introspection.SecureIntrospectorImpl java.lang.reflect.Method getMethod(java.lang.Class, java.lang.String, java.lang.Object[])"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""_,_,null->null;null,_,_->null""/> </annotation> </item> + <item name="org.apache.velocity.util.introspection.SecureUberspector java.util.Iterator getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.util.introspection.SecureUberspector java.util.Iterator getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.introspection.SecureUberspector java.util.Iterator getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_->null""/> @@ -103,16 +115,37 @@ <item name="org.apache.velocity.util.introspection.UberspectImpl java.util.Iterator getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) 0"> <annotation name="org.jetbrains.annotations.NotNull"/> </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl java.util.Iterator getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) 1"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelMethod getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelMethod getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelMethod getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_,_->null""/> </annotation> </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) 2"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_->null""/> </annotation> </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelPropertySet getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) 0"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelPropertySet getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) 3"> + <annotation name="org.jetbrains.annotations.Nullable"/> + </item> <item name="org.apache.velocity.util.introspection.UberspectImpl org.apache.velocity.util.introspection.VelPropertySet getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info)"> <annotation name="org.jetbrains.annotations.Contract"> <val val=""null,_,_,_->null""/> diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/GetterResultsNotSame.java b/java/java-tests/testData/inspection/dataFlow/fixture/GetterResultsNotSame.java new file mode 100644 index 000000000000..1b60a7373900 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/GetterResultsNotSame.java @@ -0,0 +1,26 @@ +class Main { + + public static String getSameObject() { + return ""; // same object for any call + } + + public static Main getNewObject() { + return new Main(); // different objects for different subsequent calls + } + + public static void main(String[] args) { + Main m = new Main(); + + if (m.getSameObject() == m.getSameObject()) { + System.out.println("This will get printed"); + } + + if (m.getNewObject() == m.getNewObject()) { + System.out.println("This will not get printed"); + } + + if (Main.getNewObject() == Main.getNewObject()) { + System.out.println("This will not get printed"); + } + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/SwitchOnNullable.java b/java/java-tests/testData/inspection/dataFlow/fixture/SwitchOnNullable.java new file mode 100644 index 000000000000..c74852064bf4 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/SwitchOnNullable.java @@ -0,0 +1,10 @@ +import org.jetbrains.annotations.Nullable; + +class BrokenAlignment { + + void test(@Nullable String n) { + switch (<warning descr="Dereference of 'n' may produce 'java.lang.NullPointerException'">n</warning>) { + + } + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/psi/repositoryUse/scr17094/classes/a/a/a/a/e/f/i.class b/java/java-tests/testData/psi/repositoryUse/deepPackages/classes/a/a/a/a/e/f/i.class Binary files differindex 3b64eb80cda2..3b64eb80cda2 100644 --- a/java/java-tests/testData/psi/repositoryUse/scr17094/classes/a/a/a/a/e/f/i.class +++ b/java/java-tests/testData/psi/repositoryUse/deepPackages/classes/a/a/a/a/e/f/i.class diff --git a/java/java-tests/testData/psi/repositoryUse/scr17094/classes2/com/intellij/internal/a/b/a/i.class b/java/java-tests/testData/psi/repositoryUse/deepPackages/classes2/com/intellij/internal/a/b/a/i.class Binary files differindex 26bf433c204a..26bf433c204a 100644 --- a/java/java-tests/testData/psi/repositoryUse/scr17094/classes2/com/intellij/internal/a/b/a/i.class +++ b/java/java-tests/testData/psi/repositoryUse/deepPackages/classes2/com/intellij/internal/a/b/a/i.class diff --git a/java/java-tests/testData/psi/repositoryUse/scr17094/classes1/com/intellij/util/d/bw.class b/java/java-tests/testData/psi/repositoryUse/scr17094/classes1/com/intellij/util/d/bw.class Binary files differdeleted file mode 100644 index 46b8238fc620..000000000000 --- a/java/java-tests/testData/psi/repositoryUse/scr17094/classes1/com/intellij/util/d/bw.class +++ /dev/null diff --git a/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/after/Bar.java b/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/after/Bar.java new file mode 100644 index 000000000000..8ca1dc15c524 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/after/Bar.java @@ -0,0 +1,6 @@ +import static Foo.foo; +public class Bar { + void bar() { + foo(1); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/after/Foo.java b/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/after/Foo.java new file mode 100644 index 000000000000..a72e7b529652 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/after/Foo.java @@ -0,0 +1,3 @@ +public class Foo { + public static void foo(int i){} +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/before/Bar.java b/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/before/Bar.java new file mode 100644 index 000000000000..19bfccb3a7cf --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/before/Bar.java @@ -0,0 +1,7 @@ +import static Foo.foo; +public class Bar { + void bar() { + foo(); + foo(1); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/before/Foo.java b/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/before/Foo.java new file mode 100644 index 000000000000..9b8067c73350 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/multifile/preserveStaticImportsIfOverloaded/before/Foo.java @@ -0,0 +1,4 @@ +public class Foo { + public static void foo(){} + public static void foo(int i){} +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/after/Bar.java b/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/after/Bar.java new file mode 100644 index 000000000000..2f1dfde98c09 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/after/Bar.java @@ -0,0 +1,4 @@ +public class Bar { + void bar() { + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/after/Foo.java b/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/after/Foo.java new file mode 100644 index 000000000000..a72e7b529652 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/after/Foo.java @@ -0,0 +1,3 @@ +public class Foo { + public static void foo(int i){} +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/before/Bar.java b/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/before/Bar.java new file mode 100644 index 000000000000..0d111602e175 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/before/Bar.java @@ -0,0 +1,6 @@ +import static Foo.foo; +public class Bar { + void bar() { + foo(); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/before/Foo.java b/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/before/Foo.java new file mode 100644 index 000000000000..9b8067c73350 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/multifile/removeStaticImportsIfOverloadedUnused/before/Foo.java @@ -0,0 +1,4 @@ +public class Foo { + public static void foo(){} + public static void foo(int i){} +}
\ No newline at end of file diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/GenerateGetterSetterTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/GenerateGetterSetterTest.groovy index 273ab150d8c5..4aabc1448492 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/GenerateGetterSetterTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/GenerateGetterSetterTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 JetBrains s.r.o. + * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import com.intellij.openapi.command.WriteCommandAction import com.intellij.openapi.editor.Editor import com.intellij.openapi.project.Project import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase +import com.intellij.util.ui.UIUtil import com.siyeh.ig.style.UnqualifiedFieldAccessInspection import org.jetbrains.annotations.Nullable /** @@ -103,5 +104,6 @@ class Foo { } }.invoke(project, myFixture.editor, myFixture.file) }) + UIUtil.dispatchAllInvocationEvents() } } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java index 9ca3b6084a43..37aa8852136b 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java @@ -74,6 +74,22 @@ public class JavaTypingTest extends LightPlatformCodeInsightFixtureTestCase { myFixture.checkResultByFile(getTestName(true) + "_after.java"); } + public void testFixIfByBrace() { + doTest('{'); + } + + public void testFixIfByBraceNewObject() { + doTest('{'); + } + + public void testFixIfByBraceCompositeCondition() { + doTest('{'); + } + + public void testFixWhileByBrace() { + doTest('{'); + } + private void doTest(char c) { myFixture.configureByFile(getTestName(true) + "_before.java"); myFixture.type(c); diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy index 7391f93a1ab2..1dd75011d3b8 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy @@ -14,6 +14,7 @@ * limitations under the License. */ package com.intellij.codeInsight.completion + import com.intellij.codeInsight.CodeInsightSettings import com.intellij.codeInsight.TargetElementUtil import com.intellij.codeInsight.completion.impl.CompletionServiceImpl @@ -24,10 +25,7 @@ import com.intellij.codeInsight.lookup.LookupManager import com.intellij.codeInsight.lookup.PsiTypeLookupItem import com.intellij.codeInsight.lookup.impl.LookupImpl import com.intellij.codeInsight.template.* -import com.intellij.codeInsight.template.impl.LiveTemplateDocumentationProvider -import com.intellij.codeInsight.template.impl.TemplateImpl -import com.intellij.codeInsight.template.impl.TemplateManagerImpl -import com.intellij.codeInsight.template.impl.TemplateSettings +import com.intellij.codeInsight.template.impl.* import com.intellij.ide.DataManager import com.intellij.ide.ui.UISettings import com.intellij.openapi.Disposable @@ -53,6 +51,7 @@ import com.intellij.openapi.util.Disposer import com.intellij.psi.PsiClass import com.intellij.psi.PsiFile import com.intellij.psi.PsiJavaFile +import com.intellij.psi.PsiMethod import com.intellij.psi.statistics.StatisticsManager import com.intellij.psi.statistics.impl.StatisticsManagerImpl import com.intellij.testFramework.EditorTestUtil @@ -60,6 +59,7 @@ import com.intellij.util.containers.ContainerUtil import org.jetbrains.annotations.NotNull import java.awt.event.KeyEvent + /** * @author peter */ @@ -974,8 +974,15 @@ class Foo { return ((PsiJavaFile)myFixture.file).getClasses()[0]; } }); - def foo = cls.methods[0] - def goo = cls.methods[2] + + PsiMethod[] methods = ApplicationManager.getApplication().runReadAction(new Computable<PsiMethod[]>() { + @Override + public PsiMethod[] compute() { + return cls.methods; + } + }) + def foo = methods[0] + def goo = methods[2] type('x') assertContains 'x__foo', 'x__goo' edt { @@ -1292,7 +1299,7 @@ class Foo {{ type '.' assert myFixture.lookupElementStrings == ['Util.bar', 'Util.CONSTANT', 'Util.foo'] - def p = LookupElementPresentation.renderElement(myFixture.lookupElements[1]) + def p = ApplicationManager.application.runReadAction ({ LookupElementPresentation.renderElement(myFixture.lookupElements[1]) } as Computable) assert p.itemText == 'Util.CONSTANT' assert p.tailText == ' (foo)' assert p.typeText == 'int' @@ -1653,4 +1660,25 @@ class Foo {{ type 'toStr' assert lookup } + + public void "test show popup with single live template if show_live_tempate_in_completion option is enabled"() { + def oldValue = LiveTemplateCompletionContributor.ourShowTemplatesInTests + try { + LiveTemplateCompletionContributor.ourShowTemplatesInTests = false + myFixture.configureByText "a.java", """ +class Foo {{ + ita<caret> +""" + type 'r' + assert lookup == null + + LiveTemplateCompletionContributor.ourShowTemplatesInTests = true + type '\br' + assert lookup + assert myFixture.lookupElementStrings == ['itar'] + } + finally { + LiveTemplateCompletionContributor.ourShowTemplatesInTests = oldValue + } + } } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/completion/KeywordCompletionTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/completion/KeywordCompletionTest.java index 6b9cff3f6149..59029a2fb05a 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/KeywordCompletionTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/KeywordCompletionTest.java @@ -106,7 +106,9 @@ public class KeywordCompletionTest extends LightCompletionTestCase { public void testReturnInTernary() throws Exception { doTest(1, "return"); } public void testFinalAfterParameterAnno() throws Exception { doTest(2, "final", "float", "class"); } public void testFinalAfterParameterAnno2() throws Exception { doTest(2, "final", "float", "class"); } - public void testFinalAfterCase() throws Exception { doTest(3, "final", "float", "class"); } + public void testFinalAfterCase() { doTest(3, "final", "float", "class"); } + public void testFinalInCatch() { doTest(1, "final"); } + public void testFinalInIncompleteCatch() { doTest(1, "final"); } public void testFinalInTryWithResources() throws Exception { doTest(1, "final", "float", "class"); } public void testNoFinalAfterTryBody() throws Exception { doTest(1, "final", "finally"); } public void testClassInMethod() throws Exception { doTest(2, "class", "char"); } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/completion/NormalCompletionOrderingTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/completion/NormalCompletionOrderingTest.groovy index 900555d21ab9..821e5f31fb91 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/NormalCompletionOrderingTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/NormalCompletionOrderingTest.groovy @@ -638,7 +638,7 @@ interface TxANotAnno {} } public void testPreferThrownExceptionsInCatch() { - checkPreferredItems 0, 'FileNotFoundException', 'File' + checkPreferredItems 0, 'final', 'FileNotFoundException', 'File' } public void testHonorFirstLetterCase() { diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionTest.java index 5153f19fe94a..967de28820e8 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionTest.java @@ -777,6 +777,11 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase { myFixture.assertPreferredCompletionItems(0, "i", "z", "zz", "i, z, zz"); } + public void testSuggestTypeParametersInTypeArgumentList() { + configureByTestName(); + myFixture.assertPreferredCompletionItems(0, "T", "String"); + } + public void testWrongAnonymous() throws Throwable { configureByTestName(); select(); diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java index 688e83b5b198..09225b64bc1d 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java @@ -372,6 +372,8 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA126633() { doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false); } public void testIDEA124363() { doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false); } public void testIDEA78402() { doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false); } + public void testSuperCaptureSubstitutionWhenTypeParameterHasUpperBounds() { doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false); } + public void testParameterBoundsWithCapturedWildcard() { doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false); } //jdk should propagate LL 1.4 but actually it provides LL 1.7?! public void testCastObjectToIntJdk14() { doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_4, false); } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/FindFunctionalInterfaceTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/FindFunctionalInterfaceTest.java index a6a75b7c061c..2427748b22d4 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/FindFunctionalInterfaceTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/FindFunctionalInterfaceTest.java @@ -16,6 +16,7 @@ package com.intellij.codeInsight.daemon.lambda; import com.intellij.JavaTestUtil; +import com.intellij.idea.Bombed; import com.intellij.psi.*; import com.intellij.psi.search.searches.FunctionalExpressionSearch; import com.intellij.psi.search.searches.ReferencesSearch; @@ -24,6 +25,7 @@ import com.intellij.testFramework.LightProjectDescriptor; import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase; import org.jetbrains.annotations.NotNull; +import java.util.Calendar; import java.util.Collection; public class FindFunctionalInterfaceTest extends LightCodeInsightFixtureTestCase { @@ -40,6 +42,7 @@ public class FindFunctionalInterfaceTest extends LightCodeInsightFixtureTestCase assertEquals("() -> {}", next.getText()); } + @Bombed(day = 30, month = Calendar.SEPTEMBER) public void testFieldFromAnonymousClassScope() throws Exception { myFixture.configureByFile(getTestName(false) + ".java"); final PsiElement elementAtCaret = myFixture.getElementAtCaret(); diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GenericsHighlighting8Test.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GenericsHighlighting8Test.java index d23dfea6daf0..a66d999b283c 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GenericsHighlighting8Test.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GenericsHighlighting8Test.java @@ -688,7 +688,7 @@ public class GenericsHighlighting8Test extends LightDaemonAnalyzerTestCase { public void testIDEA110869() { doTest(); } - /*public void testIDEA110947() { doTest5(false); }*/ + public void testIDEA110947() { doTest(false); } public void testIDEA112122() { doTest(); } @@ -759,6 +759,10 @@ public class GenericsHighlighting8Test extends LightDaemonAnalyzerTestCase { doTest(); } + public void testIDEA128333() throws Exception { + doTest(); + } + public void testIDEA78402() { doTest(); } private void doTest() { diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java index c2ab020f09f3..7585d661b289 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java @@ -47,16 +47,20 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase doTest(); } - @Bombed(day = 20, month = Calendar.AUGUST) + @Bombed(day = 30, month = Calendar.SEPTEMBER) public void testInferenceFromSiblings() throws Exception { doTest(); } - @Bombed(day = 20, month = Calendar.AUGUST) + @Bombed(day = 30, month = Calendar.SEPTEMBER) public void testChainedInferenceTypeParamsOrderIndependent() throws Exception { doTest(); } + public void testCyclicParamsDependency() throws Exception { + doTest(); + } + public void testInferenceForFirstArg() throws Exception { doTest(); } @@ -216,6 +220,21 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase public void testIDEA127928() throws Exception { doTest(); } + public void testIDEA128766() throws Exception { + doTest(); + } + + public void testSameMethodNestedChainedCallsNearFunctionInterfaces() throws Exception { + doTest(); + } + + public void testInfiniteTypes() throws Exception { + doTest(); + } + + public void testIDEA126163() throws Exception { + doTest(); + } private void doTest() throws Exception { doTest(false); diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/NewLambdaHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/NewLambdaHighlightingTest.java index 1411249b3dcc..1da75f51ba6f 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/NewLambdaHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/NewLambdaHighlightingTest.java @@ -76,8 +76,9 @@ public class NewLambdaHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA122616() { doTest(); } public void testIDEA122700() { doTest(); } public void testIDEA122406() { doTest(); } + @Bombed(day = 30, month = Calendar.SEPTEMBER) public void testNestedCallsInsideLambdaReturnExpression() { doTest(); } - @Bombed(day = 20, month = Calendar.AUGUST) + @Bombed(day = 30, month = Calendar.SEPTEMBER) public void testIDEA123731() { doTest(); } public void testIDEA123869() { doTest(); } public void testIDEA123848() { doTest(); } @@ -98,7 +99,7 @@ public class NewLambdaHighlightingTest extends LightDaemonAnalyzerTestCase { doTest(); } - @Bombed(day = 20, month = Calendar.AUGUST) + @Bombed(day = 30, month = Calendar.SEPTEMBER) public void testIDEA124983() throws Exception { doTest(); } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/NewMethodRefHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/NewMethodRefHighlightingTest.java index c48ef71d92d4..c981137d0253 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/NewMethodRefHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/NewMethodRefHighlightingTest.java @@ -288,7 +288,7 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase { doTest(); } - @Bombed(day = 20, month = Calendar.AUGUST) + @Bombed(day = 30, month = Calendar.SEPTEMBER) public void testIDEA127275_() throws Exception { doTest(); } @@ -305,6 +305,15 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase { doTest(); } + @Bombed(day = 30, month = Calendar.SEPTEMBER) + public void testAdditionalConstraints3Level() throws Exception { + doTest(); + } + + public void testWildcardParametrization() throws Exception { + doTest(); + } + private void doTest() { doTest(false); } diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/ContractInferenceFromSourceTest.groovy b/java/java-tests/testSrc/com/intellij/codeInspection/ContractInferenceFromSourceTest.groovy index 89762efe5dd2..c3bb014d8342 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/ContractInferenceFromSourceTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInspection/ContractInferenceFromSourceTest.groovy @@ -27,7 +27,7 @@ class ContractInferenceFromSourceTest extends LightCodeInsightFixtureTestCase { def c = inferContract(""" String smth(String s) { if (s == null) return null; - return s.substring(1); + return smth(); } """) assert c == 'null -> null' @@ -310,6 +310,55 @@ class ContractInferenceFromSourceTest extends LightCodeInsightFixtureTestCase { assert c == [] } + public void "test skip empty declarations"() { + def c = inferContracts(""" + final Object foo(Object bar) { + Object o = 2; + if (bar == null) return null; + return new String("abc"); + } + """) + assert c == ['null -> null', '!null -> !null'] + } + + public void "test go inside do-while"() { + def c = inferContracts(""" + final Object foo(Object bar) { + do { + if (bar == null) return null; + bar = smth(bar); + } while (smthElse()); + return new String("abc"); + } + """) + assert c == ['null -> null'] + } + + public void "test go inside try"() { + def c = inferContracts(""" + final Object foo(Object bar) { + try { + if (bar == null) return null; + bar = smth(bar); + } finally {} + return new String("abc"); + } + """) + assert c == ['null -> null'] + } + + public void "test use invoked method notnull"() { + def c = inferContracts(""" + final Object foo(Object bar) { + if (bar == null) return null; + return doo(); + } + + @org.jetbrains.annotations.NotNull Object doo() {} + """) + assert c == ['null -> null', '!null -> !null'] + } + private String inferContract(String method) { return assertOneElement(inferContracts(method)) } diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/DataFlowInspectionTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/DataFlowInspectionTest.java index 33eb32eb0ec6..a10d02d31fca 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/DataFlowInspectionTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInspection/DataFlowInspectionTest.java @@ -109,6 +109,7 @@ public class DataFlowInspectionTest extends LightCodeInsightFixtureTestCase { public void testAssigningClassLiteralToNullable() throws Throwable { doTest(); } public void testSynchronizingOnNullable() throws Throwable { doTest(); } + public void testSwitchOnNullable() { doTest(); } public void testReturningNullFromVoidMethod() throws Throwable { doTest(); } public void testCatchRuntimeException() throws Throwable { doTest(); } @@ -214,6 +215,7 @@ public class DataFlowInspectionTest extends LightCodeInsightFixtureTestCase { public void testNoConfusionWithAnonymousConstantInitializer() { doTest(); } public void testForeachOverWildcards() { doTest(); } public void testFinalGetter() { doTest(); } + public void testGetterResultsNotSame() { doTest(); } public void testByteBufferGetter() { myFixture.addClass("package java.nio; public class MappedByteBuffer { public int getInt() {} }"); diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/UnusedLibraryInspectionTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/UnusedLibraryInspectionTest.java index bb6195a94aa7..938a86da7587 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/UnusedLibraryInspectionTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInspection/UnusedLibraryInspectionTest.java @@ -25,6 +25,7 @@ package com.intellij.codeInspection; import com.intellij.JavaTestUtil; +import com.intellij.analysis.AnalysisScope; import com.intellij.codeInspection.ex.LocalInspectionToolWrapper; import com.intellij.codeInspection.magicConstant.MagicConstantInspection; import com.intellij.codeInspection.unusedLibraries.UnusedLibrariesInspection; @@ -37,6 +38,7 @@ import com.intellij.openapi.vfs.VirtualFile; import com.intellij.testFramework.InspectionTestCase; import com.intellij.testFramework.PlatformTestUtil; import com.intellij.testFramework.PsiTestUtil; +import org.jetbrains.annotations.NotNull; public class UnusedLibraryInspectionTest extends InspectionTestCase { @Override @@ -54,5 +56,11 @@ public class UnusedLibraryInspectionTest extends InspectionTestCase { doTest("/" + getTestName(true), new UnusedLibrariesInspection()); } + @NotNull + @Override + protected AnalysisScope createAnalysisScope(VirtualFile sourceDir) { + return new AnalysisScope(getProject()); + } + public void testSimple() throws Exception { doTest(); } } diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisIntegrationTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisIntegrationTest.java index 516b140cc0b1..ab6d92263162 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisIntegrationTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisIntegrationTest.java @@ -38,7 +38,7 @@ import com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase; import com.intellij.util.AsynchConsumer; import org.jetbrains.annotations.Contract; -import java.io.IOException; +import java.security.MessageDigest; import java.util.ArrayList; import java.util.List; @@ -50,7 +50,7 @@ public class BytecodeAnalysisIntegrationTest extends JavaCodeInsightFixtureTestC private InferredAnnotationsManager myInferredAnnotationsManager; private ExternalAnnotationsManager myExternalAnnotationsManager; - + private MessageDigest myMessageDigest; private List<String> diffs = new ArrayList<String>(); @Override @@ -62,6 +62,7 @@ public class BytecodeAnalysisIntegrationTest extends JavaCodeInsightFixtureTestC myInferredAnnotationsManager = InferredAnnotationsManager.getInstance(myModule.getProject()); myExternalAnnotationsManager = ExternalAnnotationsManager.getInstance(myModule.getProject()); + myMessageDigest = BytecodeAnalysisConverter.getMessageDigest(); } private void setUpLibraries() { @@ -127,13 +128,9 @@ public class BytecodeAnalysisIntegrationTest extends JavaCodeInsightFixtureTestC } private void checkMethodAnnotations(PsiMethod method) { - try { - if (ProjectBytecodeAnalysis.getKey(method) == -1) { - return; - } - } - catch (IOException e) { - fail(); + + if (ProjectBytecodeAnalysis.getKey(method, myMessageDigest) == null) { + return; } // not null-result @@ -149,12 +146,27 @@ public class BytecodeAnalysisIntegrationTest extends JavaCodeInsightFixtureTestC for (PsiParameter parameter : method.getParameterList().getParameters()) { String parameterKey = PsiFormatUtil.getExternalName(parameter, false, Integer.MAX_VALUE); - String externalParameterAnnotation = - myExternalAnnotationsManager.findExternalAnnotation(parameter, AnnotationUtil.NOT_NULL) == null ? "null" : "@NotNull"; - String inferredParameterAnnotation = - myInferredAnnotationsManager.findInferredAnnotation(parameter, AnnotationUtil.NOT_NULL) == null ? "null" : "@NotNull"; - if (!externalParameterAnnotation.equals(inferredParameterAnnotation)) { - diffs.add(parameterKey + ": " + externalParameterAnnotation + " != " + inferredParameterAnnotation); + + { + // @NotNull + String externalNotNull = + myExternalAnnotationsManager.findExternalAnnotation(parameter, AnnotationUtil.NOT_NULL) == null ? "null" : "@NotNull"; + String inferredNotNull = + myInferredAnnotationsManager.findInferredAnnotation(parameter, AnnotationUtil.NOT_NULL) == null ? "null" : "@NotNull"; + if (!externalNotNull.equals(inferredNotNull)) { + diffs.add(parameterKey + ": " + externalNotNull + " != " + inferredNotNull); + } + } + + { + // @Nullable + String externalNullable = + myExternalAnnotationsManager.findExternalAnnotation(parameter, AnnotationUtil.NULLABLE) == null ? "null" : "@Nullable"; + String inferredNullable = + myInferredAnnotationsManager.findInferredAnnotation(parameter, AnnotationUtil.NULLABLE) == null ? "null" : "@Nullable"; + if (!externalNullable.equals(inferredNullable)) { + diffs.add(parameterKey + ": " + externalNullable + " != " + inferredNullable); + } } } diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java index 9d26fd804f68..2cbf3fbdfd6c 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java @@ -17,6 +17,7 @@ package com.intellij.codeInspection.bytecodeAnalysis; import com.intellij.codeInsight.AnnotationUtil; import com.intellij.codeInsight.InferredAnnotationsManager; +import com.intellij.codeInspection.bytecodeAnalysis.asm.LeakingParameters; import com.intellij.codeInspection.bytecodeAnalysis.data.*; import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.LocalFileSystem; @@ -37,6 +38,7 @@ import java.io.FileInputStream; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; +import java.security.MessageDigest; import java.util.HashMap; /** @@ -47,15 +49,15 @@ public class BytecodeAnalysisTest extends JavaCodeInsightFixtureTestCase { private final String myClassesProjectRelativePath = "/classes/" + Test01.class.getPackage().getName().replace('.', '/'); private JavaPsiFacade myJavaPsiFacade; private InferredAnnotationsManager myInferredAnnotationsManager; - private BytecodeAnalysisConverter myBytecodeAnalysisConverter; + private MessageDigest myMessageDigest; + @Override protected void setUp() throws Exception { super.setUp(); myJavaPsiFacade = JavaPsiFacade.getInstance(myModule.getProject()); myInferredAnnotationsManager = InferredAnnotationsManager.getInstance(myModule.getProject()); - myBytecodeAnalysisConverter = BytecodeAnalysisConverter.getInstance(); - + myMessageDigest = MessageDigest.getInstance("MD5"); setUpDataClasses(); } @@ -93,7 +95,7 @@ public class BytecodeAnalysisTest extends JavaCodeInsightFixtureTestCase { public void visitEnd() { super.visitEnd(); try { - map.put(method, cfg.leakingParameters(classReader.getClassName(), node)); + map.put(method, LeakingParameters.build(classReader.getClassName(), node, false).parameters); } catch (AnalyzerException ignore) {} } @@ -183,17 +185,21 @@ public class BytecodeAnalysisTest extends JavaCodeInsightFixtureTestCase { private void checkCompoundId(Method method, PsiMethod psiMethod, boolean noKey) throws IOException { Direction direction = new Out(); - long psiKey = myBytecodeAnalysisConverter.mkPsiKey(psiMethod, direction); + System.out.println(); + System.out.println(method.internalClassName); + System.out.println(method.methodName); + System.out.println(method.methodDesc); + + + HKey psiKey = BytecodeAnalysisConverter.psiKey(psiMethod, direction, myMessageDigest); if (noKey) { - assertTrue(-1 == psiKey); + assertTrue(null == psiKey); return; } else { - assertFalse(-1 == psiKey); + assertFalse(null == psiKey); } - - long asmKey = myBytecodeAnalysisConverter.mkAsmKey(new Key(method, direction, true)); - + HKey asmKey = BytecodeAnalysisConverter.asmKey(new Key(method, direction, true), myMessageDigest); Assert.assertEquals(asmKey, psiKey); } diff --git a/java/java-tests/testSrc/com/intellij/find/FindManagerTest.java b/java/java-tests/testSrc/com/intellij/find/FindManagerTest.java index e40e2c160822..cf876693e2f7 100644 --- a/java/java-tests/testSrc/com/intellij/find/FindManagerTest.java +++ b/java/java-tests/testSrc/com/intellij/find/FindManagerTest.java @@ -343,6 +343,28 @@ public class FindManagerTest extends DaemonAnalyzerTestCase { assertSize(2, findUsages(findModel)); } + public void testNonRecursiveDirectory() throws Exception { + VirtualFile root = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(createTempDirectory()); + addSourceContentToRoots(myModule, root); + + VirtualFile foo = createChildDirectory(root, "foo"); + VirtualFile bar = createChildDirectory(foo, "bar"); + createFile(myModule, root, "A.txt", "goo doo"); + createFile(myModule, foo, "A.txt", "goo doo"); + createFile(myModule, bar, "A.txt", "doo goo"); + + FindModel findModel = FindManagerTestUtils.configureFindModel("done"); + findModel.setProjectScope(false); + findModel.setDirectoryName(foo.getPath()); + findModel.setStringToFind("doo"); + + findModel.setWithSubdirectories(true); + assertSize(2, findUsages(findModel)); + + findModel.setWithSubdirectories(false); + assertSize(1, findUsages(findModel)); + } + public void testReplaceRegexp() { FindModel findModel = new FindModel(); findModel.setStringToFind("bug_(?=here)"); diff --git a/java/java-tests/testSrc/com/intellij/navigation/ChooseByNameTest.groovy b/java/java-tests/testSrc/com/intellij/navigation/ChooseByNameTest.groovy index 9a97a825964a..9c378a1e50cf 100644 --- a/java/java-tests/testSrc/com/intellij/navigation/ChooseByNameTest.groovy +++ b/java/java-tests/testSrc/com/intellij/navigation/ChooseByNameTest.groovy @@ -229,8 +229,14 @@ class Intf { edt { sdkRun = ourRun.containingClass.interfaces[0].methods[0] } - assert getPopupElements(new GotoSymbolModel2(project), 'run ', true) == [sdkRun] - assert getPopupElements(new GotoSymbolModel2(project), 'run ', false) == [ourRun] + + def withLibs = getPopupElements(new GotoSymbolModel2(project), 'run ', true) + assert withLibs[0] == sdkRun + assert !(ourRun in withLibs) + + def noLibs = getPopupElements(new GotoSymbolModel2(project), 'run ', false) + assert noLibs[0] == ourRun + assert !(sdkRun in noLibs) } private List<Object> getPopupElements(ChooseByNameModel model, String text, boolean checkboxState = false) { diff --git a/java/java-tests/testSrc/com/intellij/project/LoadProjectTest.java b/java/java-tests/testSrc/com/intellij/project/LoadProjectTest.java index b50e2d87c71f..69cc43416b5b 100644 --- a/java/java-tests/testSrc/com/intellij/project/LoadProjectTest.java +++ b/java/java-tests/testSrc/com/intellij/project/LoadProjectTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2012 JetBrains s.r.o. + * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import com.intellij.openapi.project.impl.ProjectImpl; import com.intellij.openapi.roots.ProjectRootManager; import com.intellij.openapi.vfs.LocalFileSystem; import com.intellij.openapi.vfs.VirtualFile; +import com.intellij.psi.PsiDocumentManager; import com.intellij.psi.PsiFile; import com.intellij.psi.impl.source.PsiFileImpl; import com.intellij.testFramework.LeakHunter; @@ -61,6 +62,8 @@ public class LoadProjectTest extends PlatformTestCase { assertNotNull(fileA); fileA.navigate(true); Editor editorA = FileEditorManager.getInstance(getProject()).openTextEditor(new OpenFileDescriptor(getProject(), a), true); + PsiDocumentManager.getInstance(getProject()).commitAllDocuments(); + assertNotNull(editorA); CodeInsightTestFixtureImpl.instantiateAndRun(fileA, editorA, new int[0], false); @@ -70,6 +73,8 @@ public class LoadProjectTest extends PlatformTestCase { assertNotNull(fileB); fileB.navigate(true); Editor editorB = FileEditorManager.getInstance(getProject()).openTextEditor(new OpenFileDescriptor(getProject(), b), true); + PsiDocumentManager.getInstance(getProject()).commitAllDocuments(); + assertNotNull(editorB); CodeInsightTestFixtureImpl.instantiateAndRun(fileB, editorB, new int[0], false); diff --git a/java/java-tests/testSrc/com/intellij/psi/SCR17094Test.java b/java/java-tests/testSrc/com/intellij/psi/FindClassInDeepPackagesTest.java index 501914bce501..5e5e010df2f7 100644 --- a/java/java-tests/testSrc/com/intellij/psi/SCR17094Test.java +++ b/java/java-tests/testSrc/com/intellij/psi/FindClassInDeepPackagesTest.java @@ -29,9 +29,13 @@ import java.io.File; /** * @author dsl */ -public class SCR17094Test extends PsiTestCase { - protected void setUpClasses(final String s) throws Exception { - final String testRoot = PathManagerEx.getTestDataPath() + "/psi/repositoryUse/scr17094"; +public class FindClassInDeepPackagesTest extends PsiTestCase { + @Override + protected void setUpJdk() { + } + + private void setUpLibrary(final String s) throws Exception { + final String testRoot = PathManagerEx.getTestDataPath() + "/psi/repositoryUse/deepPackages"; VirtualFile classesRoot = WriteCommandAction.runWriteCommandAction(null, new Computable<VirtualFile>() { @Override public VirtualFile compute() { @@ -44,20 +48,15 @@ public class SCR17094Test extends PsiTestCase { ModuleRootModificationUtil.addModuleLibrary(myModule, classesRoot.getUrl()); } - @Override - protected void setUpJdk() { - - } - public void testSRC() throws Exception { - setUpClasses("classes"); + setUpLibrary("classes"); final JavaPsiFacade psiManager = getJavaFacade(); final PsiClass classA = psiManager.findClass("a.a.a.a.e.f.i", GlobalSearchScope.moduleWithLibrariesScope(myModule)); assertNotNull(classA); } public void test3() throws Exception { - setUpClasses("classes2"); + setUpLibrary("classes2"); final JavaPsiFacade psiManager = getJavaFacade(); final PsiClass classA = psiManager.findClass("com.intellij.internal.f.a.b.a.i", GlobalSearchScope.moduleWithLibrariesScope(myModule)); assertNotNull(classA); diff --git a/java/java-tests/testSrc/com/intellij/psi/MiscPsiTest.java b/java/java-tests/testSrc/com/intellij/psi/MiscPsiTest.java index 61414ab0b416..2ed8233e99fe 100644 --- a/java/java-tests/testSrc/com/intellij/psi/MiscPsiTest.java +++ b/java/java-tests/testSrc/com/intellij/psi/MiscPsiTest.java @@ -24,6 +24,7 @@ import com.intellij.openapi.vfs.VfsUtil; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.pom.java.LanguageLevel; import com.intellij.psi.impl.source.tree.LazyParseableElement; +import com.intellij.testFramework.PlatformTestUtil; import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase; import org.jetbrains.annotations.NotNull; @@ -276,4 +277,24 @@ public class MiscPsiTest extends LightCodeInsightFixtureTestCase { assertEquals("class A{}", psiClass.getText()); assertEquals(" class A{}", document.getText()); } + + public void testASTBecomesInvalidOnExternalChange() { + final String text = "class A{}"; + final PsiJavaFile file = (PsiJavaFile)myFixture.addFileToProject("a.java", text); + PsiElement leaf = file.findElementAt(5); + + PlatformTestUtil.tryGcSoftlyReachableObjects(); + assertNull(PsiDocumentManager.getInstance(getProject()).getCachedDocument(file)); + + new WriteCommandAction.Simple(getProject()) { + @Override + protected void run() throws Throwable { + VfsUtil.saveText(file.getVirtualFile(), text + " "); + } + }.execute(); + + assertTrue(file.isValid()); + assertFalse(leaf.isValid()); + assertNotSame(leaf, file.findElementAt(5)); + } } diff --git a/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SCR17650Test.java b/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/ClassFileUnderSourceRootTest.java index 187d0c2ad80e..5311bd15dfec 100644 --- a/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SCR17650Test.java +++ b/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/ClassFileUnderSourceRootTest.java @@ -3,7 +3,6 @@ package com.intellij.psi.impl.cache.impl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ex.PathManagerEx; import com.intellij.openapi.roots.ModuleRootModificationUtil; -import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.LocalFileSystem; import com.intellij.openapi.vfs.VfsUtil; import com.intellij.openapi.vfs.VfsUtilCore; @@ -17,20 +16,15 @@ import java.io.IOException; /** * @author max */ -public class SCR17650Test extends PsiTestCase { +public class ClassFileUnderSourceRootTest extends PsiTestCase { private static final String TEST_ROOT = PathManagerEx.getTestDataPath() + "/psi/repositoryUse/cls"; - private VirtualFile myDir; @Override protected void setUp() throws Exception { super.setUp(); - final File root = FileUtil.createTempFile(getName(), ""); - root.delete(); - root.mkdir(); - myFilesToDelete.add(root); - + final File root = createTempDirectory(); ApplicationManager.getApplication().runWriteAction(new Runnable() { @Override public void run() { @@ -55,11 +49,10 @@ public class SCR17650Test extends PsiTestCase { private static VirtualFile getClassFile() { VirtualFile vDir = LocalFileSystem.getInstance().findFileByPath(TEST_ROOT.replace(File.separatorChar, '/')); - VirtualFile child = vDir.findChild("pack").findChild("MyClass.class"); - return child; + return vDir.findFileByRelativePath("pack/MyClass.class"); } - public void test17650() throws Exception { + public void testFindClass() throws Exception { assertEquals("p.A", myJavaFacade.findClass("p.A").getQualifiedName()); assertEquals("pack.MyClass", myJavaFacade.findClass("pack.MyClass").getQualifiedName()); } diff --git a/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SCR14423Test.java b/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/FindClassTest.java index 2870108623b1..e88027409dc0 100644 --- a/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SCR14423Test.java +++ b/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/FindClassTest.java @@ -18,11 +18,11 @@ package com.intellij.psi.impl.cache.impl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.WriteCommandAction; import com.intellij.openapi.fileEditor.FileDocumentManager; +import com.intellij.openapi.fileTypes.FileTypeManager; import com.intellij.openapi.roots.ContentEntry; import com.intellij.openapi.roots.ModifiableRootModel; import com.intellij.openapi.roots.ModuleRootManager; import com.intellij.openapi.roots.ModuleRootModificationUtil; -import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.LocalFileSystem; import com.intellij.openapi.vfs.VfsUtil; import com.intellij.openapi.vfs.VirtualFile; @@ -37,7 +37,7 @@ import java.io.IOException; /** * @author max */ -public class SCR14423Test extends PsiTestCase { +public class FindClassTest extends PsiTestCase { private VirtualFile myPrjDir1; private VirtualFile mySrcDir1; private VirtualFile myPackDir; @@ -46,11 +46,7 @@ public class SCR14423Test extends PsiTestCase { protected void setUp() throws Exception { super.setUp(); - final File root = FileUtil.createTempFile(getName(), ""); - root.delete(); - root.mkdir(); - myFilesToDelete.add(root); - + final File root = createTempDirectory(); WriteCommandAction.runWriteCommandAction(null, new Runnable() { @Override public void run() { @@ -75,14 +71,12 @@ public class SCR14423Test extends PsiTestCase { }); } - public void testBug2() throws Exception { + public void testSimple() throws Exception { PsiClass psiClass = myJavaFacade.findClass("p.A"); assertEquals("p.A", psiClass.getQualifiedName()); - - testBug1(); } - public void testBug1() { + public void testClassUnderExcludedFolder() { ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { PsiTestUtil.addExcludedRoot(myModule, myPackDir); @@ -101,7 +95,7 @@ public class SCR14423Test extends PsiTestCase { }); } - public void testBug3() { + public void testClassUnderIgnoredFolder() { ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { PsiClass psiClass = myJavaFacade.findClass("p.A", GlobalSearchScope.allScope(myProject)); @@ -109,14 +103,15 @@ public class SCR14423Test extends PsiTestCase { assertTrue(psiClass.isValid()); - PsiTestUtil.addExcludedRoot(myModule, myPackDir); - - assertFalse(psiClass.isValid()); - - ModifiableRootModel rootModel = ModuleRootManager.getInstance(myModule).getModifiableModel(); - final ContentEntry content = rootModel.getContentEntries()[0]; - content.removeExcludeFolder(content.getExcludeFolders()[0]); - rootModel.commit(); + FileTypeManager fileTypeManager = FileTypeManager.getInstance(); + String ignoredFilesList = fileTypeManager.getIgnoredFilesList(); + fileTypeManager.setIgnoredFilesList(ignoredFilesList + ";p"); + try { + assertFalse(psiClass.isValid()); + } + finally { + fileTypeManager.setIgnoredFilesList(ignoredFilesList); + } psiClass = myJavaFacade.findClass("p.A"); assertTrue(psiClass.isValid()); @@ -124,7 +119,7 @@ public class SCR14423Test extends PsiTestCase { }); } - public void testSyncrhonizationAfterChange() { + public void testSynchronizationAfterChange() { ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { FileDocumentManager.getInstance().saveAllDocuments(); diff --git a/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SCR20733Test.java b/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SameSourceRootInTwoModulesTest.java index 5fef7daea7d9..1a5d5faeca7c 100644 --- a/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SCR20733Test.java +++ b/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SameSourceRootInTwoModulesTest.java @@ -3,7 +3,6 @@ package com.intellij.psi.impl.cache.impl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleUtil; -import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.LocalFileSystem; import com.intellij.openapi.vfs.VfsUtil; import com.intellij.openapi.vfs.VirtualFile; @@ -18,7 +17,7 @@ import java.io.IOException; /** * @author max */ -public class SCR20733Test extends PsiTestCase { +public class SameSourceRootInTwoModulesTest extends PsiTestCase { private VirtualFile myPrjDir1; private VirtualFile mySrcDir1; private VirtualFile myPackDir; @@ -27,11 +26,7 @@ public class SCR20733Test extends PsiTestCase { protected void setUp() throws Exception { super.setUp(); - final File root = FileUtil.createTempFile(getName(), ""); - root.delete(); - root.mkdir(); - myFilesToDelete.add(root); - + final File root = createTempDirectory(); ApplicationManager.getApplication().runWriteAction(new Runnable() { @Override public void run() { diff --git a/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SCR19174Test.java b/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SourceRootAddedAsLibraryRootTest.java index c47bbf7184e8..36baf5de0d76 100644 --- a/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SCR19174Test.java +++ b/java/java-tests/testSrc/com/intellij/psi/impl/cache/impl/SourceRootAddedAsLibraryRootTest.java @@ -2,7 +2,6 @@ package com.intellij.psi.impl.cache.impl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.roots.ModuleRootModificationUtil; -import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.LocalFileSystem; import com.intellij.openapi.vfs.VfsUtil; import com.intellij.openapi.vfs.VirtualFile; @@ -16,7 +15,7 @@ import java.io.IOException; /** * @author max */ -public class SCR19174Test extends PsiTestCase { +public class SourceRootAddedAsLibraryRootTest extends PsiTestCase { private VirtualFile myDir; private VirtualFile myVFile; @@ -24,11 +23,7 @@ public class SCR19174Test extends PsiTestCase { protected void setUp() throws Exception { super.setUp(); - final File root = FileUtil.createTempFile(getName(), ""); - root.delete(); - root.mkdir(); - myFilesToDelete.add(root); - + final File root = createTempDirectory(); ApplicationManager.getApplication().runWriteAction(new Runnable() { @Override public void run() { @@ -37,12 +32,6 @@ public class SCR19174Test extends PsiTestCase { myDir = rootVFile.createChildDirectory(null, "contentAndLibrary"); - /* - myVFile = myDir.createChildData(null, "A.java"); - Writer writer1 = myVFile.getWriter(null); - writer1.write("package p; public class A{ public void foo(); }"); - writer1.close(); - */ PsiTestUtil.addSourceRoot(myModule, myDir); } catch (IOException e) { diff --git a/java/java-tests/testSrc/com/intellij/psi/impl/file/impl/PsiEventsTest.java b/java/java-tests/testSrc/com/intellij/psi/impl/file/impl/PsiEventsTest.java index 2461a4601eba..a933d5bcacf6 100644 --- a/java/java-tests/testSrc/com/intellij/psi/impl/file/impl/PsiEventsTest.java +++ b/java/java-tests/testSrc/com/intellij/psi/impl/file/impl/PsiEventsTest.java @@ -43,13 +43,11 @@ public class PsiEventsTest extends PsiTestCase { private VirtualFile myPrjDir1; private VirtualFile myPrjDir2; - private VirtualFile myPrjDir3; private VirtualFile mySrcDir1; private VirtualFile mySrcDir2; private VirtualFile mySrcDir3; - private VirtualFile mySrcDir4; private VirtualFile myClsDir1; - private VirtualFile myExcludedDir1; + private VirtualFile myIgnoredDir; @Override protected void setUp() throws Exception { @@ -76,13 +74,12 @@ public class PsiEventsTest extends PsiTestCase { myClsDir1 = myPrjDir1.createChildDirectory(null, "cls1"); - myExcludedDir1 = mySrcDir1.createChildDirectory(null, "excluded"); + myIgnoredDir = mySrcDir1.createChildDirectory(null, "CVS"); PsiTestUtil.addContentRoot(myModule, myPrjDir1); PsiTestUtil.addSourceRoot(myModule, mySrcDir1); PsiTestUtil.addSourceRoot(myModule, mySrcDir2); PsiTestUtil.addContentRoot(myModule, myPrjDir2); - PsiTestUtil.addExcludedRoot(myModule, myExcludedDir1); ModuleRootModificationUtil.addModuleLibrary(myModule, myClsDir1.getUrl()); PsiTestUtil.addSourceRoot(myModule, mySrcDir3); } catch (IOException e) { @@ -106,7 +103,7 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildAddition\n" + "childAdded\n"; - assertEquals(expected, string); + assertEquals(psiDir.getName(), expected, string); } public void testCreateDirectory() throws Exception { @@ -121,7 +118,7 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildAddition\n" + "childAdded\n"; - assertEquals(expected, string); + assertEquals(psiDir.getName(), expected, string); } public void testDeleteFile() throws Exception { @@ -139,7 +136,7 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildRemoval\n" + "childRemoved\n"; - assertEquals(expected, string); + assertEquals(psiFile.getName(), expected, string); } public void testDeleteDirectory() throws Exception { @@ -157,10 +154,10 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildRemoval\n" + "childRemoved\n"; - assertEquals(expected, string); + assertEquals(psiDirectory.getName(), expected, string); } - public void testRenameFile1() throws Exception { + public void testRenameFile() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildData(null, "a.txt"); PsiFile psiFile = fileManager.findFile(file); @@ -174,10 +171,10 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforePropertyChange\n" + "propertyChanged\n"; - assertEquals(expected, string); + assertEquals(psiFile.getName(), expected, string); } - public void testRenameFile2() throws Exception { + public void testRenameFileChangingExtension() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildData(null, "a.txt"); PsiFile psiFile = fileManager.findFile(file); @@ -191,10 +188,10 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildReplacement\n" + "childReplaced\n"; - assertEquals(expected, string); + assertEquals(psiFile.getName(), expected, string); } - public void testRenameFile3() throws Exception { + public void testRenameFileToIgnored() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildData(null, "a.txt"); PsiFile psiFile = fileManager.findFile(file); @@ -208,11 +205,11 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildRemoval\n" + "childRemoved\n"; - assertEquals(expected, string); + assertEquals(psiFile.getName(), expected, string); assertNull(fileManager.findFile(file)); } - public void testRenameFile4() throws Exception { + public void testRenameFileFromIgnored() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildData(null, "CVS"); PsiDirectory psiDirectory = fileManager.findDirectory(file.getParent()); @@ -226,10 +223,10 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildAddition\n" + "childAdded\n"; - assertEquals(expected, string); + assertEquals(psiDirectory.getName(), expected, string); } - public void testRenameDirectory1() throws Exception { + public void testRenameDirectory() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildDirectory(null, "dir1"); PsiDirectory psiDirectory = fileManager.findDirectory(file); @@ -243,10 +240,10 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforePropertyChange\n" + "propertyChanged\n"; - assertEquals(expected, string); + assertEquals(psiDirectory.getName(), expected, string); } - public void testRenameDirectory2() throws Exception { + public void testRenameDirectoryToIgnored() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildDirectory(null, "dir1"); PsiDirectory psiDirectory = fileManager.findDirectory(file); @@ -260,11 +257,11 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildRemoval\n" + "childRemoved\n"; - assertEquals(expected, string); + assertEquals(psiDirectory.getName(), expected, string); assertNull(fileManager.findDirectory(file)); } - public void testRenameDirectory3() throws Exception { + public void testRenameDirectoryFromIgnored() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildDirectory(null, "CVS"); PsiDirectory psiDirectory = fileManager.findDirectory(file.getParent()); @@ -278,7 +275,7 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildAddition\n" + "childAdded\n"; - assertEquals(expected, string); + assertEquals(psiDirectory.getName(), expected, string); } public void testMakeFileReadOnly() throws Exception { @@ -291,7 +288,6 @@ public class PsiEventsTest extends PsiTestCase { ReadOnlyAttributeUtil.setReadOnlyAttribute(file, true); - String string = listener.getEventsString(); final String expected = "beforePropertyChange\n" + "propertyChanged\n"; @@ -306,7 +302,7 @@ public class PsiEventsTest extends PsiTestCase { ReadOnlyAttributeUtil.setReadOnlyAttribute(file, false); } - public void testMoveFile1() throws Exception { + public void testMoveFile() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildData(null, "a.txt"); PsiFile psiFile = fileManager.findFile(file); @@ -320,10 +316,10 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildMovement\n" + "childMoved\n"; - assertEquals(expected, string); + assertEquals(psiFile.getName(), expected, string); } - public void testMoveFile2() throws Exception { + public void testMoveFileToIgnoredDir() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildData(null, "a.txt"); PsiFile psiFile = fileManager.findFile(file); @@ -331,19 +327,18 @@ public class PsiEventsTest extends PsiTestCase { EventsTestListener listener = new EventsTestListener(); myPsiManager.addPsiTreeChangeListener(listener,getTestRootDisposable()); - file.move(null, myExcludedDir1); + file.move(null, myIgnoredDir); String string = listener.getEventsString(); String expected = "beforeChildRemoval\n" + "childRemoved\n"; - assertEquals(expected, string); + assertEquals(psiFile.getName(), expected, string); assertNull(fileManager.findFile(file)); } - public void testMoveFile3() throws Exception { - FileManager fileManager = myPsiManager.getFileManager(); - VirtualFile file = myExcludedDir1.createChildData(null, "a.txt"); + public void testMoveFileFromIgnoredDir() throws Exception { + VirtualFile file = myIgnoredDir.createChildData(null, "a.txt"); EventsTestListener listener = new EventsTestListener(); myPsiManager.addPsiTreeChangeListener(listener,getTestRootDisposable()); @@ -357,10 +352,9 @@ public class PsiEventsTest extends PsiTestCase { assertEquals(expected, string); } - public void testMoveFile4() throws Exception { - FileManager fileManager = myPsiManager.getFileManager(); - VirtualFile file = myExcludedDir1.createChildData(null, "a.txt"); - VirtualFile subdir = myExcludedDir1.createChildDirectory(null, "subdir"); + public void testMoveFileInsideIgnoredDir() throws Exception { + VirtualFile file = myIgnoredDir.createChildData(null, "a.txt"); + VirtualFile subdir = myIgnoredDir.createChildDirectory(null, "subdir"); EventsTestListener listener = new EventsTestListener(); myPsiManager.addPsiTreeChangeListener(listener,getTestRootDisposable()); @@ -372,7 +366,7 @@ public class PsiEventsTest extends PsiTestCase { assertEquals(expected, string); } - public void testMoveDirectory1() throws Exception { + public void testMoveDirectory() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildDirectory(null, "dir"); PsiDirectory psiDirectory = fileManager.findDirectory(file); @@ -386,10 +380,10 @@ public class PsiEventsTest extends PsiTestCase { String expected = "beforeChildMovement\n" + "childMoved\n"; - assertEquals(expected, string); + assertEquals(psiDirectory.getName(), expected, string); } - public void testMoveDirectory2() throws Exception { + public void testMoveDirectoryToIgnored() throws Exception { FileManager fileManager = myPsiManager.getFileManager(); VirtualFile file = myPrjDir1.createChildDirectory(null, "dir"); PsiDirectory psiDirectory = fileManager.findDirectory(file); @@ -397,19 +391,18 @@ public class PsiEventsTest extends PsiTestCase { EventsTestListener listener = new EventsTestListener(); myPsiManager.addPsiTreeChangeListener(listener,getTestRootDisposable()); - file.move(null, myExcludedDir1); + file.move(null, myIgnoredDir); String string = listener.getEventsString(); String expected = "beforeChildRemoval\n" + "childRemoved\n"; - assertEquals(expected, string); + assertEquals(psiDirectory.getName(), expected, string); assertNull(fileManager.findDirectory(file)); } - public void testMoveDirectory3() throws Exception { - FileManager fileManager = myPsiManager.getFileManager(); - VirtualFile file = myExcludedDir1.createChildDirectory(null, "dir"); + public void testMoveDirectoryFromIgnored() throws Exception { + VirtualFile file = myIgnoredDir.createChildDirectory(null, "dir"); EventsTestListener listener = new EventsTestListener(); myPsiManager.addPsiTreeChangeListener(listener,getTestRootDisposable()); @@ -423,10 +416,9 @@ public class PsiEventsTest extends PsiTestCase { assertEquals(expected, string); } - public void testMoveDirectory4() throws Exception { - FileManager fileManager = myPsiManager.getFileManager(); - VirtualFile file = myExcludedDir1.createChildDirectory(null, "dir"); - VirtualFile subdir = myExcludedDir1.createChildDirectory(null, "subdir"); + public void testMoveDirectoryInsideIgnored() throws Exception { + VirtualFile file = myIgnoredDir.createChildDirectory(null, "dir"); + VirtualFile subdir = myIgnoredDir.createChildDirectory(null, "subdir"); EventsTestListener listener = new EventsTestListener(); myPsiManager.addPsiTreeChangeListener(listener,getTestRootDisposable()); @@ -497,7 +489,6 @@ public class PsiEventsTest extends PsiTestCase { } public void testModifyFileTypes() throws Exception { - FileManager fileManager = myPsiManager.getFileManager(); EventsTestListener listener = new EventsTestListener(); myPsiManager.addPsiTreeChangeListener(listener,getTestRootDisposable()); diff --git a/java/java-tests/testSrc/com/intellij/psi/impl/file/impl/TempFileSystemTest.java b/java/java-tests/testSrc/com/intellij/psi/impl/file/impl/TempFileSystemTest.java new file mode 100644 index 000000000000..dbdd61bc340b --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/psi/impl/file/impl/TempFileSystemTest.java @@ -0,0 +1,43 @@ +/* + * Copyright 2000-2014 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.psi.impl.file.impl; + +import com.intellij.openapi.roots.ProjectRootManager; +import com.intellij.openapi.vfs.VirtualFile; +import com.intellij.psi.PsiDirectory; +import com.intellij.psi.PsiFile; +import com.intellij.psi.PsiManager; +import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase; + +import java.io.IOException; + +public class TempFileSystemTest extends LightPlatformCodeInsightFixtureTestCase { + public void testMove() { + ProjectRootManager rootManager = ProjectRootManager.getInstance(getProject()); + VirtualFile sourceRoot = rootManager.getContentSourceRoots()[0]; + PsiManager psiManager = PsiManager.getInstance(getProject()); + PsiDirectory psiSourceRoot = psiManager.findDirectory(sourceRoot); + PsiFile psiFile = psiSourceRoot.createFile("TestDocument.xml"); + try { + psiFile.getVirtualFile().move(this, psiSourceRoot.createSubdirectory("com").getVirtualFile()); + } catch (IOException e) { + e.printStackTrace(); + } + assertTrue(psiFile.isValid()); + psiFile.delete(); + assertFalse(psiFile.isValid()); + } +}
\ No newline at end of file diff --git a/java/java-tests/testSrc/com/intellij/refactoring/inline/InlineMethodMultifileTest.java b/java/java-tests/testSrc/com/intellij/refactoring/inline/InlineMethodMultifileTest.java index 9d46f072f338..ded654d4a8d3 100644 --- a/java/java-tests/testSrc/com/intellij/refactoring/inline/InlineMethodMultifileTest.java +++ b/java/java-tests/testSrc/com/intellij/refactoring/inline/InlineMethodMultifileTest.java @@ -42,6 +42,9 @@ public class InlineMethodMultifileTest extends RefactoringTestCase { public void testRemoveStaticImports() throws Exception { doTest("Foo", "foo"); } + public void testPreserveStaticImportsIfOverloaded() throws Exception { + doTest("Foo", "foo"); + } private void doTest(String className, String methodName) throws Exception { String rootBefore = getRoot() + "/before"; diff --git a/java/java-tests/testSrc/com/intellij/roots/libraries/LibraryTest.java b/java/java-tests/testSrc/com/intellij/roots/libraries/LibraryTest.java index e78308b4ae92..1ee498cd5d2c 100644 --- a/java/java-tests/testSrc/com/intellij/roots/libraries/LibraryTest.java +++ b/java/java-tests/testSrc/com/intellij/roots/libraries/LibraryTest.java @@ -1,16 +1,24 @@ package com.intellij.roots.libraries; import com.intellij.openapi.application.ApplicationManager; -import com.intellij.openapi.roots.OrderRootType; -import com.intellij.openapi.roots.RootProvider; +import com.intellij.openapi.application.Result; +import com.intellij.openapi.application.WriteAction; +import com.intellij.openapi.roots.*; import com.intellij.openapi.roots.impl.libraries.LibraryEx; import com.intellij.openapi.roots.libraries.Library; import com.intellij.openapi.roots.libraries.LibraryTable; import com.intellij.openapi.roots.libraries.LibraryTablesRegistrar; +import com.intellij.openapi.util.WriteExternalException; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.roots.ModuleRootManagerTestCase; +import com.intellij.testFramework.PlatformTestUtil; +import com.intellij.testFramework.PsiTestUtil; +import com.intellij.util.CommonProcessors; import org.jdom.Element; -import org.jdom.output.XMLOutputter; +import org.jetbrains.annotations.NotNull; + +import java.util.Collection; +import java.util.Collections; /** * @author dsl @@ -40,11 +48,6 @@ public class LibraryTest extends ModuleRootManagerTestCase { commit(model2); assertFalse(listenerNotifiedOnChange[0]); - final Element element = new Element("root"); - library.writeExternal(element); - assertEquals("<root><library name=\"library\"><CLASSES><root url=\"file://x.jar\" /></CLASSES><JAVADOC /><SOURCES><root url=\"file://x-src.jar\" /></SOURCES></library></root>", - new XMLOutputter().outputString(element)); - ApplicationManager.getApplication().runWriteAction(new Runnable() { @Override public void run() { @@ -53,6 +56,106 @@ public class LibraryTest extends ModuleRootManagerTestCase { }); } + public void testLibrarySerialization() { + Library library = PsiTestUtil.addProjectLibrary(myModule, "junit", Collections.singletonList(getJDomJar()), + Collections.singletonList(getJDomSources())); + Element element = serialize(library); + String classesUrl = getJDomJar().getUrl(); + String sourcesUrl = getJDomSources().getUrl(); + PlatformTestUtil.assertElementEquals( + "<root><library name=\"junit\"><CLASSES><root url=\"" + classesUrl + "\" /></CLASSES>" + + "<JAVADOC /><SOURCES><root url=\"" + sourcesUrl + "\" /></SOURCES></library></root>", + element); + } + + public void testResolveDependencyToAddedLibrary() { + final ModifiableRootModel model = ModuleRootManager.getInstance(myModule).getModifiableModel(); + model.addInvalidLibrary("jdom", LibraryTablesRegistrar.PROJECT_LEVEL); + commit(model); + assertEmpty(getLibraries()); + + Library library = createLibrary("jdom", getJDomJar(), null); + assertSameElements(getLibraries(), library); + } + + public void testResolveDependencyToRenamedLibrary() { + Library library = createLibrary("jdom2", getJDomJar(), null); + + final ModifiableRootModel model = ModuleRootManager.getInstance(myModule).getModifiableModel(); + model.addInvalidLibrary("jdom", LibraryTablesRegistrar.PROJECT_LEVEL); + commit(model); + assertEmpty(getLibraries()); + + Library.ModifiableModel libModel = library.getModifiableModel(); + libModel.setName("jdom"); + commit(libModel); + assertSameElements(getLibraries(), library); + } + + private Collection<Library> getLibraries() { + CommonProcessors.CollectProcessor<Library> processor = new CommonProcessors.CollectProcessor<Library>(); + ModuleRootManager.getInstance(myModule).orderEntries().forEachLibrary(processor); + return processor.getResults(); + } + + private static void commit(final ModifiableRootModel model) { + new WriteAction() { + protected void run(@NotNull final Result result) { + model.commit(); + } + }.execute(); + } + + public void testNativePathSerialization() { + LibraryTable table = LibraryTablesRegistrar.getInstance().getLibraryTable(myProject); + Library library = table.createLibrary("native"); + Library.ModifiableModel model = library.getModifiableModel(); + model.addRoot("file://native-lib-root", NativeLibraryOrderRootType.getInstance()); + commit(model); + + Element element = serialize(library); + PlatformTestUtil.assertElementEquals( + "<root><library name=\"native\"><CLASSES /><JAVADOC />" + + "<NATIVE><root url=\"file://native-lib-root\" /></NATIVE>" + + "<SOURCES /></library></root>", + element); + } + + public void testJarDirectoriesSerialization() { + LibraryTable table = LibraryTablesRegistrar.getInstance().getLibraryTable(myProject); + Library library = table.createLibrary("jarDirs"); + Library.ModifiableModel model = library.getModifiableModel(); + model.addJarDirectory("file://jar-dir", false, OrderRootType.CLASSES); + model.addJarDirectory("file://jar-dir-src", false, OrderRootType.SOURCES); + commit(model); + + Element element = serialize(library); + PlatformTestUtil.assertElementEquals("<root>\n" + + " <library name=\"jarDirs\">\n" + + " <CLASSES>\n" + + " <root url=\"file://jar-dir\" />\n" + + " </CLASSES>\n" + + " <JAVADOC />\n" + + " <SOURCES>\n" + + " <root url=\"file://jar-dir-src\" />\n" + + " </SOURCES>\n" + + " <jarDirectory url=\"file://jar-dir\" recursive=\"false\" />\n" + + " <jarDirectory url=\"file://jar-dir-src\" recursive=\"false\" type=\"SOURCES\" />\n" + + " </library>\n" + + "</root>" , element); + } + + private static Element serialize(Library library) { + try { + Element element = new Element("root"); + library.writeExternal(element); + return element; + } + catch (WriteExternalException e) { + throw new AssertionError(e); + } + } + public void testAddRemoveExcludedRoot() { VirtualFile jar = getJDomJar(); LibraryEx library = (LibraryEx)createLibrary("junit", jar, null); |