diff options
Diffstat (limited to 'java/java-tests')
160 files changed, 15530 insertions, 475 deletions
diff --git a/java/java-tests/testData/codeInsight/completion/normal/MethodMergingMinimalTail.java b/java/java-tests/testData/codeInsight/completion/normal/MethodMergingMinimalTail.java new file mode 100644 index 000000000000..aa5945895222 --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/normal/MethodMergingMinimalTail.java @@ -0,0 +1,7 @@ +class Foo { + { + foo("someTestAttachment", "".getByt<caret>) + } + + void foo(String s, byte[] z) {} +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/completion/normal/MethodMergingMinimalTail_after.java b/java/java-tests/testData/codeInsight/completion/normal/MethodMergingMinimalTail_after.java new file mode 100644 index 000000000000..a89e601edec6 --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/normal/MethodMergingMinimalTail_after.java @@ -0,0 +1,7 @@ +class Foo { + { + foo("someTestAttachment", "".getBytes(<caret>)) + } + + void foo(String s, byte[] z) {} +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/completion/normal/SmartEnterNoNewLine.java b/java/java-tests/testData/codeInsight/completion/normal/SmartEnterNoNewLine.java new file mode 100644 index 000000000000..49f9b65ec7b3 --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/normal/SmartEnterNoNewLine.java @@ -0,0 +1,9 @@ + +class Tester { + private void build(EntityBuilder builder) { + } + + public void test1(int abc, int abd) { + System.out.println(a<caret>); + } +} diff --git a/java/java-tests/testData/codeInsight/completion/normal/SmartEnterNoNewLine_after.java b/java/java-tests/testData/codeInsight/completion/normal/SmartEnterNoNewLine_after.java new file mode 100644 index 000000000000..ce2b8956d9ac --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/normal/SmartEnterNoNewLine_after.java @@ -0,0 +1,9 @@ + +class Tester { + private void build(EntityBuilder builder) { + } + + public void test1(int abc, int abd) { + System.out.println(abc);<caret> + } +} diff --git a/java/java-tests/testData/codeInsight/completion/normal/SmartEnterWithNewLine.java b/java/java-tests/testData/codeInsight/completion/normal/SmartEnterWithNewLine.java new file mode 100644 index 000000000000..d21cac7e5efa --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/normal/SmartEnterWithNewLine.java @@ -0,0 +1,9 @@ + +class Tester { + private void build(EntityBuilder builder) { + } + + public void test1(int abc, int abd) { + if(a<caret>) + } +} diff --git a/java/java-tests/testData/codeInsight/completion/normal/SmartEnterWithNewLine_after.java b/java/java-tests/testData/codeInsight/completion/normal/SmartEnterWithNewLine_after.java new file mode 100644 index 000000000000..1b70dd9760a1 --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/normal/SmartEnterWithNewLine_after.java @@ -0,0 +1,11 @@ + +class Tester { + private void build(EntityBuilder builder) { + } + + public void test1(int abc, int abd) { + if (abc) { + <caret> + } + } +} diff --git a/java/java-tests/testData/codeInsight/completion/normal/UnimportedStaticInnerClass.java b/java/java-tests/testData/codeInsight/completion/normal/UnimportedStaticInnerClass.java new file mode 100644 index 000000000000..4dcd4a5d770f --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/normal/UnimportedStaticInnerClass.java @@ -0,0 +1,6 @@ +class Zoo { + void foo() { + new Super.I<caret> + } + +} diff --git a/java/java-tests/testData/codeInsight/completion/normal/UnimportedStaticInnerClass_after.java b/java/java-tests/testData/codeInsight/completion/normal/UnimportedStaticInnerClass_after.java new file mode 100644 index 000000000000..6db6912f48d2 --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/normal/UnimportedStaticInnerClass_after.java @@ -0,0 +1,8 @@ +import foo.Super; + +class Zoo { + void foo() { + new Super.Inner()<caret> + } + +} diff --git a/java/java-tests/testData/codeInsight/completion/smartType/AutoImportExpectedType.java b/java/java-tests/testData/codeInsight/completion/smartType/AutoImportExpectedType.java new file mode 100644 index 000000000000..e120ecb7bd2b --- /dev/null +++ b/java/java-tests/testData/codeInsight/completion/smartType/AutoImportExpectedType.java @@ -0,0 +1,5 @@ +class Main<T extends Foo> { + { + List<Foo> list = new <caret> + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/annotations/typeAnnotations.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/annotations/typeAnnotations.java index 28035c8c1698..01f7486ea89a 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/annotations/typeAnnotations.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/annotations/typeAnnotations.java @@ -114,6 +114,7 @@ class Outer { void <error descr="Annotations are not allowed here">@TA</error> misplaced() { } @TA Outer() { } + <T> <error descr="Annotations are not allowed here">@TA</error> Outer(T t) { } class MyClass<@TA @TPA T> { } interface MyInterface<@TA @TPA E> { } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/mostSpecific/IDEA127584.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/mostSpecific/IDEA127584.java new file mode 100644 index 000000000000..f1222505a708 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/mostSpecific/IDEA127584.java @@ -0,0 +1,22 @@ +class Test { + public static <Tfoo, Vfoo> Future<Vfoo> foo(Future<Tfoo> future, Function<Tfoo, Vfoo> function) { + return future.map(function); + } + + // These interfaces inspired by FoundationDB Java client class files + interface PartialFunction <TP, VP> { + VP apply(TP t) throws java.lang.Exception; + } + + interface Function <TF, VF> extends PartialFunction<TF, VF> { + VF apply(TF t); + } + + interface PartialFuture <TPP> { + <VPP> PartialFuture<VPP> map(PartialFunction<TPP, VPP> partialFunction); + } + + interface Future <TFF> extends PartialFuture<TFF> { + <VFF> Future<VFF> map(Function<TFF, VFF> function); + } +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/IDEA127596.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/IDEA127596.java new file mode 100644 index 000000000000..20636674141b --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/IDEA127596.java @@ -0,0 +1,9 @@ +class Executor<E> { + <K> void bar(Executor<K> e) { + Runnable r = () -> foo(e); + } + + private <T> T foo(final Executor<T> e) { + return null; + } +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA126969.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA126969.java new file mode 100644 index 000000000000..e981d28298b5 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA126969.java @@ -0,0 +1,15 @@ +import java.util.Collection; +import java.util.List; +import java.util.stream.Stream; + +class IDEA126969 { + void foo(final Stream<List<Integer>> stream) { + + stream.flatMap(List::stream) + .forEach(i -> System.out.println(i.floatValue())); + + stream.flatMap(Collection::stream) + .forEach(i -> System.out.println(i.floatValue())); + + } +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA127506.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA127506.java new file mode 100644 index 000000000000..7abf6ba9427a --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA127506.java @@ -0,0 +1,24 @@ +import java.util.List; +import java.util.Set; +import java.util.stream.Stream; + +class Validator { + static boolean thereAreConstraintViolationsIn1(final Stream<Object> objectStream, Validator validator) { + Stream<Set<List<Object>>> rStream = objectStream + .map(validator::validate); + return rStream + .flatMap(set -> set.stream()) + .findAny() + .isPresent(); + } + + static void thereAreConstraintViolationsIn(final Stream<Object> objectStream, Validator validator) { + Stream<Set<List<Object>>> rStream = objectStream.map(validator ::validate); + + Stream<Set<List<Object>>> lStream = objectStream.map((a) -> validator.validate(a)); + } + + <T> Set<List<T>> validate(T var1, Class<?> ... var2) { + return null; + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addTypeCast/afterShortenFQNs.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addTypeCast/afterShortenFQNs.java new file mode 100644 index 000000000000..9fea89ffa684 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addTypeCast/afterShortenFQNs.java @@ -0,0 +1,10 @@ +import java.util.List; + +// "Cast parameter to 'java.util.List'" "true" +class Test { + void m(Object o) { + foo((List) o); + } + + private void foo(final java.util.List o) {} +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addTypeCast/beforeShortenFQNs.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addTypeCast/beforeShortenFQNs.java new file mode 100644 index 000000000000..e53d8b1e6c31 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addTypeCast/beforeShortenFQNs.java @@ -0,0 +1,8 @@ +// "Cast parameter to 'java.util.List'" "true" +class Test { + void m(Object o) { + foo(<caret>o); + } + + private void foo(final java.util.List o) {} +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2lambda/beforeObjectInferredButIntExpected.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2lambda/beforeObjectInferredButIntExpected.java new file mode 100644 index 000000000000..3a82478ec678 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2lambda/beforeObjectInferredButIntExpected.java @@ -0,0 +1,16 @@ +// "Replace with lambda" "false" +import java.util.function.Function; + +class Test { + void ab() { + comparing(new Func<caret>tion<Integer, String>() { + public String apply(Integer pObj) { + return Integer.toString(pObj); + } + }); + + } + + static <T> void comparing(Function<T, String> keyExtractor){} + +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/afterMultipleMethodsMultipleFields.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/afterMultipleMethodsMultipleFields.java new file mode 100644 index 000000000000..9d1502b44bc0 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/afterMultipleMethodsMultipleFields.java @@ -0,0 +1,17 @@ +// "Convert to local" "true" +class MyClassTest { + + private boolean editable = false; + + boolean isEditable() { + return editable; + } + + void setEditable(boolean editable) { + this.editable = editable; + } + + public void setEditable1(final boolean editable1) { + boolean editable11 = editable1; + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/beforeMultipleMethodsMultipleFields.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/beforeMultipleMethodsMultipleFields.java new file mode 100644 index 000000000000..4c6ead704f57 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/beforeMultipleMethodsMultipleFields.java @@ -0,0 +1,18 @@ +// "Convert to local" "true" +class MyClassTest { + + private boolean editable = false; + private boolean edit<caret>able1 = false; + + boolean isEditable() { + return editable; + } + + void setEditable(boolean editable) { + this.editable = editable; + } + + public void setEditable1(final boolean editable1) { + this.editable1 = editable1; + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/beforeMultipleMethodsOnReadOnly.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/beforeMultipleMethodsOnReadOnly.java new file mode 100644 index 000000000000..db61483db9ad --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/beforeMultipleMethodsOnReadOnly.java @@ -0,0 +1,18 @@ +// "Convert to local" "false" +class MyClassTest { + + private boolean edit<caret>able = false; + private boolean editable1 = false; + + boolean isEditable() { + return editable; + } + + void setEditable(boolean editable) { + this.editable = editable; + } + + public void setEditable1(final boolean editable1) { + this.editable1 = editable1; + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createFieldFromUsage/beforeInsideInterface.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createFieldFromUsage/beforeInsideInterface.java new file mode 100644 index 000000000000..74627f9409ee --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createFieldFromUsage/beforeInsideInterface.java @@ -0,0 +1,7 @@ +// "Create Field 'myFoo'" "false" + +interface Test { + default String get() { + return my<caret>Foo; + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/afterStaticInInterface.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/afterStaticInInterface.java new file mode 100644 index 000000000000..66a2b59a9a10 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/afterStaticInInterface.java @@ -0,0 +1,10 @@ +// "Create Method 'f'" "true" +interface X { + public static void m() { + f(); + } + + static void f() { + + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/beforeStaticInInterface.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/beforeStaticInInterface.java new file mode 100644 index 000000000000..81afbe358fbe --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/beforeStaticInInterface.java @@ -0,0 +1,6 @@ +// "Create Method 'f'" "true" +interface X { + public static void m() { + f<caret>(); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/afterAmbiguityWithoutSuperMethods.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/afterAmbiguityWithoutSuperMethods.java new file mode 100644 index 000000000000..54310c8da75f --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/afterAmbiguityWithoutSuperMethods.java @@ -0,0 +1,11 @@ +// "Replace lambda with method reference" "true" +import java.io.PrintStream; +import java.util.function.BiConsumer; + +class Test { + { + BiConsumer<PrintStream, String> printer = PrintStream::println; + } + + +} diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/beforeAmbiguityWithoutSuperMethods.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/beforeAmbiguityWithoutSuperMethods.java new file mode 100644 index 000000000000..7c68e5ec9fbc --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/beforeAmbiguityWithoutSuperMethods.java @@ -0,0 +1,11 @@ +// "Replace lambda with method reference" "true" +import java.io.PrintStream; +import java.util.function.BiConsumer; + +class Test { + { + BiConsumer<PrintStream, String> printer = (printStream, x) -> printSt<caret>ream.println(x); + } + + +} diff --git a/java/java-tests/testData/codeInsight/javadocIG/annotationsInParams.html b/java/java-tests/testData/codeInsight/javadocIG/annotationsInParams.html new file mode 100644 index 000000000000..c9b08d63be93 --- /dev/null +++ b/java/java-tests/testData/codeInsight/javadocIG/annotationsInParams.html @@ -0,0 +1,2 @@ +<html><head> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><small><b><a href="psi_element://Test"><code>Test</code></a></b></small><PRE>public void <b>foo</b>(@<a href="psi_element://java.lang.Deprecated"><code>Deprecated</code></a> <a href="psi_element://java.lang.String"><code>String</code></a> s, + @<a href="psi_element://java.lang.Deprecated"><code>Deprecated</code></a> <a href="psi_element://java.lang.String"><code>String</code></a> p)</PRE></body></html>
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/javadocIG/annotationsInParams.java b/java/java-tests/testData/codeInsight/javadocIG/annotationsInParams.java new file mode 100644 index 000000000000..676ff2d3e7cc --- /dev/null +++ b/java/java-tests/testData/codeInsight/javadocIG/annotationsInParams.java @@ -0,0 +1,4 @@ +class Test { + public void foo(@Deprecated String s, + @Deprecated String p){} +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/javadocIG/pInsidePre.html b/java/java-tests/testData/codeInsight/javadocIG/pInsidePre.html new file mode 100644 index 000000000000..fbfd2983208a --- /dev/null +++ b/java/java-tests/testData/codeInsight/javadocIG/pInsidePre.html @@ -0,0 +1,6 @@ +<html><head> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><small><b><a href="psi_element://Test"><code>Test</code></a></b></small><PRE>public <a href="psi_element://java.lang.String"><code>String</code></a> <b>field = null</b></PRE> + <pre> + foo + <p></p> + bar + </pre></body></html>
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/javadocIG/pInsidePre.java b/java/java-tests/testData/codeInsight/javadocIG/pInsidePre.java new file mode 100644 index 000000000000..0627e4b99510 --- /dev/null +++ b/java/java-tests/testData/codeInsight/javadocIG/pInsidePre.java @@ -0,0 +1,10 @@ +class Test { + /** + * <pre> + * foo + * <p/> + * bar + * </pre> + */ + public String field = null; +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/nullityinferrer/afterMethodReturnValue.java b/java/java-tests/testData/codeInsight/nullityinferrer/afterMethodReturnValue.java index 6ae0b5b7994f..6503f431ec28 100644 --- a/java/java-tests/testData/codeInsight/nullityinferrer/afterMethodReturnValue.java +++ b/java/java-tests/testData/codeInsight/nullityinferrer/afterMethodReturnValue.java @@ -15,6 +15,7 @@ class Test { return s; } + @NotNull String foo4(@NotNull String s) { return s.substring(0); } diff --git a/java/java-tests/testData/codeInsight/template/postfix/templates/cast/ternary.java b/java/java-tests/testData/codeInsight/template/postfix/templates/cast/ternary.java new file mode 100644 index 000000000000..0e0ff3741921 --- /dev/null +++ b/java/java-tests/testData/codeInsight/template/postfix/templates/cast/ternary.java @@ -0,0 +1,5 @@ +public class Foo { + void m(String s) { + Object o = s.isEmpty() ? s.concat("a").cast<caret> : s.concat("b"); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/template/postfix/templates/cast/ternary_after.java b/java/java-tests/testData/codeInsight/template/postfix/templates/cast/ternary_after.java new file mode 100644 index 000000000000..486e88ba2dc3 --- /dev/null +++ b/java/java-tests/testData/codeInsight/template/postfix/templates/cast/ternary_after.java @@ -0,0 +1,5 @@ +public class Foo { + void m(String s) { + Object o = s.isEmpty() ? (() s.concat("a")) : s.concat("b"); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/columnMode_after.java b/java/java-tests/testData/codeInsight/typing/columnMode_after.java new file mode 100644 index 000000000000..78c14369ab56 --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/columnMode_after.java @@ -0,0 +1,5 @@ +class Foo { + void m() { + System.exit(<caret>) + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/typing/columnMode_before.java b/java/java-tests/testData/codeInsight/typing/columnMode_before.java new file mode 100644 index 000000000000..ba4c1bfa09ff --- /dev/null +++ b/java/java-tests/testData/codeInsight/typing/columnMode_before.java @@ -0,0 +1,5 @@ +class Foo { + void m() { + System.exit<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 new file mode 100644 index 000000000000..0314b02a4d7b --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/awt/annotations.xml @@ -0,0 +1,345 @@ +<root> + <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""/> + </annotation> + </item> + <item name="java.awt.Component boolean contains(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component boolean dispatchMouseWheelToAncestor(java.awt.event.MouseWheelEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component boolean dispatchMouseWheelToAncestor(java.awt.event.MouseWheelEvent)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->false;_,!null->false;_,null->false;null,_->false""/> + </annotation> + </item> + <item name="java.awt.Component boolean handleEvent(java.awt.Event) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->false;null,_,_->false""/> + </annotation> + </item> + <item name="java.awt.Component boolean postEvent(java.awt.Event) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component java.awt.AWTEvent coalesceEvents(java.awt.AWTEvent, java.awt.AWTEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component java.awt.AWTEvent coalesceEvents(java.awt.AWTEvent, java.awt.AWTEvent)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->null""/> + </annotation> + </item> + <item name="java.awt.Component java.awt.Component findUnderMouseInWindow(java.awt.PointerInfo)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.awt.Component java.awt.Component getComponentAt(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->!null""/> + </annotation> + </item> + <item name="java.awt.Component java.awt.Dimension minimumSize()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component java.awt.Dimension preferredSize()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->!null""/> + </annotation> + </item> + <item name="java.awt.Component java.awt.Point location()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component java.awt.Point pointRelativeToComponent(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component java.awt.Point pointRelativeToComponent(java.awt.Point)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->!null""/> + </annotation> + </item> + <item name="java.awt.Component java.awt.Window getContainingWindow(java.awt.Component)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.awt.Component java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component javax.accessibility.AccessibleStateSet getAccessibleStateSet()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component void add(java.awt.PopupMenu) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 createBufferStrategy(int, java.awt.BufferCapabilities) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component void dispatchEventImpl(java.awt.AWTEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component void list(java.io.PrintStream, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component void resize(java.awt.Dimension) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component void setBounds(java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component void setLocation(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component.FlipBufferStrategy FlipBufferStrategy(java.awt.Component, int, java.awt.BufferCapabilities) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Component.FlipBufferStrategy void createBuffers(int, java.awt.BufferCapabilities) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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 java.awt.Component add(java.awt.Component)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="java.awt.Container java.awt.Component add(java.awt.Component, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null;null,_->null""/> + </annotation> + </item> + <item name="java.awt.Container java.awt.Component add(java.lang.String, java.awt.Component)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.awt.Container java.awt.Component findComponentAt(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container java.awt.Component getComponentAt(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container java.awt.Component[] getComponents()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container java.awt.Component[] getComponents_NoClientCode()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 applyComponentOrientation(java.awt.ComponentOrientation) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container void checkAdding(java.awt.Component, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container void deliverEvent(java.awt.Event) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container void dispatchEventImpl(java.awt.AWTEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container void dispatchEventToSelf(java.awt.AWTEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container void list(java.io.PrintStream, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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 removeDelicately(java.awt.Component, java.awt.Container, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container void reparentTraverse(java.awt.peer.ContainerPeer, java.awt.Container) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container void setComponentZOrder(java.awt.Component, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Container void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.awt.Dimension java.awt.Dimension getSize()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Dimension java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Dimension void setSize(java.awt.Dimension) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Frame java.lang.String constructComponentName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Frame void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Frame void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Window Window(java.awt.Frame) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Window Window(java.awt.Window) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->false;null->false""/> + </annotation> + </item> + <item name="java.awt.Window boolean eventEnabled(java.awt.AWTEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Window boolean postEvent(java.awt.Event)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.awt.Window java.lang.Object access$000(java.awt.Window) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.awt.Window java.lang.String constructComponentName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 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 preProcessKeyEvent(java.awt.event.KeyEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/awt/event/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/awt/event/annotations.xml new file mode 100644 index 000000000000..7b9c87e9eb3f --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/awt/event/annotations.xml @@ -0,0 +1,5 @@ +<root> + <item name="java.awt.event.ActionEvent java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..60214de88d04 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/beans/beancontext/annotations.xml @@ -0,0 +1,79 @@ +<root> + <item name="java.beans.beancontext.BeanContextServicesSupport boolean addService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport boolean addService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport boolean hasService(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport java.beans.beancontext.BeanContextServicesListener getChildBeanContextServicesListener(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport java.beans.beancontext.BeanContextServicesSupport.BCSSServiceProvider createBCSSServiceProvider(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport java.beans.beancontext.BeanContextSupport.BCSChild createBCSChild(java.lang.Object, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport java.lang.Object getService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Class, java.lang.Object, java.beans.beancontext.BeanContextServiceRevokedListener) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport java.lang.Object getService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Class, java.lang.Object, java.beans.beancontext.BeanContextServiceRevokedListener) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport java.lang.Object getService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Class, java.lang.Object, java.beans.beancontext.BeanContextServiceRevokedListener) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport java.lang.Object getService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Class, java.lang.Object, java.beans.beancontext.BeanContextServiceRevokedListener) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport java.util.Iterator getCurrentServiceClasses()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void addBeanContextServicesListener(java.beans.beancontext.BeanContextServicesListener) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void bcsPreDeserializationHook(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void releaseService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void releaseService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void releaseService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Object) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void removeBeanContextServicesListener(java.beans.beancontext.BeanContextServicesListener) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void revokeService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void revokeService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void serviceAvailable(java.beans.beancontext.BeanContextServiceAvailableEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void serviceRevoked(java.beans.beancontext.BeanContextServiceRevokedEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.beans.beancontext.BeanContextServicesSupport void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..868b0f3f11c0 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/io/annotations.xml @@ -0,0 +1,395 @@ +<root> + <item name="java.io.BufferedInputStream int read(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.BufferedReader BufferedReader(java.io.Reader) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.BufferedReader BufferedReader(java.io.Reader, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.BufferedReader int read(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.BufferedWriter BufferedWriter(java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.BufferedWriter BufferedWriter(java.io.Writer, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.BufferedWriter void write(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayInputStream ByteArrayInputStream(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayInputStream ByteArrayInputStream(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayInputStream int read(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayOutputStream java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayOutputStream java.lang.String toString(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayOutputStream java.lang.String toString(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayOutputStream java.lang.String toString(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayOutputStream void write(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ByteArrayOutputStream void writeTo(java.io.OutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.DataInputStream int read(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.DataInputStream java.lang.String readUTF()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.DataInputStream java.lang.String readUTF(java.io.DataInput) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.DataInputStream java.lang.String readUTF(java.io.DataInput)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.File File(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 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 equals(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.File java.io.File getAbsoluteFile()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.File java.io.File getCanonicalFile()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.net.URI toURI()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.File java.net.URL toURL()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.File void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.File void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.FileInputStream FileInputStream(java.io.FileDescriptor) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.FileInputStream int read(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.FileOutputStream FileOutputStream(java.io.FileDescriptor) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.FileWriter FileWriter(java.io.FileDescriptor) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.FilterOutputStream void write(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.FilterOutputStream void write(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStream int read(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStream int read(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStreamReader InputStreamReader(java.io.InputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStreamReader InputStreamReader(java.io.InputStream, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStreamReader InputStreamReader(java.io.InputStream, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStreamReader InputStreamReader(java.io.InputStream, java.nio.charset.Charset) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStreamReader InputStreamReader(java.io.InputStream, java.nio.charset.Charset) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStreamReader InputStreamReader(java.io.InputStream, java.nio.charset.CharsetDecoder) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.InputStreamReader InputStreamReader(java.io.InputStream, java.nio.charset.CharsetDecoder) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream boolean access$400(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream int access$000(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream int access$002(java.io.ObjectInputStream, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream int read(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream java.io.ObjectInputStream.BlockDataInputStream access$200(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream java.io.ObjectInputStream.HandleTable access$100(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream java.io.ObjectStreamClass readClassDescriptor()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream java.io.ObjectStreamClass readNonProxyDesc(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream java.lang.Class resolveClass(java.io.ObjectStreamClass) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream java.lang.Class resolveProxyClass(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream java.lang.Object access$300(java.io.ObjectInputStream, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream java.lang.Object resolveObject(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream void readExternalData(java.io.Externalizable, java.io.ObjectStreamClass) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectInputStream void readFully(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream java.io.ObjectOutputStream.BlockDataOutputStream access$000(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream java.lang.Object replaceObject(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <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 defaultWriteFields(java.lang.Object, java.io.ObjectStreamClass) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream void write(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream void write(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream void writeArray(java.lang.Object, java.io.ObjectStreamClass, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 writeClassDescriptor(java.io.ObjectStreamClass) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream void writeEnum(java.lang.Enum, java.io.ObjectStreamClass, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream void writeEnum(java.lang.Enum, java.io.ObjectStreamClass, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream void writeExternalData(java.io.Externalizable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 writeOrdinaryObject(java.lang.Object, java.io.ObjectStreamClass, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.ObjectOutputStream void writeProxyDesc(java.io.ObjectStreamClass, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.OutputStream void write(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.OutputStream void write(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.OutputStreamWriter OutputStreamWriter(java.io.OutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.OutputStreamWriter OutputStreamWriter(java.io.OutputStream, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.OutputStreamWriter OutputStreamWriter(java.io.OutputStream, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.OutputStreamWriter OutputStreamWriter(java.io.OutputStream, java.nio.charset.Charset) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.OutputStreamWriter OutputStreamWriter(java.io.OutputStream, java.nio.charset.Charset) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.OutputStreamWriter OutputStreamWriter(java.io.OutputStream, java.nio.charset.CharsetEncoder) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.OutputStreamWriter OutputStreamWriter(java.io.OutputStream, java.nio.charset.CharsetEncoder) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.PrintStream PrintStream(boolean, java.io.OutputStream) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.PrintStream PrintStream(java.io.File, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.PrintStream PrintStream(java.io.OutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.PrintStream PrintStream(java.io.OutputStream, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.PrintStream PrintStream(java.io.OutputStream, boolean, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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, 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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 void init(java.io.OutputStreamWriter) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.RandomAccessFile int read(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.RandomAccessFile java.lang.String readUTF()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.RandomAccessFile void readFully(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.RandomAccessFile void write(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.RandomAccessFile void writeBytes(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.RandomAccessFile void writeChars(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.Reader Reader(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.Reader int read(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.Reader int read(java.nio.CharBuffer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.Writer Writer(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.Writer java.io.Writer append(java.lang.CharSequence, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.Writer void write(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.Writer void write(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.io.Writer void write(java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/annotation/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/annotation/annotations.xml new file mode 100644 index 000000000000..21d29c1ed4df --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/annotation/annotations.xml @@ -0,0 +1,5 @@ +<root> + <item name="java.lang.annotation.IncompleteAnnotationException IncompleteAnnotationException(java.lang.Class<? extends java.lang.annotation.Annotation>, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..8d157485ada1 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/annotations.xml @@ -0,0 +1,1347 @@ +<root> + <item name="java.lang.AbstractStringBuilder int indexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder int lastIndexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(java.lang.StringBuffer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder append(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder appendCodePoint(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder delete(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder deleteCharAt(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, char[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder insert(int, char[], int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.AbstractStringBuilder java.lang.AbstractStringBuilder replace(int, int, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.String substring(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Boolean boolean toBoolean(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Boolean int compareTo(java.lang.Boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Boolean java.lang.String toString(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Byte byte parseByte(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte byte parseByte(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte int compareTo(java.lang.Byte) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte java.lang.Byte decode(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte java.lang.Byte decode(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte java.lang.Byte valueOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte java.lang.Byte valueOf(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte java.lang.Byte valueOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte java.lang.Byte valueOf(java.lang.String, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Byte java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Character char[] toChars(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character int codePointAt(char[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character int codePointAt(java.lang.CharSequence, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character int codePointBefore(char[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character int codePointBefore(java.lang.CharSequence, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character int compareTo(java.lang.Character) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character int toChars(int, char[], int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character java.lang.Character valueOf(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character java.lang.String toString(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Character void toSurrogates(int, char[], int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class A getAnnotation(java.lang.Class<A>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class T cast(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="java.lang.Class boolean access$202(boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""false->false;true->true""/> + </annotation> + </item> + <item name="java.lang.Class boolean access$302(boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""false->false;true->true""/> + </annotation> + </item> + <item name="java.lang.Class boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.Class toClass(java.lang.reflect.Type)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.lang.Class java.lang.Class<? extends U> asSubclass(java.lang.Class<U>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.String getSimpleName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.String resolveName(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <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[] copyConstructors(java.lang.reflect.Constructor[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.reflect.Field getDeclaredField(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.reflect.Field getField(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.reflect.Field getField0(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.reflect.Field searchFields(java.lang.reflect.Field[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.reflect.Field searchFields(java.lang.reflect.Field[], java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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 getMethod(java.lang.String, java.lang.Class...) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Class java.lang.reflect.Method getMethod0(java.lang.String, java.lang.Class[]) 0"> + <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[]) 0"> + <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[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.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 loadLibrary0(java.lang.Class, java.io.File)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->false""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->null;null->null""/> + </annotation> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ClassLoader java.util.Enumeration getBootstrapResources(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ClassLoader java.util.Enumeration getResources(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ClassLoader java.util.Enumeration getSystemResources(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ClassLoader void checkCerts(java.lang.String, java.security.CodeSource) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Double int compareTo(java.lang.Double) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Double int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Double java.lang.Double valueOf(double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Double java.lang.Double valueOf(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Float int compareTo(java.lang.Float) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Float int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Float java.lang.Float valueOf(float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Float java.lang.Float valueOf(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Integer int compareTo(java.lang.Integer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer int parseInt(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer int parseInt(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.Integer decode(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.Integer decode(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.Integer getInteger(java.lang.String, java.lang.Integer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null""/> + </annotation> + </item> + <item name="java.lang.Integer java.lang.Integer valueOf(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.Integer valueOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.Integer valueOf(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.Integer valueOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.Integer valueOf(java.lang.String, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.String toBinaryString(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.String toHexString(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.String toOctalString(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.String toString(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.String toString(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer java.lang.String toUnsignedString(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Integer void getChars(int, int, char[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Long int compareTo(java.lang.Long) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.Long decode(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.Long decode(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.Long getLong(java.lang.String, java.lang.Long)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null""/> + </annotation> + </item> + <item name="java.lang.Long java.lang.Long valueOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.Long valueOf(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.Long valueOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.Long valueOf(java.lang.String, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.String toBinaryString(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.String toHexString(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.String toOctalString(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.String toString(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.String toString(long, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long java.lang.String toUnsignedString(long, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long long parseLong(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Long long parseLong(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.lang.Short int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short int compareTo(java.lang.Short) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.Short decode(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.Short decode(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.Short valueOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.Short valueOf(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.Short valueOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.Short valueOf(java.lang.String, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.Short valueOf(short)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short java.lang.String toString(short)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short short parseShort(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Short short parseShort(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(byte[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(byte[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(byte[], int, int, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(byte[], int, int, java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(byte[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(byte[], java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(int[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String String(java.lang.StringBuilder) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String boolean contains(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String boolean contentEquals(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String boolean contentEquals(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String boolean endsWith(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String boolean regionMatches(boolean, int, java.lang.String, int, int) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String boolean regionMatches(int, java.lang.String, int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String boolean startsWith(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String boolean startsWith(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String byte[] getBytes(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String char[] toCharArray()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String int compareTo(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String int indexOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String int indexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String int lastIndexOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String int lastIndexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.CharSequence subSequence(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String concat(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String concat(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String copyValueOf(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String copyValueOf(char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String copyValueOf(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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(java.lang.CharSequence, java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String replace(java.lang.CharSequence, java.lang.CharSequence) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String substring(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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(java.util.Locale) 0"> + <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(java.util.Locale) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String valueOf(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String valueOf(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String valueOf(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String valueOf(char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String valueOf(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String java.lang.String valueOf(char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="java.lang.String java.lang.String valueOf(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String void checkBounds(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String.CaseInsensitiveComparator int compare(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.String.CaseInsensitiveComparator int compare(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer StringBuffer(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer StringBuffer(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer int indexOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer int indexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer int lastIndexOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer int lastIndexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder append(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder appendCodePoint(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder delete(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder deleteCharAt(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, char[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, char[], int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder insert(int, long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder replace(int, int, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder replace(int, int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.AbstractStringBuilder reverse()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.Appendable append(java.lang.CharSequence, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.CharSequence subSequence(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.String substring(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.String substring(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer append(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer appendCodePoint(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer delete(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer deleteCharAt(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, char[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, char[], int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer insert(int, long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer replace(int, int, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer replace(int, int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer java.lang.StringBuffer reverse()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuffer void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder StringBuilder(java.lang.CharSequence) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder StringBuilder(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder int indexOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder int indexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder int lastIndexOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder int lastIndexOf(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder append(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder appendCodePoint(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder delete(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder deleteCharAt(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, char[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, char[], int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder insert(int, long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder replace(int, int, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder replace(int, int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.AbstractStringBuilder reverse()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.Appendable append(java.lang.CharSequence, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(java.lang.StringBuilder)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder append(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder appendCodePoint(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder delete(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder deleteCharAt(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, char[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, char[], int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, char[], int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder insert(int, long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder replace(int, int, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder replace(int, int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder java.lang.StringBuilder reverse()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.StringBuilder void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System java.lang.String clearProperty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System java.lang.String getProperty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System java.lang.String getProperty(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System java.lang.String setProperty(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System void checkKey(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System.2 sun.reflect.ConstantPool getConstantPool(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System.2 sun.reflect.annotation.AnnotationType getAnnotationType(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System.2 void blockedOn(java.lang.Thread, sun.nio.ch.Interruptible) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.System.2 void setAnnotationType(java.lang.Class, sun.reflect.annotation.AnnotationType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Thread Thread(java.lang.Runnable, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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, 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) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Thread Thread(java.lang.ThreadGroup, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Thread java.lang.String getName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 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 int access$400(java.lang.ThreadLocal) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal java.lang.ThreadLocal.ThreadLocalMap createInheritedMap(java.lang.ThreadLocal.ThreadLocalMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal java.lang.ThreadLocal.ThreadLocalMap createInheritedMap(java.lang.ThreadLocal.ThreadLocalMap)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal java.lang.ThreadLocal.ThreadLocalMap getMap(java.lang.Thread) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal void createMap(java.lang.Thread, T) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap ThreadLocalMap(java.lang.ThreadLocal, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap ThreadLocalMap(java.lang.ThreadLocal.ThreadLocalMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.lang.ThreadLocal.ThreadLocalMap.Entry access$000(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap java.lang.ThreadLocal.ThreadLocalMap.Entry access$000(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,null->null""/> + </annotation> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap void access$100(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap void access$100(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap void access$200(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap void access$200(java.lang.ThreadLocal.ThreadLocalMap, java.lang.ThreadLocal) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap void remove(java.lang.ThreadLocal) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.ThreadLocal.ThreadLocalMap void set(java.lang.ThreadLocal, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Throwable java.lang.Throwable initCause(java.lang.Throwable)"> + <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>) 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>) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Throwable void printStackTrace(java.lang.Throwable.PrintStreamOrWriter) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Throwable void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Throwable void setStackTrace(java.lang.StackTraceElement[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.Throwable void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 new file mode 100644 index 000000000000..f800dab8c906 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/lang/invoke/annotations.xml @@ -0,0 +1,1872 @@ +<root> + <item name="java.lang.invoke.AdapterMethodHandle AdapterMethodHandle(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, long) 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.Object) 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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canCheckCast(java.lang.Class<?>, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canCheckCast(java.lang.Class<?>, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->false""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canCheckCast(java.lang.invoke.MethodType, java.lang.invoke.MethodType, int, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_->false;null,_,_,_->false""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canConvertArgument(java.lang.Class<?>, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->true;null,_->true""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canDupArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodType, int, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_->false;null,_,_,_->false""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canPairwiseConvert(java.lang.invoke.MethodType, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canPairwiseConvert(java.lang.invoke.MethodType, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canPrimCast(java.lang.Class<?>, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->false;null,_->false""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canPrimCast(java.lang.invoke.MethodType, java.lang.invoke.MethodType, int, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_->false;null,_,_,_->false""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canRotateArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodType, int, int, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_,_->false;null,_,_,_,_->false""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canSpreadArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodType, java.lang.Class<?>, int, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_,_->false;null,_,_,_,_->false""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canSwapArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodType, int, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_->false;null,_,_,_->false""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canUnboxArgument(java.lang.Class<?>, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle boolean canUnboxArgument(java.lang.invoke.MethodType, java.lang.invoke.MethodType, int, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_->false;null,_,_,_->false""/> + </annotation> + </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> + <item name="java.lang.invoke.AdapterMethodHandle int diffReturnTypes(java.lang.invoke.MethodType, java.lang.invoke.MethodType, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle int diffTypes(java.lang.invoke.MethodType, java.lang.invoke.MethodType, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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<?>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_,_->null;_,!null,_,_->null;_,_,_,!null->null;_,_,_,null->null;_,null,_,_->null;null,_,_,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeCheckCast(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeDropArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeDupArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makePairwiseConvert(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makePermutation(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makePermutation(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makePrimCast(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makePrimCast(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeRetype(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeRetypeOnly(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeRetypeRaw(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeRotateArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeRotateArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, int, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_,_,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeSpreadArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, java.lang.Class<?>, int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeSwapArguments(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeUnboxArgument(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeUnboxArgument(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, int, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeVarargsCollector(java.lang.invoke.MethodHandle, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle makeVarargsCollector(java.lang.invoke.MethodHandle, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle java.lang.invoke.MethodHandle nonAdapter(java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.lang.invoke.AdapterMethodHandle.AsVarargsCollector AsVarargsCollector(java.lang.invoke.MethodHandle, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.AdapterMethodHandle.AsVarargsCollector java.lang.invoke.MethodHandle asType(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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.MethodType, java.lang.Object, int) 0"> + <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) 0"> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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) 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.BoundMethodHandle java.lang.RuntimeException badBoundArgumentException(java.lang.Object, java.lang.invoke.MethodHandle, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.BoundMethodHandle java.lang.String noParens(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.BoundMethodHandle java.lang.String noParens(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.lang.invoke.CallSite CallSite(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.CallSite CallSite(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.CallSite java.lang.Object maybeReBox(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.CallSite void checkTargetChange(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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.DirectMethodHandle DirectMethodHandle(java.lang.invoke.MethodType, java.lang.invoke.MemberName, boolean, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.DirectMethodHandle DirectMethodHandle(java.lang.invoke.MethodType, java.lang.invoke.MemberName, boolean, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric FilterGeneric(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 findAdapter(java.lang.invoke.MethodType, java.lang.invoke.FilterGeneric.Kind, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.FilterGeneric.Adapter findAdapter(java.lang.invoke.MethodType, java.lang.invoke.FilterGeneric.Kind, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.FilterGeneric.Adapter getAdapter(java.lang.invoke.FilterGeneric.Kind, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle make(java.lang.invoke.FilterGeneric.Kind, int, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle make(java.lang.invoke.FilterGeneric.Kind, int, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle make(java.lang.invoke.FilterGeneric.Kind, int, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle makeArgumentCollector(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle makeArgumentCollector(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle makeArgumentFilter(int, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle makeArgumentFilter(int, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle makeArgumentFolder(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle makeArgumentFolder(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle makeFlyby(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodHandle makeFlyby(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodType entryType(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.MethodType entryType(java.lang.invoke.FilterGeneric.Kind, int, java.lang.invoke.MethodType, java.lang.invoke.MethodType)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,_,null->null""/> + </annotation> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodType targetType(java.lang.invoke.MethodType, java.lang.invoke.FilterGeneric.Kind, int, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric java.lang.invoke.MethodType targetType(java.lang.invoke.MethodType, java.lang.invoke.FilterGeneric.Kind, int, java.lang.invoke.MethodType)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.FilterGeneric.Adapter Adapter(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.F0 F0(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F0 F0(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.F0 java.lang.invoke.FilterGeneric.F0 makeInstance(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.F0 java.lang.invoke.FilterGeneric.F0 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F1 F1(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F1 F1(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.F1 java.lang.invoke.FilterGeneric.F1 makeInstance(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.F1 java.lang.invoke.FilterGeneric.F1 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F10 F10(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F10 F10(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.F10 java.lang.invoke.FilterGeneric.F10 makeInstance(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.F10 java.lang.invoke.FilterGeneric.F10 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F11 F11(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F11 F11(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.F11 java.lang.invoke.FilterGeneric.F11 makeInstance(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.F11 java.lang.invoke.FilterGeneric.F11 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F12 F12(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F12 F12(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.F12 java.lang.invoke.FilterGeneric.F12 makeInstance(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.F12 java.lang.invoke.FilterGeneric.F12 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F13 F13(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F13 F13(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.F13 java.lang.invoke.FilterGeneric.F13 makeInstance(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.F13 java.lang.invoke.FilterGeneric.F13 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F14 F14(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F14 F14(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.F14 java.lang.invoke.FilterGeneric.F14 makeInstance(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.F14 java.lang.invoke.FilterGeneric.F14 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F15 F15(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F15 F15(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.F15 java.lang.invoke.FilterGeneric.F15 makeInstance(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.F15 java.lang.invoke.FilterGeneric.F15 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F16 F16(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F16 F16(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.F16 java.lang.invoke.FilterGeneric.F16 makeInstance(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.F16 java.lang.invoke.FilterGeneric.F16 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F17 F17(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F17 F17(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.F17 java.lang.invoke.FilterGeneric.F17 makeInstance(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.F17 java.lang.invoke.FilterGeneric.F17 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F18 F18(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F18 F18(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.F18 java.lang.invoke.FilterGeneric.F18 makeInstance(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.F18 java.lang.invoke.FilterGeneric.F18 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F19 F19(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F19 F19(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.F19 java.lang.invoke.FilterGeneric.F19 makeInstance(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.F19 java.lang.invoke.FilterGeneric.F19 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F2 F2(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F2 F2(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.F2 java.lang.invoke.FilterGeneric.F2 makeInstance(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.F2 java.lang.invoke.FilterGeneric.F2 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F20 F20(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F20 F20(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.F20 java.lang.invoke.FilterGeneric.F20 makeInstance(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.F20 java.lang.invoke.FilterGeneric.F20 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F3 F3(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F3 F3(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.F3 java.lang.invoke.FilterGeneric.F3 makeInstance(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.F3 java.lang.invoke.FilterGeneric.F3 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F4 F4(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F4 F4(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.F4 java.lang.invoke.FilterGeneric.F4 makeInstance(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.F4 java.lang.invoke.FilterGeneric.F4 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F5 F5(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F5 F5(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.F5 java.lang.invoke.FilterGeneric.F5 makeInstance(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.F5 java.lang.invoke.FilterGeneric.F5 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F6 F6(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F6 F6(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.F6 java.lang.invoke.FilterGeneric.F6 makeInstance(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.F6 java.lang.invoke.FilterGeneric.F6 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F7 F7(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F7 F7(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.F7 java.lang.invoke.FilterGeneric.F7 makeInstance(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.F7 java.lang.invoke.FilterGeneric.F7 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F8 F8(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F8 F8(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.F8 java.lang.invoke.FilterGeneric.F8 makeInstance(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.F8 java.lang.invoke.FilterGeneric.F8 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F9 F9(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FilterGeneric.F9 F9(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.F9 java.lang.invoke.FilterGeneric.F9 makeInstance(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.F9 java.lang.invoke.FilterGeneric.F9 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null;_,!null->!null""/> + </annotation> + </item> + <item name="java.lang.invoke.FromGeneric FromGeneric(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 findAdapter(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric java.lang.invoke.FromGeneric.Adapter makeInstance(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric java.lang.invoke.MethodHandle computeReturnConversion(java.lang.invoke.MethodType, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric java.lang.invoke.MethodHandle computeReturnConversion(java.lang.invoke.MethodType, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric java.lang.invoke.MethodHandle computeUnboxingInvoker(java.lang.invoke.MethodType, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric java.lang.invoke.MethodHandle computeUnboxingInvoker(java.lang.invoke.MethodType, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric java.lang.invoke.MethodHandle make(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A0 A0(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A0 A0(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.A0 java.lang.invoke.FromGeneric.A0 makeInstance(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.A0 java.lang.invoke.FromGeneric.A0 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A1 A1(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A1 A1(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.A1 java.lang.invoke.FromGeneric.A1 makeInstance(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.A1 java.lang.invoke.FromGeneric.A1 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A10 A10(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A10 A10(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.A10 java.lang.invoke.FromGeneric.A10 makeInstance(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.A10 java.lang.invoke.FromGeneric.A10 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A2 A2(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A2 A2(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.A2 java.lang.invoke.FromGeneric.A2 makeInstance(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.A2 java.lang.invoke.FromGeneric.A2 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A3 A3(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A3 A3(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.A3 java.lang.invoke.FromGeneric.A3 makeInstance(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.A3 java.lang.invoke.FromGeneric.A3 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A4 A4(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A4 A4(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.A4 java.lang.invoke.FromGeneric.A4 makeInstance(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.A4 java.lang.invoke.FromGeneric.A4 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A5 A5(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A5 A5(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.A5 java.lang.invoke.FromGeneric.A5 makeInstance(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.A5 java.lang.invoke.FromGeneric.A5 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A6 A6(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A6 A6(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.A6 java.lang.invoke.FromGeneric.A6 makeInstance(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.A6 java.lang.invoke.FromGeneric.A6 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A7 A7(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A7 A7(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.A7 java.lang.invoke.FromGeneric.A7 makeInstance(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.A7 java.lang.invoke.FromGeneric.A7 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A8 A8(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A8 A8(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.A8 java.lang.invoke.FromGeneric.A8 makeInstance(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.A8 java.lang.invoke.FromGeneric.A8 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A9 A9(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.A9 A9(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.A9 java.lang.invoke.FromGeneric.A9 makeInstance(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.A9 java.lang.invoke.FromGeneric.A9 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.FromGeneric.Adapter Adapter(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.InvokeGeneric boolean returnConversionNeeded(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.InvokeGeneric boolean returnConversionNeeded(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->false""/> + </annotation> + </item> + <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 dispatch(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.InvokeGeneric java.lang.invoke.MethodHandle dispatch(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.InvokeGeneric java.lang.invoke.MethodHandle dispatchWithConversion(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.InvokeGeneric java.lang.invoke.MethodHandle dispatchWithConversion(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.InvokeGeneric java.lang.invoke.MethodHandle dispatcher(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.InvokeGeneric java.lang.invoke.MethodHandle dropDispatchArguments(java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.lang.invoke.Invokers Invokers(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.Invokers java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.Invokers java.lang.invoke.MethodType invokerType(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName MemberName(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName MemberName(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName MemberName(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName MemberName(java.lang.reflect.Constructor) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName MemberName(java.lang.reflect.Field) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName MemberName(java.lang.reflect.Method) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName java.lang.Object access$100(java.lang.invoke.MemberName) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName java.lang.Object access$102(java.lang.invoke.MemberName, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName java.lang.Object access$102(java.lang.invoke.MemberName, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.lang.invoke.MemberName java.lang.ReflectiveOperationException makeAccessException(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName java.lang.String access$000(java.lang.invoke.MemberName) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName java.lang.String access$002(java.lang.invoke.MemberName, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MemberName java.lang.String access$002(java.lang.invoke.MemberName, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.lang.invoke.MemberName java.lang.String getName(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="java.lang.invoke.MemberName.Factory boolean resolveInPlace(java.lang.invoke.MemberName, boolean, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.MethodHandle MethodHandle(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandle java.lang.Object invokeWithArguments(java.util.List<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandle java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle asCollector(java.lang.Class<?>, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle asSpreader(java.lang.Class<?>, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle asVarargsCollector(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle asVarargsCollector(java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle accessArrayElement(java.lang.Class<?>, boolean) 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<?>) 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<?>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle asVarargsCollector(java.lang.invoke.MethodHandle, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle asVarargsCollector(java.lang.invoke.MethodHandle, java.lang.Class<?>)"> + <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) 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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle collectArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle filterArgument(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle filterArgument(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle findMethod(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 foldArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle foldArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle makeAllocator(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle makeGuardWithCatch(java.lang.invoke.MethodHandle, java.lang.Class<? extends java.lang.Throwable>, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle makeGuardWithCatch(java.lang.invoke.MethodHandle, java.lang.Class<? extends java.lang.Throwable>, java.lang.invoke.MethodHandle) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl java.lang.invoke.MethodHandle makeGuardWithTest(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.MethodHandleImpl java.lang.invoke.MethodHandle makeGuardWithTest(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.AllocateObject AllocateObject(java.lang.invoke.MethodHandle, java.lang.Class<C>, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.AllocateObject java.lang.invoke.MethodHandle make(java.lang.Class<?>, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.AllocateObject java.lang.invoke.MethodType makeConType(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor FieldAccessor(java.lang.invoke.MemberName, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor V getElementL(java.lang.Class<V[]>, V[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor boolean doCache(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor boolean getElementZ(boolean[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor byte getElementB(byte[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor char getElementC(char[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor double getElementD(double[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor float getElementF(float[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor int getElementI(int[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.Object getElementL(java.lang.Object[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.Object staticBase(java.lang.invoke.MemberName) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.String aname(java.lang.Class<?>, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.String aname(java.lang.Class<?>, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.String fname(java.lang.Class<?>, boolean, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.invoke.MethodHandle ahandle(java.lang.Class<?>, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.invoke.MethodHandle fhandle(java.lang.Class<?>, java.lang.Class<?>, boolean, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.invoke.MethodHandle fhandle(java.lang.Class<?>, java.lang.Class<?>, boolean, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor java.lang.invoke.MethodType atype(java.lang.Class<?>, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor long getElementJ(long[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor short getElementS(short[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementB(byte[], int, byte) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementC(char[], int, char) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementD(double[], int, double) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementF(float[], int, float) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementI(int[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementJ(long[], int, long) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementL(java.lang.Class<V[]>, V[], int, V) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementL(java.lang.Object[], int, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementS(short[], int, short) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.FieldAccessor void setElementZ(boolean[], int, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.GuardWithCatch GuardWithCatch(java.lang.invoke.MethodHandle, java.lang.Class<? extends java.lang.Throwable>, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.GuardWithCatch GuardWithCatch(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.Class<? extends java.lang.Throwable>, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleImpl.GuardWithTest GuardWithTest(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.MethodHandleImpl.GuardWithTest java.lang.invoke.MethodHandle make(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.MethodHandleImpl.GuardWithTest java.lang.invoke.MethodHandle make(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleNatives java.lang.Object[] makeTarget(java.lang.Class<?>, java.lang.String, java.lang.String, int, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleNatives java.lang.invoke.CallSite makeDynamicCallSite(java.lang.invoke.MethodHandle, java.lang.String, java.lang.invoke.MethodType, java.lang.Object, java.lang.invoke.MemberName, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleNatives java.lang.invoke.CallSite makeDynamicCallSite(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.MethodHandleNatives java.lang.invoke.MethodHandle linkMethodHandleConstant(java.lang.Class<?>, int, java.lang.Class<?>, java.lang.String, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleNatives java.lang.invoke.MethodHandle linkMethodHandleConstant(java.lang.Class<?>, int, java.lang.Class<?>, java.lang.String, java.lang.Object) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleNatives java.lang.invoke.MethodType findMethodHandleType(java.lang.Class<?>, java.lang.Class<?>[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandleNatives void notifyGenericMethodType(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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""/> + </annotation> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodHandles T asInstance(java.lang.invoke.MethodHandle, java.lang.Class<T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles T asInstance(java.lang.invoke.MethodHandle, java.lang.Class<T>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles T1 checkValue(java.lang.Class<T0>, java.lang.Class<T1>, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles boolean access$100(java.lang.reflect.Method) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.lang.Class<?> wrapperInstanceType(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.Object access$200(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.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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle arrayElementGetter(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle arrayElementSetter(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle asVarargsCollector(java.lang.invoke.MethodHandle, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle asVarargsCollector(java.lang.invoke.MethodHandle, java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle catchException(java.lang.invoke.MethodHandle, java.lang.Class<? extends java.lang.Throwable>, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle catchException(java.lang.invoke.MethodHandle, java.lang.Class<? extends java.lang.Throwable>, java.lang.invoke.MethodHandle) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle collectArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle collectArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle constant(java.lang.Class<?>, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle convertArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, int, java.lang.Class<?>...) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, int, java.lang.Class<?>...)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.Class<?>>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.Class<?>>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle exactInvoker(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle explicitCastArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle filterArguments(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle...) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle filterArguments(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle...) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle filterReturnValue(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle filterReturnValue(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle foldArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle foldArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle genericInvoker(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle guardWithTest(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.MethodHandles java.lang.invoke.MethodHandle guardWithTest(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle guardWithTest(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle insertArguments(java.lang.invoke.MethodHandle, int, java.lang.Object...) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle insertArguments(java.lang.invoke.MethodHandle, int, java.lang.Object...) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle permuteArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int...) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle permuteArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int...) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle permuteArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int...) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle spreadArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle spreadArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle spreadInvoker(java.lang.invoke.MethodType, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle throwException(java.lang.Class<?>, java.lang.Class<? extends java.lang.Throwable>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandle wrapperInstanceTarget(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.invoke.MethodHandles.Lookup lookup()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.reflect.Constructor getSingleConstructor(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles java.lang.reflect.Method getSingleMethod(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles sun.invoke.WrapperInstance asWrapperInstance(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles sun.invoke.WrapperInstance asWrapperInstance(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodHandles void checkReorder(int[], java.lang.invoke.MethodType, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles void checkReorder(int[], java.lang.invoke.MethodType, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.String accessFailedMessage(java.lang.Class<?>, java.lang.invoke.MemberName) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.String accessFailedMessage(java.lang.Class<?>, java.lang.invoke.MemberName)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MemberName resolveOrFail(java.lang.Class<?>, java.lang.String, java.lang.Class<?>, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MemberName resolveOrFail(java.lang.Class<?>, java.lang.String, java.lang.Class<?>, boolean) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MemberName resolveOrFail(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MemberName resolveOrFail(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType, boolean) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MemberName resolveOrFail(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType, boolean, boolean, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MemberName resolveOrFail(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType, boolean, boolean, java.lang.Class<?>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle bind(java.lang.Object, java.lang.String, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle bind(java.lang.Object, java.lang.String, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle bind(java.lang.Object, java.lang.String, java.lang.invoke.MethodType) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findConstructor(java.lang.Class<?>, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findGetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findGetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findSetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findSetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findSpecial(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findSpecial(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType, java.lang.Class<?>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findStatic(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findStatic(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findStaticGetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findStaticGetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findStaticSetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findStaticSetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findVirtual(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle findVirtual(java.lang.Class<?>, java.lang.String, java.lang.invoke.MethodType) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle fixVarargs(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle fixVarargs(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle makeAccessor(java.lang.Class<?>, java.lang.String, java.lang.Class<?>, boolean, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle makeAccessor(java.lang.Class<?>, java.lang.String, java.lang.Class<?>, boolean, boolean) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle makeAccessor(java.lang.Class<?>, java.lang.invoke.MemberName, boolean, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle makeAccessor(java.lang.Class<?>, java.lang.invoke.MemberName, boolean, boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,true,_->!null;_,null,_,_->!null""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle restrictProtectedReceiver(java.lang.invoke.MemberName, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle restrictProtectedReceiver(java.lang.invoke.MemberName, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->null""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle restrictReceiver(java.lang.invoke.MemberName, java.lang.invoke.MethodHandle, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle restrictReceiver(java.lang.invoke.MemberName, java.lang.invoke.MethodHandle, java.lang.Class<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle unreflect(java.lang.reflect.Method) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle unreflectConstructor(java.lang.reflect.Constructor) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle unreflectGetter(java.lang.reflect.Field) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle unreflectSetter(java.lang.reflect.Field) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandle unreflectSpecial(java.lang.reflect.Method, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandles.Lookup in(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup java.lang.invoke.MethodHandles.Lookup in(java.lang.Class<?>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup void checkMethod(java.lang.Class<?>, java.lang.invoke.MemberName, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodHandles.Lookup void checkUnprivilegedlookupClass(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType MethodType(java.lang.Class<?>, java.lang.Class<?>[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType int checkPtype(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType int checkPtypes(java.lang.Class<?>[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.IndexOutOfBoundsException newIndexOutOfBoundsException(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.IndexOutOfBoundsException newIndexOutOfBoundsException(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType appendParameterTypes(java.lang.Class<?>...) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType appendParameterTypes(java.util.List<java.lang.Class<?>>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType insertParameterTypes(int, java.lang.Class<?>...) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType insertParameterTypes(int, java.util.List<java.lang.Class<?>>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType makeImpl(java.lang.Class<?>, java.lang.Class<?>[], boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>, java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>...) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>...) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>, java.lang.Class<?>[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>, java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>, java.util.List<java.lang.Class<?>>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType methodType(java.lang.Class<?>, java.util.List<java.lang.Class<?>>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType unwrapWithNoPrims(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.lang.invoke.MethodType wrapWithPrims(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType java.util.List<java.lang.Class<?>> parameterList()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType void MethodType_init(java.lang.Class<?>, java.lang.Class<?>[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType void MethodType_init(java.lang.Class<?>, java.lang.Class<?>[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType void checkRtype(java.lang.Class<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodType void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 int[] primsAtEndOrder(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodTypeForm java.lang.Class<?> canonicalize(java.lang.Class<?>, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodTypeForm java.lang.Class<?>[] canonicalizes(java.lang.Class<?>[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MethodTypeForm java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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<?>[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.MethodTypeForm java.lang.invoke.MethodTypeForm findForm(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MutableCallSite MutableCallSite(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MutableCallSite MutableCallSite(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.MutableCallSite void syncAll(java.lang.invoke.MutableCallSite[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.Object check(java.lang.Object, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null;null,_->null""/> + </annotation> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.Object select(java.lang.Object, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.MethodHandle access$000(java.lang.invoke.SpreadGeneric) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.MethodHandle make(java.lang.invoke.MethodHandle, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.MethodHandle makeInstance(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.MethodType preSpreadType(java.lang.invoke.MethodType, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 findAdapter(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric java.lang.invoke.SpreadGeneric.Adapter findAdapter(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->null""/> + </annotation> + </item> + <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.S0 S0(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S0 java.lang.invoke.SpreadGeneric.S0 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S0 java.lang.invoke.SpreadGeneric.S0 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S1 S1(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S1 java.lang.invoke.SpreadGeneric.S1 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S1 java.lang.invoke.SpreadGeneric.S1 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S10 S10(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S10 java.lang.invoke.SpreadGeneric.S10 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S10 java.lang.invoke.SpreadGeneric.S10 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S2 S2(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S2 java.lang.invoke.SpreadGeneric.S2 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S2 java.lang.invoke.SpreadGeneric.S2 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S3 S3(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S3 java.lang.invoke.SpreadGeneric.S3 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S3 java.lang.invoke.SpreadGeneric.S3 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S4 S4(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S4 java.lang.invoke.SpreadGeneric.S4 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S4 java.lang.invoke.SpreadGeneric.S4 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S5 S5(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S5 java.lang.invoke.SpreadGeneric.S5 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S5 java.lang.invoke.SpreadGeneric.S5 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S6 S6(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S6 java.lang.invoke.SpreadGeneric.S6 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S6 java.lang.invoke.SpreadGeneric.S6 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S7 S7(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S7 java.lang.invoke.SpreadGeneric.S7 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S7 java.lang.invoke.SpreadGeneric.S7 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S8 S8(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S8 java.lang.invoke.SpreadGeneric.S8 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S8 java.lang.invoke.SpreadGeneric.S8 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S9 S9(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S9 java.lang.invoke.SpreadGeneric.S9 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SpreadGeneric.S9 java.lang.invoke.SpreadGeneric.S9 makeInstance(java.lang.invoke.SpreadGeneric, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.SwitchPoint java.lang.invoke.MethodHandle guardWithTest(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->null""/> + </annotation> + </item> + <item name="java.lang.invoke.SwitchPoint void invalidateAll(java.lang.invoke.SwitchPoint[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric ToGeneric(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric java.lang.invoke.MethodHandle computeReturnConversion(java.lang.invoke.MethodType, java.lang.invoke.MethodType, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric java.lang.invoke.MethodHandle computeReturnConversion(java.lang.invoke.MethodType, java.lang.invoke.MethodType, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric java.lang.invoke.MethodHandle make(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric java.lang.invoke.MethodHandle make(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric java.lang.invoke.MethodHandle makeRawArgumentFilter(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, java.lang.invoke.MethodType) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric java.lang.invoke.MethodHandle makeRawArgumentFilter(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, java.lang.invoke.MethodType)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </item> + <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 findAdapter(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric java.lang.invoke.ToGeneric.Adapter makeInstance(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A0 A0(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A0 A0(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.A0 java.lang.invoke.ToGeneric.A0 makeInstance(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.A0 java.lang.invoke.ToGeneric.A0 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A1 A1(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A1 A1(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.A1 java.lang.invoke.ToGeneric.A1 makeInstance(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.A1 java.lang.invoke.ToGeneric.A1 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A10 A10(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A10 A10(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.A10 java.lang.invoke.ToGeneric.A10 makeInstance(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.A10 java.lang.invoke.ToGeneric.A10 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A2 A2(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A2 A2(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.A2 java.lang.invoke.ToGeneric.A2 makeInstance(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.A2 java.lang.invoke.ToGeneric.A2 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A3 A3(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A3 A3(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.A3 java.lang.invoke.ToGeneric.A3 makeInstance(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.A3 java.lang.invoke.ToGeneric.A3 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A4 A4(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A4 A4(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.A4 java.lang.invoke.ToGeneric.A4 makeInstance(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.A4 java.lang.invoke.ToGeneric.A4 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A5 A5(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A5 A5(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.A5 java.lang.invoke.ToGeneric.A5 makeInstance(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.A5 java.lang.invoke.ToGeneric.A5 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A6 A6(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A6 A6(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.A6 java.lang.invoke.ToGeneric.A6 makeInstance(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.A6 java.lang.invoke.ToGeneric.A6 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A7 A7(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A7 A7(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.A7 java.lang.invoke.ToGeneric.A7 makeInstance(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.A7 java.lang.invoke.ToGeneric.A7 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A8 A8(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A8 A8(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.A8 java.lang.invoke.ToGeneric.A8 makeInstance(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.A8 java.lang.invoke.ToGeneric.A8 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A9 A9(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.A9 A9(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.A9 java.lang.invoke.ToGeneric.A9 makeInstance(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.A9 java.lang.invoke.ToGeneric.A9 makeInstance(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.ToGeneric.Adapter Adapter(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.VolatileCallSite VolatileCallSite(java.lang.invoke.MethodHandle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.lang.invoke.VolatileCallSite VolatileCallSite(java.lang.invoke.MethodType) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..6c410bc4ed65 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/net/annotations.xml @@ -0,0 +1,422 @@ +<root> + <item name="java.net.DatagramPacket DatagramPacket(byte[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket DatagramPacket(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket DatagramPacket(byte[], int, int, java.net.InetAddress, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket DatagramPacket(byte[], int, int, java.net.SocketAddress) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket DatagramPacket(byte[], int, int, java.net.SocketAddress) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket DatagramPacket(byte[], int, java.net.InetAddress, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket DatagramPacket(byte[], int, java.net.SocketAddress) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket DatagramPacket(byte[], int, java.net.SocketAddress) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket java.net.SocketAddress getSocketAddress()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket void setData(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket void setData(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramPacket void setSocketAddress(java.net.SocketAddress) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramSocket DatagramSocket(java.net.DatagramSocketImpl) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramSocket void connect(java.net.InetAddress, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramSocket void connect(java.net.SocketAddress) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramSocket void connectInternal(java.net.InetAddress, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramSocket void receive(java.net.DatagramPacket) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.DatagramSocket void send(java.net.DatagramPacket) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress boolean equals(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->false;null->false""/> + </annotation> + </item> + <item name="java.net.InetAddress int checkNumericZone(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress java.lang.Object checkLookupTable(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.net.InetAddress java.lang.Object getCachedAddress(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress java.lang.Object readResolve()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress java.lang.String getHostFromNameService(java.net.InetAddress, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress java.net.InetAddress getByAddress(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress java.net.InetAddress getByAddress(byte[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress java.net.InetAddress getByAddress(java.lang.String, byte[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[] getAllByName(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="java.net.InetAddress java.net.InetAddress[] getAllByName0(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress java.net.InetAddress[] getAllByName0(java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.InetAddress sun.net.spi.nameservice.NameService access$002(sun.net.spi.nameservice.NameService)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="java.net.ServerSocket ServerSocket(java.net.Proxy) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.ServerSocket java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.ServerSocket java.net.Socket accept()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.ServerSocket java.net.SocketImpl access$000(java.net.ServerSocket) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.ServerSocket void implAccept(java.net.Socket) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 connect(java.net.SocketAddress, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 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 join(char[], int[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI int join(char[], int[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI int needsNormalization(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$002(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$002(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String access$1002(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$1002(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String access$1102(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$1102(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String access$1402(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$1402(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String access$1502(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$1502(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String access$2202(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$2202(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String access$2302(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$2302(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String access$2402(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$2402(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String access$702(java.net.URI, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String access$702(java.net.URI, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String decode(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String encode(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String encode(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String normalize(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String normalize(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String quote(java.lang.String, long, long) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.lang.String quote(java.lang.String, long, long)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->!null""/> + </annotation> + </item> + <item name="java.net.URI java.lang.String resolvePath(java.lang.String, java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.net.URI create(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.net.URI normalize(java.net.URI) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.net.URI normalize(java.net.URI)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.net.URI java.net.URI parseServerAuthority()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.net.URI relativize(java.net.URI) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.net.URI relativize(java.net.URI)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.net.URI java.net.URI relativize(java.net.URI, java.net.URI) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.net.URI relativize(java.net.URI, java.net.URI)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null""/> + </annotation> + </item> + <item name="java.net.URI java.net.URI resolve(java.net.URI) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.net.URI resolve(java.net.URI, java.net.URI) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI java.net.URL toURL()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI long highMask(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI long lowMask(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 maybeAddLeadingDot(char[], int[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI void removeDots(char[], int[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI void removeDots(char[], int[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI void split(char[], int[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI void split(char[], int[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URI void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL URL(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL URL(java.lang.String, java.lang.String, int, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL URL(java.lang.String, java.lang.String, int, java.lang.String, java.net.URLStreamHandler) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL URL(java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL URL(java.net.URL, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.net.URL boolean isValidProtocol(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL java.net.URI toURI()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL java.net.URLConnection openConnection(java.net.Proxy) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL void checkSpecifyHandler(java.lang.SecurityManager) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URL void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URLConnection boolean checkfpx(java.io.InputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URLConnection int readBytes(int[], int, java.io.InputStream) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->null;null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="java.net.URLConnection java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URLConnection java.lang.String typeToPackageName(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URLConnection java.lang.String typeToPackageName(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URLConnection java.net.ContentHandler lookupContentHandlerClassFor(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.net.URLConnection java.net.FileNameMap getFileNameMap()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 setRequestProperty(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..756cbfcdd13e --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/security/annotations.xml @@ -0,0 +1,132 @@ +<root> + <item name="java.security.Identity boolean identityEquals(java.security.Identity) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Identity boolean keyEquals(java.security.Key, java.security.Key) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Identity boolean keyEquals(java.security.Key, java.security.Key) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Identity java.lang.String printKeys()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Identity java.lang.String toString(boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""true->!null""/> + </annotation> + </item> + <item name="java.security.Identity java.security.Certificate[] certificates()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="java.security.Policy void initPolicy(java.security.Policy) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider java.lang.String[] getTypeAndAlgorithm(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider java.util.Collection values()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider java.util.Set keySet()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider void implPutAll(java.util.Map) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider void parseLegacyPut(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider void putAll(java.util.Map) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider void putPropertyStrings(java.security.Provider.Service) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider void putService(java.security.Provider.Service) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider void removeInvalidServices(java.util.Map<java.security.Provider.ServiceKey,java.security.Provider.Service>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider void removePropertyStrings(java.security.Provider.Service) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Provider void removeService(java.security.Provider.Service) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security boolean isConstraintSatisfied(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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security boolean isStandardAttr(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security int addProvider(java.security.Provider) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security java.lang.String getProviderProperty(java.lang.String, java.security.Provider) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security java.lang.String[] getFilterComponents(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security java.lang.String[] getFilterComponents(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security java.lang.String[] getFilterComponents(java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security java.security.Provider[] getProviders(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security java.security.Provider[] getProviders(java.util.Map) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security java.util.LinkedHashSet getAllQualifyingCandidates(java.lang.String, java.lang.String, java.security.Provider[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security java.util.LinkedHashSet getAllQualifyingCandidates(java.lang.String, java.lang.String, java.security.Provider[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[]) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security void invalidateSMCache(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Security void setProperty(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Signer java.lang.String printKeys()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Signer java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.security.Signer void setKeyPair(java.security.KeyPair) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..2aaa71e67f39 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/sql/annotations.xml @@ -0,0 +1,78 @@ +<root> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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<?>)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->false""/> + </annotation> + </item> + <item name="java.sql.DriverManager java.sql.Connection getConnection(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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 registerDriver(java.sql.Driver) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.sql.SQLException java.util.Iterator<java.lang.Throwable> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.sql.Time java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.sql.Time java.sql.Time valueOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.sql.Timestamp boolean equals(java.sql.Timestamp)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.sql.Timestamp int compareTo(java.sql.Timestamp) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.sql.Timestamp int compareTo(java.util.Date) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.sql.Timestamp java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.sql.Timestamp java.sql.Timestamp valueOf(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.sql.Timestamp java.sql.Timestamp valueOf(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..363b81c827b4 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/annotations.xml @@ -0,0 +1,1533 @@ +<root> + <item name="java.util.AbstractCollection T[] toArray(T[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 containsAll(java.util.Collection<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractCollection java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractList boolean add(E)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true;null->true""/> + </annotation> + </item> + <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 java.lang.String outOfBoundsMsg(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractList java.util.Iterator<E> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractList java.util.List<E> subList(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractList java.util.ListIterator<E> listIterator(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractMap java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractMap void putAll(java.util.Map<? extends K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractMap.1 java.util.Iterator<K> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractMap.2 java.util.Iterator<V> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 equals(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.AbstractMap.SimpleEntry java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.AbstractQueue boolean add(E)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true;null->true""/> + </annotation> + </item> + <item name="java.util.AbstractQueue boolean addAll(java.util.Collection<? extends E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 removeAll(java.util.Collection<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.ArrayList ArrayList(java.util.Collection<? extends E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.ArrayList T[] toArray(T[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.ArrayList boolean add(E)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true;null->true""/> + </annotation> + </item> + <item name="java.util.ArrayList boolean addAll(int, java.util.Collection<? extends E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.lang.Object[] toArray()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.ArrayList void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.ArrayList void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays T[] cloneSubarray(T[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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(byte[], byte) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int binarySearch(char[], char) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int binarySearch(double[], double) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int binarySearch(float[], float) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int binarySearch(int[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int binarySearch(java.lang.Object[], java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int binarySearch(long[], long) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int binarySearch(short[], short) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int med3(byte[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int med3(char[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int med3(double[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int med3(float[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int med3(int[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays int med3(long[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays java.lang.String toString(short[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays java.util.List<T> asList(T...) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[]>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(boolean[], boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(boolean[], int, int, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(byte[], byte) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(byte[], int, int, byte) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(char[], char) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(char[], int, int, char) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(double[], double) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(double[], int, int, double) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(float[], float) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(float[], int, int, float) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(int[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(int[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(java.lang.Object[], int, int, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(java.lang.Object[], java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(long[], int, int, long) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(long[], long) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(short[], int, int, short) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void fill(short[], short) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[], java.util.Comparator<? super T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(double[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(double[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(float[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(float[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(int[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(int[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(java.lang.Object[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(long[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(long[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(short[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void sort(short[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void swap(byte[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void swap(char[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void swap(double[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void swap(float[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void swap(int[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void swap(java.lang.Object[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void swap(long[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays void swap(short[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Arrays.ArrayList ArrayList(E[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.Calendar java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Calendar createCalendar(java.util.TimeZone, java.util.Locale) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Calendar createCalendar(java.util.TimeZone, java.util.Locale)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Calendar getInstance()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Calendar getInstance(java.util.Locale) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Calendar getInstance(java.util.Locale)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Calendar getInstance(java.util.TimeZone)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Calendar getInstance(java.util.TimeZone, java.util.Locale) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Calendar getInstance(java.util.TimeZone, java.util.Locale)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar java.util.Date getTime()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar void setTime(java.util.Date) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Calendar void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections T get(java.util.ListIterator<? extends T>, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections T max(java.util.Collection<? extends 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>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 boolean addAll(java.util.Collection<? super T>, T...) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections boolean disjoint(java.util.Collection<?>, java.util.Collection<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 replaceAll(java.util.List<T>, T, 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>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 indexOfSubList(java.util.List<?>, java.util.List<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections int indexOfSubList(java.util.List<?>, java.util.List<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections int indexedBinarySearch(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 indexedBinarySearch(java.util.List<? extends java.lang.Comparable<? super T>>, T) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections int iteratorBinarySearch(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 iteratorBinarySearch(java.util.List<? extends java.lang.Comparable<? super T>>, T) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections int lastIndexOfSubList(java.util.List<?>, java.util.List<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections int lastIndexOfSubList(java.util.List<?>, java.util.List<?>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.ArrayList<T> list(java.util.Enumeration<T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Collection<E> checkedCollection(java.util.Collection<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Collection<E> checkedCollection(java.util.Collection<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Collection<E> checkedCollection(java.util.Collection<E>, java.lang.Class<E>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Collection<T> synchronizedCollection(java.util.Collection<T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Collection<T> synchronizedCollection(java.util.Collection<T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Collection<T> synchronizedCollection(java.util.Collection<T>, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Collection<T> unmodifiableCollection(java.util.Collection<? extends T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.Enumeration<T> enumeration(java.util.Collection<T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Iterator<E> singletonIterator(E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<E> checkedList(java.util.List<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<E> checkedList(java.util.List<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<E> checkedList(java.util.List<E>, java.lang.Class<E>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<T> nCopies(int, T)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<T> singletonList(T)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<T> synchronizedList(java.util.List<T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<T> synchronizedList(java.util.List<T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<T> synchronizedList(java.util.List<T>, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<T> unmodifiableList(java.util.List<? extends T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.List<T> unmodifiableList(java.util.List<? extends T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> checkedMap(java.util.Map<K,V>, java.lang.Class<K>, java.lang.Class<V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> checkedMap(java.util.Map<K,V>, java.lang.Class<K>, java.lang.Class<V>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> checkedMap(java.util.Map<K,V>, java.lang.Class<K>, java.lang.Class<V>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> checkedMap(java.util.Map<K,V>, java.lang.Class<K>, java.lang.Class<V>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> singletonMap(K, V)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> synchronizedMap(java.util.Map<K,V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> synchronizedMap(java.util.Map<K,V>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> unmodifiableMap(java.util.Map<? extends K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Map<K,V> unmodifiableMap(java.util.Map<? extends K,? extends V>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Queue<T> asLifoQueue(java.util.Deque<T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<E> checkedSet(java.util.Set<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<E> checkedSet(java.util.Set<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<E> checkedSet(java.util.Set<E>, java.lang.Class<E>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<E> newSetFromMap(java.util.Map<E,java.lang.Boolean>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<E> newSetFromMap(java.util.Map<E,java.lang.Boolean>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<T> singleton(T)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<T> synchronizedSet(java.util.Set<T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<T> synchronizedSet(java.util.Set<T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<T> synchronizedSet(java.util.Set<T>, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<T> unmodifiableSet(java.util.Set<? extends T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.Set<T> unmodifiableSet(java.util.Set<? extends T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedMap<K,V> checkedSortedMap(java.util.SortedMap<K,V>, java.lang.Class<K>, java.lang.Class<V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedMap<K,V> checkedSortedMap(java.util.SortedMap<K,V>, java.lang.Class<K>, java.lang.Class<V>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedMap<K,V> checkedSortedMap(java.util.SortedMap<K,V>, java.lang.Class<K>, java.lang.Class<V>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedMap<K,V> checkedSortedMap(java.util.SortedMap<K,V>, java.lang.Class<K>, java.lang.Class<V>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedMap<K,V> synchronizedSortedMap(java.util.SortedMap<K,V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedMap<K,V> synchronizedSortedMap(java.util.SortedMap<K,V>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedMap<K,V> unmodifiableSortedMap(java.util.SortedMap<K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedMap<K,V> unmodifiableSortedMap(java.util.SortedMap<K,? extends V>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedSet<E> checkedSortedSet(java.util.SortedSet<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedSet<E> checkedSortedSet(java.util.SortedSet<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedSet<E> checkedSortedSet(java.util.SortedSet<E>, java.lang.Class<E>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedSet<T> synchronizedSortedSet(java.util.SortedSet<T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedSet<T> synchronizedSortedSet(java.util.SortedSet<T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedSet<T> unmodifiableSortedSet(java.util.SortedSet<T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections java.util.SortedSet<T> unmodifiableSortedSet(java.util.SortedSet<T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void copy(java.util.List<? super T>, java.util.List<? extends T>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void copy(java.util.List<? super T>, java.util.List<? extends T>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void fill(java.util.List<? super T>, T) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void reverse(java.util.List<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void rotate(java.util.List<?>, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void rotate1(java.util.List<T>, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void rotate2(java.util.List<?>, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void shuffle(java.util.List<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void shuffle(java.util.List<?>, java.util.Random) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void sort(java.util.List<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>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void swap(java.lang.Object[], int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections void swap(java.util.List<?>, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.AsLIFOQueue boolean add(E)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true;null->true""/> + </annotation> + </item> + <item name="java.util.Collections.CheckedCollection CheckedCollection(java.util.Collection<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedCollection CheckedCollection(java.util.Collection<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedCollection java.lang.String badElementMsg(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedCollection java.lang.String badElementMsg(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedCollection java.util.Collection<E> checkedCopyOf(java.util.Collection<? extends E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedCollection java.util.Collection<E> checkedCopyOf(java.util.Collection<? extends E>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedCollection java.util.Iterator<E> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedList CheckedList(java.util.List<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedList CheckedList(java.util.List<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedList java.util.List<E> subList(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedList java.util.ListIterator<E> listIterator(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap CheckedMap(java.util.Map<K,V>, java.lang.Class<K>, java.lang.Class<V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap CheckedMap(java.util.Map<K,V>, java.lang.Class<K>, java.lang.Class<V>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap CheckedMap(java.util.Map<K,V>, java.lang.Class<K>, java.lang.Class<V>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap java.lang.String badKeyMsg(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap java.lang.String badKeyMsg(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap java.lang.String badValueMsg(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap java.lang.String badValueMsg(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.CheckedEntrySet T[] toArray(T[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet boolean contains(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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 remove(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet java.util.Collections.CheckedMap.CheckedEntrySet.CheckedEntry<K,V,T> checkedEntry(java.util.Map.Entry<K,V>, java.lang.Class<T>)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet java.util.Iterator<java.util.Map.Entry<K,V>> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.lang.String badValueMsg(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedMap.CheckedEntrySet.CheckedEntry java.lang.String badValueMsg(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedRandomAccessList CheckedRandomAccessList(java.util.List<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedRandomAccessList CheckedRandomAccessList(java.util.List<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedRandomAccessList java.util.List<E> subList(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSet CheckedSet(java.util.Set<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSet CheckedSet(java.util.Set<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedMap CheckedSortedMap(java.util.SortedMap<K,V>, java.lang.Class<K>, java.lang.Class<V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedMap CheckedSortedMap(java.util.SortedMap<K,V>, java.lang.Class<K>, java.lang.Class<V>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedMap CheckedSortedMap(java.util.SortedMap<K,V>, java.lang.Class<K>, java.lang.Class<V>) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedMap java.util.SortedMap<K,V> headMap(K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedMap java.util.SortedMap<K,V> subMap(K, K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedMap java.util.SortedMap<K,V> tailMap(K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedSet CheckedSortedSet(java.util.SortedSet<E>, java.lang.Class<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedSet CheckedSortedSet(java.util.SortedSet<E>, java.lang.Class<E>) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedSet java.util.SortedSet<E> headSet(E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedSet java.util.SortedSet<E> subSet(E, E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CheckedSortedSet java.util.SortedSet<E> tailSet(E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.CopiesList T[] toArray(T[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.EmptyList T[] toArray(T[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.EmptyList T[] toArray(T[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.util.Collections.EmptyList boolean contains(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->false;null->false""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.Collections.EmptyList java.lang.Object[] toArray()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.Collections.EmptySet T[] toArray(T[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.EmptySet T[] toArray(T[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.util.Collections.EmptySet boolean contains(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->false;null->false""/> + </annotation> + </item> + <item name="java.util.Collections.EmptySet boolean containsAll(java.util.Collection<?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.EmptySet java.lang.Object[] toArray()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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 java.util.Iterator<E> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SingletonSet java.util.Iterator<E> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedCollection SynchronizedCollection(java.util.Collection<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedCollection void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedList SynchronizedList(java.util.List<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedList java.lang.Object readResolve()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedList java.util.List<E> subList(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedMap SynchronizedMap(java.util.Map<K,V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedMap void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedRandomAccessList SynchronizedRandomAccessList(java.util.List<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedRandomAccessList java.lang.Object writeReplace()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedRandomAccessList java.util.List<E> subList(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSet SynchronizedSet(java.util.Set<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSortedMap SynchronizedSortedMap(java.util.SortedMap<K,V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSortedMap java.util.SortedMap<K,V> headMap(K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSortedMap java.util.SortedMap<K,V> subMap(K, K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSortedMap java.util.SortedMap<K,V> tailMap(K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSortedSet SynchronizedSortedSet(java.util.SortedSet<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSortedSet java.util.SortedSet<E> headSet(E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSortedSet java.util.SortedSet<E> subSet(E, E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.SynchronizedSortedSet java.util.SortedSet<E> tailSet(E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.util.Iterator<E> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 java.lang.Object readResolve()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableList java.util.List<E> subList(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableList java.util.ListIterator<E> listIterator(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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 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.UnmodifiableRandomAccessList UnmodifiableRandomAccessList(java.util.List<? extends E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableRandomAccessList java.lang.Object writeReplace()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableRandomAccessList java.util.List<E> subList(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSet UnmodifiableSet(java.util.Set<? extends E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSortedMap UnmodifiableSortedMap(java.util.SortedMap<K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSortedMap java.util.SortedMap<K,V> headMap(K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSortedMap java.util.SortedMap<K,V> subMap(K, K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSortedMap java.util.SortedMap<K,V> tailMap(K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSortedSet UnmodifiableSortedSet(java.util.SortedSet<E>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSortedSet java.util.SortedSet<E> headSet(E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSortedSet java.util.SortedSet<E> subSet(E, E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Collections.UnmodifiableSortedSet java.util.SortedSet<E> tailSet(E)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Date Date(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Date boolean after(java.util.Date) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.Date int compareTo(java.util.Date) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Date long parse(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Date void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.GregorianCalendar int floorDivide(int, int, int[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.GregorianCalendar int floorDivide(long, int, int[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.GregorianCalendar java.util.Date getGregorianChange()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.GregorianCalendar long computeJulianDay(boolean, int, int[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.GregorianCalendar void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.GregorianCalendar void setGregorianChange(java.util.Date) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.util.HashMap T unmaskNull(T)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.util.HashMap boolean eq(java.lang.Object, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->true""/> + </annotation> + </item> + <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> removeMapping(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.util.HashMap java.util.Iterator<K> newKeyIterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.HashMap java.util.Iterator<V> newValueIterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.HashMap java.util.Iterator<java.util.Map.Entry<K,V>> newEntryIterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.HashMap void putAll(java.util.Map<? extends K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.HashMap void transfer(java.util.HashMap.Entry[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.HashMap void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable Hashtable(java.util.Map<? extends K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable V get(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable V put(K, V) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable V put(K, V) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable V remove(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable boolean containsKey(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable int access$200(java.util.Hashtable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable int access$210(java.util.Hashtable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable int access$500(java.util.Hashtable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable int access$508(java.util.Hashtable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable java.util.Hashtable.Entry[] access$400(java.util.Hashtable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable java.util.Iterator access$100(java.util.Hashtable, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable void putAll(java.util.Map<? extends K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable void reconstitutionPut(java.util.Hashtable.Entry[], K, V) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable void reconstitutionPut(java.util.Hashtable.Entry[], K, V) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable void reconstitutionPut(java.util.Hashtable.Entry[], K, V) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.Hashtable.Entry java.lang.Object clone()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Hashtable.Entry java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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 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$1600(java.util.IdentityHashMap, java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.IdentityHashMap int access$000(java.util.IdentityHashMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.IdentityHashMap int access$010(java.util.IdentityHashMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.IdentityHashMap int access$200(java.util.IdentityHashMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.IdentityHashMap int access$204(java.util.IdentityHashMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.IdentityHashMap java.lang.Object access$600(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.util.IdentityHashMap java.lang.Object maskNull(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="java.util.IdentityHashMap java.lang.Object unmaskNull(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.util.IdentityHashMap java.lang.Object[] access$100(java.util.IdentityHashMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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.Entry int access$800(java.util.IdentityHashMap.EntryIterator.Entry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.IdentityHashMap.EntryIterator.Entry int access$802(java.util.IdentityHashMap.EntryIterator.Entry, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.IdentityHashMap.EntryIterator.Entry java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="java.util.IdentityHashMap.EntrySet boolean remove(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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.KeySet java.util.Iterator<K> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.IdentityHashMap.Values java.util.Iterator<V> iterator()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale Locale(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale Locale(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale Locale(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale Locale(java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale Locale(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,null->!null;_,null,_->!null""/> + </annotation> + </item> + <item name="java.util.Locale java.lang.String getDisplayCountry(java.util.Locale)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="java.util.Locale java.lang.String getDisplayLanguage(java.util.Locale)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="java.util.Locale java.lang.String getDisplayString(java.lang.String, java.util.Locale, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.lang.String getDisplayString(java.lang.String, java.util.Locale, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_->!null""/> + </annotation> + </item> + <item name="java.util.Locale java.lang.String getISO3Code(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.lang.String getISO3Code(java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null""/> + </annotation> + </item> + <item name="java.util.Locale java.lang.String toLowerCase(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.lang.String toLowerCase(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.lang.String toUpperCase(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.lang.String toUpperCase(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[] getISO2Table(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.lang.String[] getISOCountries()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.lang.String[] getISOLanguages()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.util.Locale createSingleton(java.lang.String, java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.util.Locale getInstance(java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.util.Locale getInstance(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale java.util.Locale getInstance(java.lang.String, java.lang.String, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Locale void setDefault(java.util.Locale) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties java.lang.String getProperty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties java.lang.String loadConvert(char[], int, int, char[]) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties java.lang.String loadConvert(char[], int, int, char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties java.lang.String saveConvert(java.lang.String, boolean, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties java.lang.String saveConvert(java.lang.String, boolean, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void list(java.io.PrintStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void list(java.io.PrintWriter) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void load0(java.util.Properties.LineReader) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void loadFromXML(java.io.InputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void store(java.io.OutputStream, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void store(java.io.Writer, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void store0(java.io.BufferedWriter, java.lang.String, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void storeToXML(java.io.OutputStream, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void storeToXML(java.io.OutputStream, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void writeComments(java.io.BufferedWriter, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Properties void writeComments(java.io.BufferedWriter, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Random void nextBytes(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Random void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.Random void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap K key(java.util.TreeMap.Entry<K,?>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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 valueSearchNonNull(java.util.TreeMap.Entry, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap boolean valueSearchNonNull(java.util.TreeMap.Entry, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap boolean valueSearchNull(java.util.TreeMap.Entry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap int access$100(java.util.TreeMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap int access$1600(java.util.TreeMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap int access$900(java.util.TreeMap, java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.lang.Object access$1200(java.util.TreeMap.Entry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.util.Comparator access$1000(java.util.TreeMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.util.SortedMap<K,V> headMap(K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.util.SortedMap<K,V> subMap(K, K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.util.SortedMap<K,V> tailMap(K)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry access$1100(java.util.TreeMap, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry access$1300(java.util.TreeMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry access$1400(java.util.TreeMap, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap java.util.TreeMap.Entry access$300(java.util.TreeMap) 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) 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->null""/> + </annotation> + </item> + <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>)"> + <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>)"> + <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>)"> + <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>)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="java.util.TreeMap void access$600(java.util.TreeMap, java.util.TreeMap.Entry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap void access$600(java.util.TreeMap, java.util.TreeMap.Entry) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 fixAfterInsertion(java.util.TreeMap.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap void putAll(java.util.Map<? extends K,? extends V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.TreeMap void rotateLeft(java.util.TreeMap.Entry<K,V>) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/annotations.xml new file mode 100644 index 000000000000..3c186b1661ef --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/annotations.xml @@ -0,0 +1,5 @@ +<root> + <item name="java.util.concurrent.TimeUnit long convert(long, java.util.concurrent.TimeUnit) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..def395c4cf42 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/atomic/annotations.xml @@ -0,0 +1,98 @@ +<root> + <item name="java.util.concurrent.atomic.AtomicBoolean java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicInteger java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicIntegerArray AtomicIntegerArray(int[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicIntegerArray java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicIntegerFieldUpdater java.util.concurrent.atomic.AtomicIntegerFieldUpdater<U> newUpdater(java.lang.Class<U>, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicIntegerFieldUpdater java.util.concurrent.atomic.AtomicIntegerFieldUpdater<U> newUpdater(java.lang.Class<U>, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicIntegerFieldUpdater java.util.concurrent.atomic.AtomicIntegerFieldUpdater<U> newUpdater(java.lang.Class<U>, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl AtomicIntegerFieldUpdaterImpl(java.lang.Class<T>, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl AtomicIntegerFieldUpdaterImpl(java.lang.Class<T>, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLong java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongArray AtomicLongArray(long[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongArray java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongFieldUpdater java.util.concurrent.atomic.AtomicLongFieldUpdater<U> newUpdater(java.lang.Class<U>, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongFieldUpdater java.util.concurrent.atomic.AtomicLongFieldUpdater<U> newUpdater(java.lang.Class<U>, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongFieldUpdater java.util.concurrent.atomic.AtomicLongFieldUpdater<U> newUpdater(java.lang.Class<U>, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongFieldUpdater.CASUpdater CASUpdater(java.lang.Class<T>, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongFieldUpdater.CASUpdater CASUpdater(java.lang.Class<T>, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongFieldUpdater.LockedUpdater LockedUpdater(java.lang.Class<T>, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicLongFieldUpdater.LockedUpdater LockedUpdater(java.lang.Class<T>, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.ReferenceBooleanPair boolean access$100(java.util.concurrent.atomic.AtomicMarkableReference.ReferenceBooleanPair) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicMarkableReference.ReferenceBooleanPair java.lang.Object access$000(java.util.concurrent.atomic.AtomicMarkableReference.ReferenceBooleanPair) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicReferenceArray AtomicReferenceArray(E[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicReferenceArray java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicReferenceFieldUpdater java.util.concurrent.atomic.AtomicReferenceFieldUpdater<U,W> newUpdater(java.lang.Class<U>, java.lang.Class<W>, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicReferenceFieldUpdater java.util.concurrent.atomic.AtomicReferenceFieldUpdater<U,W> newUpdater(java.lang.Class<U>, java.lang.Class<W>, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicReferenceFieldUpdater java.util.concurrent.atomic.AtomicReferenceFieldUpdater<U,W> newUpdater(java.lang.Class<U>, java.lang.Class<W>, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.atomic.AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl AtomicReferenceFieldUpdaterImpl(java.lang.Class<T>, java.lang.Class<V>, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.AtomicStampedReference V get(int[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <item name="java.util.concurrent.atomic.AtomicStampedReference.ReferenceIntegerPair java.lang.Object access$000(java.util.concurrent.atomic.AtomicStampedReference.ReferenceIntegerPair) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..a5aef3c11bb8 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/java/util/concurrent/locks/annotations.xml @@ -0,0 +1,134 @@ +<root> + <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 hasWaiters(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer boolean isOnSyncQueue(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer boolean isQueued(java.lang.Thread) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer boolean owns(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer boolean shouldParkAfterFailedAcquire(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node, java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer boolean transferAfterCancelledWait(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer int getWaitQueueLength(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer java.util.Collection<java.lang.Thread> getWaitingThreads(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer java.util.concurrent.locks.AbstractQueuedSynchronizer.Node addWaiter(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 setHead(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer void setHeadAndPropagate(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer void unparkSuccessor(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject boolean await(long, java.util.concurrent.TimeUnit) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.util.concurrent.locks.AbstractQueuedSynchronizer.Node addConditionWaiter()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject void doSignal(java.util.concurrent.locks.AbstractQueuedSynchronizer.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.ReentrantLock boolean hasWaiters(java.util.concurrent.locks.Condition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantLock boolean tryLock(long, java.util.concurrent.TimeUnit) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantLock int getWaitQueueLength(java.util.concurrent.locks.Condition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantLock java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantLock java.util.Collection<java.lang.Thread> getWaitingThreads(java.util.concurrent.locks.Condition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantLock java.util.concurrent.locks.Condition newCondition()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantLock.Sync java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject newCondition()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantLock.Sync void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock boolean hasWaiters(java.util.concurrent.locks.Condition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock int getWaitQueueLength(java.util.concurrent.locks.Condition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock java.util.Collection<java.lang.Thread> getWaitingThreads(java.util.concurrent.locks.Condition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock ReadLock(java.util.concurrent.locks.ReentrantReadWriteLock) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock boolean tryLock(long, java.util.concurrent.TimeUnit) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.Sync java.lang.IllegalMonitorStateException unmatchedUnlockException()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.Sync java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject newCondition()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.Sync void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.Sync.ThreadLocalHoldCounter java.lang.Object initialValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.Sync.ThreadLocalHoldCounter java.util.concurrent.locks.ReentrantReadWriteLock.Sync.HoldCounter initialValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock WriteLock(java.util.concurrent.locks.ReentrantReadWriteLock) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock boolean tryLock(long, java.util.concurrent.TimeUnit) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock java.util.concurrent.locks.Condition newCondition()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..c0738eb8897d --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/javax/swing/annotations.xml @@ -0,0 +1,527 @@ +<root> + <item name="javax.swing.AbstractButton java.beans.PropertyChangeListener createActionPropertyChangeListener(javax.swing.Action)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.AbstractButton java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.AbstractButton javax.swing.AbstractButton.Handler access$000(javax.swing.AbstractButton) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.AbstractButton void access$100(javax.swing.AbstractButton) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JButton java.lang.String getUIClassID()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JButton java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JButton void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent boolean isLightweightComponent(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent boolean processKeyBinding(javax.swing.KeyStroke, java.awt.event.KeyEvent, int, boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_,_->false""/> + </annotation> + </item> + <item name="javax.swing.JComponent boolean processKeyBindings(java.awt.event.KeyEvent, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent boolean processKeyBindings(java.awt.event.KeyEvent, boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->false""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->!null""/> + </annotation> + </item> + <item name="javax.swing.JComponent java.awt.Graphics getComponentGraphics(java.awt.Graphics)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->!null""/> + </annotation> + </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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->!null""/> + </annotation> + </item> + <item name="javax.swing.JComponent java.awt.Rectangle getVisibleRect()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent java.lang.String getUIClassID()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent javax.swing.JToolTip createToolTip()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent void computeVisibleRect(java.awt.Component, java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent void computeVisibleRect(java.awt.Component, java.awt.Rectangle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent void computeVisibleRect(java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent void paintImmediately(java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JComponent void paintWithOffscreenBuffer(javax.swing.JComponent, java.awt.Graphics, int, int, int, int, java.awt.Image) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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 repaint(java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="javax.swing.JComponent.AccessibleJComponent javax.accessibility.AccessibleExtendedComponent getAccessibleExtendedComponent()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JDialog javax.swing.JRootPane createRootPane()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JDialog void processWindowEvent(java.awt.event.WindowEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JFrame java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JFrame javax.swing.JRootPane createRootPane()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JFrame void processWindowEvent(java.awt.event.WindowEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JLabel java.lang.String getUIClassID()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JLabel java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JLabel void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JPanel java.lang.String getUIClassID()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JPanel java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JPanel void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane java.awt.Component getCorner(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane java.awt.Rectangle getViewportBorderBounds()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane java.lang.String getUIClassID()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane java.lang.String paramString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane javax.swing.JScrollBar createHorizontalScrollBar()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane javax.swing.JScrollBar createVerticalScrollBar()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane javax.swing.JViewport createViewport()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane void setCorner(java.lang.String, java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JScrollPane void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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""/> + </annotation> + </item> + <item name="javax.swing.JTable int columnAtPoint(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 rowAtPoint(java.awt.Point) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable int[] getSelectedRows()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable java.awt.Component prepareEditor(javax.swing.table.TableCellEditor, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable java.awt.Component prepareRenderer(javax.swing.table.TableCellRenderer, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable java.awt.Dimension getIntercellSpacing()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable java.awt.print.Printable getPrintable(int, java.text.MessageFormat, java.text.MessageFormat)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable java.lang.String getToolTipText(java.awt.event.MouseEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable java.lang.String getUIClassID()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable javax.swing.ListSelectionModel createDefaultSelectionModel()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="javax.swing.JTable javax.swing.table.TableColumnModel createDefaultColumnModel()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable javax.swing.table.TableModel createDefaultDataModel()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void addColumn(javax.swing.table.TableColumn) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void adjustSizes(long, javax.swing.JTable.Resizable2, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void adjustSizes(long, javax.swing.JTable.Resizable3, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 columnSelectionChanged(javax.swing.event.ListSelectionEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 setGridColor(java.awt.Color) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void setIntercellSpacing(java.awt.Dimension) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void setLazyValue(java.util.Hashtable, java.lang.Class, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void setModel(javax.swing.table.TableModel) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void setSelectionBackground(java.awt.Color) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void setSelectionForeground(java.awt.Color) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.JTable void setSelectionModel(javax.swing.ListSelectionModel) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 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 isDescendingFrom(java.awt.Component, java.awt.Component)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->true""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities boolean isLeftMouseButton(java.awt.event.MouseEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities boolean isLeftToRight(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities boolean isMiddleMouseButton(java.awt.event.MouseEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities boolean isRectangleContainingRectangle(java.awt.Rectangle, java.awt.Rectangle) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities boolean isRectangleContainingRectangle(java.awt.Rectangle, java.awt.Rectangle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities boolean isRightMouseButton(java.awt.event.MouseEvent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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 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 getDeepestComponentAt(java.awt.Component, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->null;null,_->null""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities java.awt.Point convertPoint(java.awt.Component, int, int, java.awt.Component)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_,_->!null;_,_,_,!null->!null""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities java.awt.Point convertPoint(java.awt.Component, java.awt.Point, java.awt.Component)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->!null;_,!null,_->!null;_,_,!null->!null""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities java.awt.Point convertScreenLocationToParent(java.awt.Container, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle computeIntersection(int, int, int, int, java.awt.Rectangle) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle computeIntersection(int, int, int, int, java.awt.Rectangle)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,_,_,!null->!null""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle computeUnion(int, int, int, int, java.awt.Rectangle) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle computeUnion(int, int, int, int, java.awt.Rectangle)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,_,_,!null->!null""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle convertRectangle(java.awt.Component, java.awt.Rectangle, java.awt.Component) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle convertRectangle(java.awt.Component, java.awt.Rectangle, java.awt.Component)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Rectangle getLocalBounds(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Window getWindowAncestor(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.Window windowForComponent(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities java.awt.event.MouseEvent convertMouseEvent(java.awt.Component, java.awt.event.MouseEvent, java.awt.Component) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 7"> + <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) 8"> + <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) 9"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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) 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) 8"> + <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) 9"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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) 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) 8"> + <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) 9"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,!null,_,_,_,_,_,_,_,_,_->!null""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities javax.accessibility.Accessible getAccessibleChild(java.awt.Component, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities javax.accessibility.AccessibleStateSet getAccessibleStateSet(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities javax.swing.ActionMap getUIActionMap(javax.swing.JComponent) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities javax.swing.CellRendererPane getCellRendererPane(java.awt.Component, java.awt.Container) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="javax.swing.SwingUtilities void convertPointFromScreen(java.awt.Point, java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void convertPointFromScreen(java.awt.Point, java.awt.Component) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void convertPointToScreen(java.awt.Point, java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void convertPointToScreen(java.awt.Point, java.awt.Component) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void paintComponent(java.awt.Graphics, java.awt.Component, java.awt.Container, int, int, int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void paintComponent(java.awt.Graphics, java.awt.Component, java.awt.Container, java.awt.Rectangle) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void paintComponent(java.awt.Graphics, java.awt.Component, java.awt.Container, java.awt.Rectangle) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void replaceUIActionMap(javax.swing.JComponent, javax.swing.ActionMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void replaceUIInputMap(javax.swing.JComponent, int, javax.swing.InputMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="javax.swing.SwingUtilities void updateComponentTreeUI(java.awt.Component) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 new file mode 100644 index 000000000000..08e265e17fcf --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/annotations.xml @@ -0,0 +1,40 @@ +<root> + <item name="org.apache.commons.collections.ExtendedProperties ExtendedProperties(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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties boolean access$000(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties boolean endsWithSlash(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties java.lang.String escape(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null;null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.collections.ExtendedProperties java.lang.String testBoolean(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties java.lang.String unescape(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties java.lang.String unescape(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties org.apache.commons.collections.ExtendedProperties convertProperties(java.util.Properties) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.ExtendedProperties void combine(org.apache.commons.collections.ExtendedProperties) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 new file mode 100644 index 000000000000..26b98c6bdf92 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/collections/map/annotations.xml @@ -0,0 +1,161 @@ +<root> + <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 isEqualKey(java.lang.Object, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->true""/> + </annotation> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap boolean isEqualValue(java.lang.Object, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->true""/> + </annotation> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap int entryHashCode(org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap java.lang.Object entryKey(org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap java.lang.Object entryValue(org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap org.apache.commons.collections.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> + <item name="org.apache.commons.collections.map.AbstractHashedMap org.apache.commons.collections.map.AbstractHashedMap.HashEntry entryNext(org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap void destroyEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap void doReadObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap void doWriteObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap void putAll(java.util.Map) 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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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 java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap.HashIterator HashIterator(org.apache.commons.collections.map.AbstractHashedMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap.HashIterator java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap.HashMapIterator HashMapIterator(org.apache.commons.collections.map.AbstractHashedMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap.KeySetIterator KeySetIterator(org.apache.commons.collections.map.AbstractHashedMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractHashedMap.ValuesIterator ValuesIterator(org.apache.commons.collections.map.AbstractHashedMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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> + <item name="org.apache.commons.collections.map.AbstractLinkedMap org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry entryAfter(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractLinkedMap org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry entryBefore(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractLinkedMap void addEntry(org.apache.commons.collections.map.AbstractHashedMap.HashEntry, int) 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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <item name="org.apache.commons.collections.map.AbstractLinkedMap.KeySetIterator KeySetIterator(org.apache.commons.collections.map.AbstractLinkedMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator LinkIterator(org.apache.commons.collections.map.AbstractLinkedMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractLinkedMap.LinkMapIterator LinkMapIterator(org.apache.commons.collections.map.AbstractLinkedMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.AbstractLinkedMap.ValuesIterator ValuesIterator(org.apache.commons.collections.map.AbstractLinkedMap) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.LRUMap LRUMap(java.util.Map) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true;null->true""/> + </annotation> + </item> + <item name="org.apache.commons.collections.map.LRUMap void doReadObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.LRUMap void doWriteObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.LRUMap void moveToMRU(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.LRUMap void readObject(java.io.ObjectInputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.LRUMap void reuseMapping(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry, int, int, java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.collections.map.LRUMap 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.LRUMap void writeObject(java.io.ObjectOutputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..e36a5e269c9a --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/annotations.xml @@ -0,0 +1,1581 @@ +<root> + <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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </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 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[] clone(boolean[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ArrayUtils byte[] clone(byte[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ArrayUtils char[] clone(char[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ArrayUtils double[] clone(double[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ArrayUtils float[] clone(float[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ArrayUtils int[] clone(int[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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 remove(java.lang.Object, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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""/> + </annotation> + </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[] 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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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[] clone(long[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ArrayUtils short[] clone(short[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.CharEncoding boolean isSupported(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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.CharSet CharSet(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.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[])"> + <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)"> + <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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null;null,_->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.commons.lang.CharSetUtils java.lang.String translate(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.CharSetUtils org.apache.commons.lang.CharSet evaluateSet(java.lang.String[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <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.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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ClassUtils boolean isInnerClass(java.lang.Class)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.Class primitiveToWrapper(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[] 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[])"> + <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[])"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String getShortCanonicalName(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 getShortClassName(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 getShortClassName(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.String toCanonicalName(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ClassUtils java.lang.reflect.Method getPublicMethod(java.lang.Class, java.lang.String, java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.Entities java.io.StringWriter createStringWriter(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities java.io.StringWriter createStringWriter(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities java.lang.String escape(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities java.lang.String unescape(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities void addEntities(java.lang.String[][]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities void doUnescape(java.io.Writer, java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities void doUnescape(java.io.Writer, java.lang.String, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities void escape(java.io.Writer, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities void fillWithHtml40Entities(org.apache.commons.lang.Entities) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Entities void unescape(java.io.Writer, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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 java.lang.String safeArrayToString(java.lang.Object[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.IntHashMap boolean contains(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.NumberRange NumberRange(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.NumberRange NumberRange(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </item> + <item name="org.apache.commons.lang.NumberUtils boolean isDigits(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.NumberUtils boolean isNumber(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.NumberUtils java.lang.Double createDouble(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.NumberUtils java.lang.Float createFloat(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.NumberUtils java.lang.Integer createInteger(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.NumberUtils java.lang.Integer createInteger(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.NumberUtils java.lang.Long createLong(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.NumberUtils java.math.BigDecimal createBigDecimal(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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.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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.commons.lang.ObjectUtils void identityToString(java.lang.StringBuffer, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.ObjectUtils void identityToString(java.lang.StringBuffer, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[])"> + <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[])"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String random(int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String randomAlphabetic(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String randomAlphanumeric(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String randomAscii(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.RandomStringUtils java.lang.String randomNumeric(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.SerializationUtils java.lang.Object deserialize(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.SerializationUtils java.lang.Object deserialize(java.io.InputStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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""/> + </annotation> + </item> + <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 escapeJava(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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 escapeXml(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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 unescapeJavaScript(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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <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[])"> + <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)"> + <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)"> + <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[])"> + <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)"> + <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[])"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->false;null,_->false""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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 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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->!null;null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String capitalise(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 capitaliseAllWords(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 capitalize(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 center(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 center(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 center(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 chomp(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 chomp(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 chompLast(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String chompLast(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 chompLast(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String chompLast(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 chop(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 chopNewline(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String deleteWhitespace(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 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 getChomp(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getChomp(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getChomp(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 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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,null->null;_,null,_->null;null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getPrechomp(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String getPrechomp(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[])"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_,_->!null;null,_,_,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String overlayString(java.lang.String, java.lang.String, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String overlayString(java.lang.String, java.lang.String, int, int) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String overlayString(java.lang.String, java.lang.String, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String padding(int, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String prechomp(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String prechomp(java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String prechomp(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 remove(java.lang.String, 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 remove(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 removeEnd(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 removeEndIgnoreCase(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 removeStart(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 removeStartIgnoreCase(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 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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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[])"> + <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)"> + <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[])"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String substringAfterLast(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 substringBefore(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 substringBeforeLast(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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,null->null;_,null,_->null;null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String swapCase(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 trim(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 trimToEmpty(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 trimToNull(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 uncapitalise(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 uncapitalize(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 upperCase(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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.StringUtils java.lang.String[] stripAll(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[] 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.SystemUtils boolean getJavaVersionMatches(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.SystemUtils boolean getOSMatches(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.SystemUtils java.io.File getJavaHome()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.SystemUtils java.io.File getJavaIoTmpDir()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.SystemUtils java.io.File getUserDir()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.SystemUtils java.io.File getUserHome()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void allElementsOfType(java.util.Collection, java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void allElementsOfType(java.util.Collection, java.lang.Class) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void allElementsOfType(java.util.Collection, java.lang.Class, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 noNullElements(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void noNullElements(java.lang.Object[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void noNullElements(java.util.Collection) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void noNullElements(java.util.Collection, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notEmpty(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notEmpty(java.lang.Object[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notEmpty(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notEmpty(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notEmpty(java.util.Collection) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notEmpty(java.util.Collection, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notEmpty(java.util.Map) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notEmpty(java.util.Map, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.Validate void notNull(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.lang.String abbreviate(java.lang.String, int, int, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_,_->!null;null,_,_,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String capitalize(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String capitalizeFully(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String initials(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String swapCase(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.WordUtils java.lang.String uncapitalize(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_,_->!null;null,_,_,_->null""/> + </annotation> + </item> +</root> 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 new file mode 100644 index 000000000000..c46c851e0fa1 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/builder/annotations.xml @@ -0,0 +1,574 @@ +<root> + <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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_->!null;null,_,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.builder.CompareToBuilder org.apache.commons.lang.builder.CompareToBuilder appendSuper(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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> + </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> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->!null;null,_->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder org.apache.commons.lang.builder.EqualsBuilder appendSuper(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.EqualsBuilder void reflectionAppend(java.lang.Object, java.lang.Object, java.lang.Class, org.apache.commons.lang.builder.EqualsBuilder, boolean, 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) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(int, int, java.lang.Object, boolean) 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) 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[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(java.lang.Object, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder int reflectionHashCode(java.lang.Object, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.builder.HashCodeBuilder org.apache.commons.lang.builder.HashCodeBuilder appendSuper(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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[] toNoNullStringArray(java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <item name="org.apache.commons.lang.builder.ReflectionToStringBuilder org.apache.commons.lang.builder.ToStringBuilder reflectionAppendArray(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.ToStringBuilder java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(boolean[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(byte)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(byte[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(double[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(float[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(int[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.Object[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, boolean[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, boolean[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, byte)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, byte[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, byte[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, char[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, char[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, double)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, double[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, double[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, float)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, float[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, float[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, int[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, int[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, java.lang.Object, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, java.lang.Object[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, java.lang.Object[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, long[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, long[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, short)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, short[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(java.lang.String, short[], boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringBuilder org.apache.commons.lang.builder.ToStringBuilder append(long[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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)"> + <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)"> + <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)"> + <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 java.lang.String getShortClassName(java.lang.Class)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendContentEnd(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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[]) 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[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <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[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <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[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <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[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <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[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <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[]) 2"> + <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) 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[]) 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[]) 2"> + <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) 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) 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) 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[]) 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[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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[]) 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 appendFieldSeparator(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 appendSummary(java.lang.StringBuffer, java.lang.String, boolean[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, byte[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, char[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, double[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, float[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, int[]) 2"> + <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) 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) 2"> + <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[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, long[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle void appendSummary(java.lang.StringBuffer, java.lang.String, short[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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 removeLastFieldSeparator(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.builder.ToStringStyle.1 java.lang.Object initialValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..be5d5ca8d20e --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enum/annotations.xml @@ -0,0 +1,50 @@ +<root> + <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 java.lang.String getNameInOtherClassLoader(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.Enum java.util.Iterator iterator(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.Enum java.util.List getEnumList(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.Enum java.util.Map getEnumMap(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.Enum org.apache.commons.lang.enum.Enum getEnum(java.lang.Class, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.Enum org.apache.commons.lang.enum.Enum.Entry createEntry(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.Enum org.apache.commons.lang.enum.Enum.Entry getEntry(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.EnumUtils java.util.Iterator iterator(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.EnumUtils java.util.List getEnumList(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.EnumUtils java.util.Map getEnumMap(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.EnumUtils org.apache.commons.lang.enum.Enum getEnum(java.lang.Class, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.EnumUtils org.apache.commons.lang.enum.ValuedEnum getEnum(java.lang.Class, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.ValuedEnum ValuedEnum(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.ValuedEnum int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enum.ValuedEnum org.apache.commons.lang.enum.Enum getEnum(java.lang.Class, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..0e7d219fd30a --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/enums/annotations.xml @@ -0,0 +1,50 @@ +<root> + <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 java.lang.String getNameInOtherClassLoader(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.Enum java.util.Iterator iterator(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.Enum java.util.List getEnumList(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.Enum java.util.Map getEnumMap(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.Enum org.apache.commons.lang.enums.Enum getEnum(java.lang.Class, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.Enum org.apache.commons.lang.enums.Enum.Entry createEntry(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.Enum org.apache.commons.lang.enums.Enum.Entry getEntry(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.EnumUtils java.util.Iterator iterator(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.EnumUtils java.util.List getEnumList(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.EnumUtils java.util.Map getEnumMap(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.EnumUtils org.apache.commons.lang.enums.Enum getEnum(java.lang.Class, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.EnumUtils org.apache.commons.lang.enums.ValuedEnum getEnum(java.lang.Class, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.ValuedEnum ValuedEnum(java.lang.String, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.ValuedEnum int getValueInOtherClassLoader(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.enums.ValuedEnum org.apache.commons.lang.enums.Enum getEnum(java.lang.Class, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..2924cb9a5731 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/exception/annotations.xml @@ -0,0 +1,72 @@ +<root> + <item name="org.apache.commons.lang.exception.ExceptionUtils boolean isNestedThrowable(java.lang.Throwable)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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 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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getRootCauseMessage(java.lang.Throwable)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils java.lang.String getStackTrace(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[] 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)"> + <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[])"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </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 void removeCommonFrames(java.util.List, java.util.List) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.exception.ExceptionUtils void removeCommonFrames(java.util.List, java.util.List) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.lang.String getMessage(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.exception.NestableDelegate java.lang.String[] getStackFrames(java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.exception.NestableDelegate void printStackTrace(java.io.PrintStream) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.exception.NestableDelegate void trimStackFrames(java.util.List) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..c799fc9bc0fd --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/math/annotations.xml @@ -0,0 +1,309 @@ +<root> + <item name="org.apache.commons.lang.math.DoubleRange DoubleRange(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.DoubleRange DoubleRange(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.FloatRange FloatRange(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.FloatRange FloatRange(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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 org.apache.commons.lang.math.Fraction abs()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction add(org.apache.commons.lang.math.Fraction) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction add(org.apache.commons.lang.math.Fraction)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction addSub(org.apache.commons.lang.math.Fraction, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction addSub(org.apache.commons.lang.math.Fraction, boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null;_,false->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction divideBy(org.apache.commons.lang.math.Fraction) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction getFraction(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction getFraction(int, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction getFraction(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction invert()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction multiplyBy(org.apache.commons.lang.math.Fraction) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction negate()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction subtract(org.apache.commons.lang.math.Fraction) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.Fraction org.apache.commons.lang.math.Fraction subtract(org.apache.commons.lang.math.Fraction)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.IEEE754rUtils double max(double[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.IEEE754rUtils double min(double[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.IEEE754rUtils float max(float[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.IEEE754rUtils float min(float[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.IntRange IntRange(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.IntRange IntRange(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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.LongRange LongRange(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.LongRange LongRange(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.NumberRange NumberRange(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.NumberRange NumberRange(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.NumberUtils boolean isAllZeros(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.NumberUtils boolean isDigits(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.NumberUtils boolean isNumber(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.NumberUtils byte max(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils byte min(byte[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils double max(double[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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 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 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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.NumberUtils long max(long[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 short max(short[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.NumberUtils short min(short[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.RandomUtils boolean nextBoolean(java.util.Random) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.RandomUtils double nextDouble(java.util.Random) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.RandomUtils float nextFloat(java.util.Random) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.RandomUtils int nextInt(java.util.Random) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.math.RandomUtils int nextInt(java.util.Random, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.commons.lang.math.Range java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..dd2d7d0d82ab --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/mutable/annotations.xml @@ -0,0 +1,192 @@ +<root> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.mutable.MutableBoolean int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableBoolean java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableBoolean void setValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.mutable.MutableByte int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableByte java.lang.Byte toByte()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableByte java.lang.Object getValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableByte java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableByte void add(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableByte void setValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableByte void subtract(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.mutable.MutableDouble int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableDouble java.lang.Double toDouble()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableDouble java.lang.Object getValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableDouble void add(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableDouble void setValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableDouble void subtract(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.mutable.MutableFloat int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableFloat java.lang.Float toFloat()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableFloat java.lang.Object getValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableFloat void add(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableFloat void setValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableFloat void subtract(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.mutable.MutableInt int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableInt java.lang.Integer toInteger()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableInt java.lang.Object getValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableInt java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableInt void add(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableInt void setValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableInt void subtract(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.mutable.MutableLong int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableLong java.lang.Long toLong()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableLong java.lang.Object getValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableLong java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableLong void add(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableLong void setValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.mutable.MutableShort int compareTo(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableShort java.lang.Object getValue()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableShort java.lang.Short toShort()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableShort java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableShort void add(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableShort void setValue(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.mutable.MutableShort void subtract(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..d6d4e6ec1483 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/text/annotations.xml @@ -0,0 +1,422 @@ +<root> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat boolean containsElements(java.util.Collection)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat int readArgumentIndex(java.lang.String, java.text.ParsePosition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat int readArgumentIndex(java.lang.String, java.text.ParsePosition) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.lang.String insertFormats(java.lang.String, java.util.ArrayList)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null;null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.lang.String parseFormatDescription(java.lang.String, java.text.ParsePosition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.lang.String parseFormatDescription(java.lang.String, java.text.ParsePosition) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.lang.String parseFormatDescription(java.lang.String, java.text.ParsePosition)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.lang.StringBuffer appendQuotedString(java.lang.String, java.text.ParsePosition, java.lang.StringBuffer, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.lang.StringBuffer appendQuotedString(java.lang.String, java.text.ParsePosition, java.lang.StringBuffer, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.lang.StringBuffer appendQuotedString(java.lang.String, java.text.ParsePosition, java.lang.StringBuffer, boolean)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,!null,_->!null;_,_,null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.text.Format getFormat(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.text.ParsePosition next(java.text.ParsePosition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat java.text.ParsePosition next(java.text.ParsePosition)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat void getQuotedString(java.lang.String, java.text.ParsePosition, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat void getQuotedString(java.lang.String, java.text.ParsePosition, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.ExtendedMessageFormat void seekNonWs(java.lang.String, java.text.ParsePosition) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.StrBuilder boolean equals(org.apache.commons.lang.text.StrBuilder)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.StrBuilder boolean equalsIgnoreCase(org.apache.commons.lang.text.StrBuilder)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->!null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.StrBuilder java.io.Reader asReader()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder java.io.Writer asWriter()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder java.lang.String leftString(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder java.lang.String midString(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder java.lang.String rightString(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder java.lang.String substring(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder java.lang.StringBuffer toStringBuffer()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder append(boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[])"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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[])"> + <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.util.Collection)"> + <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.util.Iterator)"> + <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 appendSeparator(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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)"> + <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)"> + <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 appendWithSeparators(java.util.Collection, 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 appendWithSeparators(java.util.Iterator, 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 clear()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 deleteCharAt(int)"> + <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> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder ensureCapacity(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder insert(int, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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[])"> + <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)"> + <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.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrBuilder org.apache.commons.lang.text.StrBuilder minimizeCapacity()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <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 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)"> + <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 setCharAt(int, char)"> + <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.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.StrLookup org.apache.commons.lang.text.StrLookup mapLookup(java.util.Map)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrMatcher int isMatch(char[], int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrMatcher org.apache.commons.lang.text.StrMatcher charMatcher(char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrMatcher.CharMatcher int isMatch(char[], int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrMatcher.CharSetMatcher CharSetMatcher(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->false""/> + </annotation> + </item> + <item name="org.apache.commons.lang.text.StrSubstitutor boolean substitute(org.apache.commons.lang.text.StrBuilder, int, int) 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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </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> + <item name="org.apache.commons.lang.text.StrSubstitutor org.apache.commons.lang.text.StrSubstitutor setVariablePrefixMatcher(org.apache.commons.lang.text.StrMatcher) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrSubstitutor org.apache.commons.lang.text.StrSubstitutor setVariablePrefixMatcher(org.apache.commons.lang.text.StrMatcher)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrSubstitutor org.apache.commons.lang.text.StrSubstitutor setVariableSuffix(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrSubstitutor org.apache.commons.lang.text.StrSubstitutor setVariableSuffixMatcher(org.apache.commons.lang.text.StrMatcher) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.text.StrSubstitutor org.apache.commons.lang.text.StrSubstitutor setVariableSuffixMatcher(org.apache.commons.lang.text.StrMatcher)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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 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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 new file mode 100644 index 000000000000..b392cffbce52 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/commons/lang/time/annotations.xml @@ -0,0 +1,481 @@ +<root> + <item name="org.apache.commons.lang.time.DateFormatUtils java.lang.String format(java.util.Calendar, 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.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.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, 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) 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.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, 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) 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.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, 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) 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(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.DateUtils boolean isSameDay(java.util.Calendar, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameDay(java.util.Calendar, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameDay(java.util.Date, java.util.Date) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameDay(java.util.Date, java.util.Date) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameInstant(java.util.Calendar, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameInstant(java.util.Calendar, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameInstant(java.util.Date, java.util.Date) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameInstant(java.util.Date, java.util.Date) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameLocalTime(java.util.Calendar, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils boolean isSameLocalTime(java.util.Calendar, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Calendar round(java.util.Calendar, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Calendar truncate(java.util.Calendar, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date add(java.util.Date, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date add(java.util.Date, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addDays(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addDays(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addHours(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addHours(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addMilliseconds(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addMilliseconds(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addMinutes(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addMinutes(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addMonths(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addMonths(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addSeconds(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addSeconds(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addWeeks(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addWeeks(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addYears(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date addYears(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date parseDate(java.lang.String, java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date parseDate(java.lang.String, java.lang.String[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date round(java.lang.Object, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date round(java.lang.Object, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date round(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date round(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date set(java.util.Date, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date set(java.util.Date, int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setDays(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setDays(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setHours(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setHours(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setMilliseconds(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setMilliseconds(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setMinutes(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setMinutes(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setMonths(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setMonths(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setSeconds(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setSeconds(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setYears(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date setYears(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date truncate(java.lang.Object, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date truncate(java.lang.Object, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date truncate(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Date truncate(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Iterator iterator(java.lang.Object, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Iterator iterator(java.lang.Object, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Iterator iterator(java.util.Calendar, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Iterator iterator(java.util.Calendar, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Iterator iterator(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils java.util.Iterator iterator(java.util.Date, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragment(java.util.Calendar, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragment(java.util.Date, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInDays(java.util.Calendar, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInDays(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInHours(java.util.Calendar, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInHours(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInMilliseconds(java.util.Calendar, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInMilliseconds(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInMinutes(java.util.Calendar, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInMinutes(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInSeconds(java.util.Calendar, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils long getFragmentInSeconds(java.util.Date, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DateUtils void modify(java.util.Calendar, int, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String format(org.apache.commons.lang.time.DurationFormatUtils.Token[], int, int, int, int, int, int, int, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String format(org.apache.commons.lang.time.DurationFormatUtils.Token[], int, int, int, int, int, int, int, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatDuration(long, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatDuration(long, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatDuration(long, java.lang.String, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatDuration(long, java.lang.String, boolean)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatDurationHMS(long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 formatPeriod(long, long, java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatPeriod(long, long, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatPeriod(long, long, java.lang.String, boolean, java.util.TimeZone) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatPeriod(long, long, java.lang.String, boolean, java.util.TimeZone)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils java.lang.String formatPeriodISO(long, long)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.DurationFormatUtils org.apache.commons.lang.time.DurationFormatUtils.Token[] lexx(java.lang.String) 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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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""/> + </annotation> + </item> + <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 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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.Object parseObject(java.lang.String, java.text.ParsePosition)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->null;_,!null->null;null,_->null""/> + </annotation> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.String format(java.util.Calendar)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.String format(java.util.Date) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.String format(java.util.Date)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.String parseToken(java.lang.String, int[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.String parseToken(java.lang.String, int[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.String parseToken(java.lang.String, int[])"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat java.lang.StringBuffer applyRules(java.util.Calendar, java.lang.StringBuffer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <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.util.Date, java.lang.StringBuffer) 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) 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) 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) 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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <item name="org.apache.commons.lang.time.FastDateFormat void readObject(java.io.ObjectInputStream) 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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.PaddedNumberField void appendTo(java.lang.StringBuffer, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.PaddedNumberField void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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.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.TimeZoneNameRule void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwelveHourField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwentyFourHourField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField void appendTo(java.lang.StringBuffer, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField void appendTo(java.lang.StringBuffer, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField void appendTo(java.lang.StringBuffer, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField void appendTo(java.lang.StringBuffer, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField void appendTo(java.lang.StringBuffer, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField void appendTo(java.lang.StringBuffer, java.util.Calendar) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField void appendTo(java.lang.StringBuffer, java.util.Calendar) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.StopWatch java.lang.String toSplitString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.commons.lang.time.StopWatch java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..a2e1c91b68a7 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/anakia/annotations.xml @@ -0,0 +1,108 @@ +<root> + <item name="org.apache.velocity.anakia.AnakiaElement java.util.List getAttributes()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaElement java.util.List getChildren()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaElement java.util.List getChildren(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaElement java.util.List getChildren(java.lang.String, org.jdom.Namespace)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaElement java.util.List getContent()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaElement org.apache.velocity.anakia.NodeList selectNodes(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaJDOMFactory org.jdom.Element element(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaJDOMFactory org.jdom.Element element(java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaJDOMFactory org.jdom.Element element(java.lang.String, java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </item> + <item name="org.apache.velocity.anakia.AnakiaTask org.apache.velocity.anakia.AnakiaTask.Context createContext()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaTask void ensureDirectoryFor(java.io.File) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaTask void setLastModifiedCheck(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaTask void setTemplatePath(java.io.File) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.AnakiaTask.Context void setName(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.Escape java.lang.String getText(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.Escape java.lang.String getText(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.NodeList NodeList(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.NodeList NodeList(java.util.List) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.NodeList NodeList(java.util.List, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.NodeList NodeList(org.jdom.Document) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.velocity.anakia.NodeList java.util.List subList(int, int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 void output(org.jdom.Attribute, java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.NodeList.AttributeXMLOutputter void output(org.jdom.Attribute, java.io.Writer) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.TreeWalker org.apache.velocity.anakia.NodeList allElements(org.jdom.Element) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.TreeWalker org.apache.velocity.anakia.NodeList allElements(org.jdom.Element)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.TreeWalker void treeWalk(org.jdom.Element, java.util.Collection) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.XPathTool org.apache.velocity.anakia.NodeList applyTo(java.lang.String, java.util.List)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.XPathTool org.apache.velocity.anakia.NodeList applyTo(java.lang.String, org.jdom.Document)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.anakia.XPathTool org.apache.velocity.anakia.NodeList applyTo(java.lang.String, org.jdom.Element)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/annotations.xml new file mode 100644 index 000000000000..fac918657687 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/annotations.xml @@ -0,0 +1,29 @@ +<root> + <item name="org.apache.velocity.app.FieldMethodizer void addObject(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.FieldMethodizer void inspect(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.Velocity boolean evaluate(org.apache.velocity.context.Context, java.io.Writer, java.lang.String, java.io.InputStream) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.Velocity boolean mergeTemplate(java.lang.String, java.lang.String, org.apache.velocity.context.Context, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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.app.Velocity boolean mergeTemplate(java.lang.String, org.apache.velocity.context.Context, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->true;_,!null,_->true;_,_,!null->true;_,_,null->true;_,null,_->true;null,_,_->true""/> + </annotation> + </item> + <item name="org.apache.velocity.app.VelocityEngine boolean evaluate(org.apache.velocity.context.Context, java.io.Writer, java.lang.String, java.io.InputStream) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.VelocityEngine boolean mergeTemplate(java.lang.String, java.lang.String, org.apache.velocity.context.Context, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_,_->true;_,!null,_,_->true;_,_,!null,_->true;_,_,_,!null->true;_,_,_,null->true;_,_,null,_->true;_,null,_,_->true;null,_,_,_->true""/> + </annotation> + </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 new file mode 100644 index 000000000000..ad9def7fd362 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/annotations.xml @@ -0,0 +1,89 @@ +<root> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil boolean shouldLogOnNullSet(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil boolean shouldLogOnNullSet(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil java.lang.Object invalidGetMethod(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.Object, 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 java.lang.Object invalidGetMethod(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.Object, 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 java.lang.Object invalidMethod(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.Object, 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 java.lang.Object invalidMethod(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.Object, 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 java.lang.Object invalidReferenceHandlerCall(org.apache.velocity.app.event.EventHandlerMethodExecutor, org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil java.lang.Object invalidReferenceHandlerCall(org.apache.velocity.app.event.EventHandlerMethodExecutor, org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil java.lang.Object invalidReferenceHandlerCall(org.apache.velocity.app.event.EventHandlerMethodExecutor, org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil java.lang.Object methodException(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.Class, java.lang.String, java.lang.Exception) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil java.lang.Object methodException(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.Class, java.lang.String, java.lang.Exception) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil java.lang.Object referenceInsert(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.EventHandlerUtil java.lang.Object referenceInsert(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.context.InternalContextAdapter, java.lang.String, java.lang.Object) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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.IncludeEventHandler.IncludeEventExecutor void execute(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidGetMethodExecutor void execute(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidMethodExecutor void execute(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidSetMethodExecutor void execute(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor void execute(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.NullSetEventHandler.ShouldLogOnNullSetExecutor void execute(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor void execute(org.apache.velocity.app.event.EventHandler) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..5591ed681847 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/event/implement/annotations.xml @@ -0,0 +1,90 @@ +<root> + <item name="org.apache.velocity.app.event.implement.EscapeHtmlReference java.lang.String escape(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.implement.EscapeHtmlReference java.lang.String getMatchAttribute()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.implement.EscapeJavaScriptReference java.lang.String escape(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.implement.EscapeJavaScriptReference java.lang.String getMatchAttribute()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.implement.EscapeReference java.lang.Object referenceInsert(java.lang.String, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.app.event.implement.EscapeReference void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.implement.EscapeSqlReference java.lang.String escape(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.implement.EscapeSqlReference java.lang.String getMatchAttribute()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.implement.EscapeXmlReference java.lang.String escape(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->!null""/> + </annotation> + </item> + <item name="org.apache.velocity.app.event.implement.InvalidReferenceInfo InvalidReferenceInfo(java.lang.String, org.apache.velocity.util.introspection.Info) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 2"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 3"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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 void reportInvalidReference(java.lang.String, org.apache.velocity.util.introspection.Info) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.event.implement.ReportInvalidReferences void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..855a668ec63b --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/app/tools/annotations.xml @@ -0,0 +1,39 @@ +<root> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String limitLen(int, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String limitLen(int, java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null,_->!null""/> + </annotation> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String makeAlternator(java.lang.String, java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String makeAlternator(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String makeAlternator(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter java.lang.String makeAutoAlternator(java.lang.String, java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.app.tools.VelocityFormatter.VelocityAlternator java.lang.String alternate()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..2e739fb35c61 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/context/annotations.xml @@ -0,0 +1,37 @@ +<root> + <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)"> + <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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.context.EvaluateContext EvaluateContext(org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.RuntimeServices) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.context.EvaluateContext void initContext(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.context.InternalContextAdapterImpl org.apache.velocity.context.InternalContextAdapter getBaseContext()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.parser.node.Node) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..8303b86a3cba --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/convert/annotations.xml @@ -0,0 +1,33 @@ +<root> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_->false""/> + </annotation> + </item> + <item name="org.apache.velocity.convert.WebMacro java.lang.String convertName(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.convert.WebMacro java.lang.String convertName(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="org.apache.velocity.convert.WebMacro java.lang.String extractPath(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.convert.WebMacro java.lang.String extractPath(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.convert.WebMacro java.lang.String makeSubstRE(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.convert.WebMacro void convert(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.convert.WebMacro void main(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..d7d2ee1dcb64 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/exception/annotations.xml @@ -0,0 +1,17 @@ +<root> + <item name="org.apache.velocity.exception.MethodInvocationException java.lang.String getMessage()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.exception.ParseErrorException ParseErrorException(java.lang.String, org.apache.velocity.util.introspection.Info) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.exception.ParseErrorException ParseErrorException(java.lang.String, org.apache.velocity.util.introspection.Info, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.runtime.parser.ParseException, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 new file mode 100644 index 000000000000..75ca57304d5b --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/io/annotations.xml @@ -0,0 +1,8 @@ +<root> + <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.VelocityWriter void write(char[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 new file mode 100644 index 000000000000..457ea7d9dd4b --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/annotations.xml @@ -0,0 +1,98 @@ +<root> + <item name="org.apache.velocity.runtime.ParserPoolImpl void initialize(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.ParserPoolImpl void put(org.apache.velocity.runtime.parser.Parser) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance boolean addVelocimacro(java.lang.String, java.lang.String, java.lang.String[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance boolean addVelocimacro(java.lang.String, org.apache.velocity.runtime.parser.node.Node, java.lang.String[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance boolean evaluate(org.apache.velocity.context.Context, java.io.Writer, java.lang.String, java.io.Reader) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance boolean invokeVelocimacro(java.lang.String, java.lang.String, java.lang.String[], org.apache.velocity.context.Context, java.io.Writer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance boolean invokeVelocimacro(java.lang.String, java.lang.String, java.lang.String[], org.apache.velocity.context.Context, java.io.Writer) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance boolean invokeVelocimacro(java.lang.String, java.lang.String, java.lang.String[], org.apache.velocity.context.Context, java.io.Writer) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance boolean isVelocimacro(java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance boolean render(org.apache.velocity.context.Context, java.io.Writer, java.lang.String, org.apache.velocity.runtime.parser.node.SimpleNode)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,_,null->null;null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance org.apache.velocity.runtime.parser.Parser createNewParser()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance void addDirective(org.apache.velocity.runtime.directive.Directive) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance void init(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance void init(java.util.Properties) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance void setProperties(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.RuntimeInstance void setProperties(java.util.Properties) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.VelocimacroFactory VelocimacroFactory(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.VelocimacroFactory boolean addVelocimacro(java.lang.String, java.lang.String, java.lang.String[], java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.VelocimacroFactory boolean addVelocimacro(java.lang.String, java.lang.String, java.lang.String[], java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.VelocimacroFactory boolean addVelocimacro(java.lang.String, java.lang.String, java.lang.String[], java.lang.String) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.VelocimacroFactory boolean addVelocimacro(java.lang.String, java.lang.String, java.lang.String[], java.lang.String) 3"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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.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> +</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 new file mode 100644 index 000000000000..f6cd67632cb8 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/directive/annotations.xml @@ -0,0 +1,209 @@ +<root> + <item name="org.apache.velocity.runtime.directive.Block java.lang.String id(org.apache.velocity.context.InternalContextAdapter) 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) 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) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->false;_,!null,_->false;_,_,!null->false;_,null,_->false;null,_,_->false""/> + </annotation> + </item> + <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) 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->true;_,!null,_->true;_,_,!null->true;_,_,null->true;_,null,_->true""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.directive.Define java.lang.String getName()"> + <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) 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) 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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <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) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.Evaluate java.lang.String getName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.Evaluate 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 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.Foreach 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,_,_->false""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.directive.Foreach java.lang.String getName()"> + <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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.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> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null,_->false;null,_,_->false""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.directive.Include java.lang.String getName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->true;_,!null,_->true;_,_,!null->true;_,_,null->true;null,_,_->true""/> + </annotation> + </item> + <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) 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->true;_,!null,_->true;_,_,!null->true;_,_,null->true;_,null,_->true;null,_,_->true""/> + </annotation> + </item> + <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[]) 1"> + <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[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->!null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.directive.Macro java.lang.String[] getArgArray(org.apache.velocity.runtime.parser.node.Node, org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.Macro void checkArgs(org.apache.velocity.runtime.RuntimeServices, org.apache.velocity.runtime.parser.Token, org.apache.velocity.runtime.parser.node.Node, java.lang.String) 2"> + <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) 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) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.MacroParseException java.lang.String getMessage()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.MacroParseException void appendTemplateInfo(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.Parse 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.Parse 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.Parse java.lang.String getName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.Parse java.lang.String getScopeName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.RuntimeMacro RuntimeMacro(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.RuntimeMacro boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node, org.apache.velocity.runtime.Renderable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.RuntimeMacro java.lang.String getScopeName()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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) 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) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.StopCommand java.lang.String getMessage()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.VelocimacroProxy boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node, org.apache.velocity.runtime.Renderable) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.VelocimacroProxy boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer, org.apache.velocity.runtime.parser.node.Node, org.apache.velocity.runtime.Renderable)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.VelocimacroProxy void checkArgs(org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.Node, boolean) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.VelocimacroProxy void init(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.directive.VelocimacroProxy void setArgArray(java.lang.String[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..b49c0f73e389 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/log/annotations.xml @@ -0,0 +1,76 @@ +<root> + <item name="org.apache.velocity.runtime.log.AvalonLogChute void init(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.log.AvalonLogChute void initTarget(java.lang.String, org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.JdkLogChute void init(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <item name="org.apache.velocity.runtime.log.Log java.lang.String formatFileString(org.apache.velocity.runtime.directive.Directive) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.log.Log java.lang.String formatFileString(org.apache.velocity.runtime.directive.Directive)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.log.Log java.lang.String formatFileString(org.apache.velocity.runtime.parser.node.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.log.Log java.lang.String formatFileString(org.apache.velocity.runtime.parser.node.Node)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.log.Log java.lang.String formatFileString(org.apache.velocity.util.introspection.Info) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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.LogManager boolean isProbablyProvidedLogChute(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.log.LogManager org.apache.velocity.runtime.log.LogChute createLogChute(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.log.LogManager void updateLog(org.apache.velocity.runtime.log.Log, org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.RuntimeLoggerLog RuntimeLoggerLog(org.apache.velocity.runtime.RuntimeLogger) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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.SystemLogChute int toLevel(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.log.SystemLogChute java.lang.String getPrefix(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.log.SystemLogChute void init(org.apache.velocity.runtime.RuntimeServices) 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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 new file mode 100644 index 000000000000..7d0bc8cdefa1 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/annotations.xml @@ -0,0 +1,73 @@ +<root> + <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> + <item name="org.apache.velocity.runtime.parser.JJTParserState void openNodeScope(org.apache.velocity.runtime.parser.node.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.ParseException java.lang.String add_escapes(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.ParseException java.lang.String add_escapes(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.Parser Parser(org.apache.velocity.runtime.RuntimeServices) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.Parser java.lang.String escapedDirective(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.Parser java.lang.String escapedDirective(java.lang.String)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <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.ParserTokenManager org.apache.velocity.runtime.parser.Token jjFillToken()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.TemplateParseException java.lang.String getMessage()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.TemplateParseException void appendTemplateInfo(java.lang.StringBuffer) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.Token org.apache.velocity.runtime.parser.Token newToken(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.TokenMgrError TokenMgrError(boolean, int, int, int, java.lang.String, char, int) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.TokenMgrError java.lang.String LexicalError(boolean, int, int, int, java.lang.String, char) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.TokenMgrError java.lang.String LexicalError(boolean, int, int, int, java.lang.String, char)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.TokenMgrError java.lang.String addEscapes(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.TokenMgrError java.lang.String addEscapes(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.VelocityCharStream VelocityCharStream(java.io.InputStream, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.VelocityCharStream VelocityCharStream(java.io.InputStream, int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.VelocityCharStream char[] GetSuffix(int)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.VelocityCharStream java.lang.String GetImage()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.VelocityCharStream void ReInit(java.io.InputStream, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.VelocityCharStream void ReInit(java.io.InputStream, int, int, int) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..5f78c94ea501 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/parser/node/annotations.xml @@ -0,0 +1,475 @@ +<root> + <item name="org.apache.velocity.runtime.parser.node.ASTAddNode java.lang.Number perform(java.lang.Number, java.lang.Number, org.apache.velocity.context.InternalContextAdapter) 0"> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <item name="org.apache.velocity.runtime.parser.node.ASTAssignment 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.ASTBlock boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->true;_,!null->true;_,null->true;null,_->true""/> + </annotation> + </item> + <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) 1"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTComment 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.ASTDirective boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->true;_,!null->true;_,null->true;null,_->true""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTDirective java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTDirective 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.ASTDivNode 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.ASTEQNode 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.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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true;null->true""/> + </annotation> + </item> + <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) 1"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <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) 1"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->true;_,!null->true;null,_->true""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTEscapedDirective 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.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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->false;null->false""/> + </annotation> + </item> + <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.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""/> + </annotation> + </item> + <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.ASTGENode 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.ASTGTNode 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.ASTIdentifier java.lang.Object execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTIdentifier java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTIdentifier 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 boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->true;_,!null->true;_,null->true;null,_->true""/> + </annotation> + </item> + <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.ASTIncludeStatement 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.ASTIndex java.lang.Object adjMinusIndexArg(java.lang.Object, java.lang.Object, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.SimpleNode)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_,_->!null;null,_,_,_->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTIndex java.lang.Object execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTIndex java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTIntegerLiteral java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <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.ASTIntegerRange 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.ASTLENode 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.ASTLTNode 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.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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->null;_,!null,_->null;_,_,!null->null;_,_,null->null;_,null,_->null;null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMathNode java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMathNode 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 java.lang.Object execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMethod java.lang.Object handleInvocationException(java.lang.Object, org.apache.velocity.context.InternalContextAdapter, java.lang.Throwable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMethod java.lang.Object handleInvocationException(java.lang.Object, org.apache.velocity.context.InternalContextAdapter, java.lang.Throwable) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMethod java.lang.Object handleInvocationException(java.lang.Object, org.apache.velocity.context.InternalContextAdapter, java.lang.Throwable) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTMethod java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <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 boolean equals(java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTModNode 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) 0"> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <item name="org.apache.velocity.runtime.parser.node.ASTNotNode 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.ASTObjectArray 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.ASTOrNode 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.ASTParameters 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.ASTReference boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->true;_,!null->true;_,null->true;null,_->true""/> + </annotation> + </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> + <item name="org.apache.velocity.runtime.parser.node.ASTReference java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTReference 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.ASTReference java.lang.String getDollarBang()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->!null""/> + </annotation> + </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""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTSetDirective 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.ASTStringLiteral java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTStringLiteral 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.ASTStringLiteral java.lang.String replaceQuotes(java.lang.String, char) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTStringLiteral java.lang.String unescape(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.ASTStringLiteral void adjTokenLineNums(org.apache.velocity.runtime.parser.node.Node) 0"> + <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) 0"> + <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) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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> + <item name="org.apache.velocity.runtime.parser.node.ASTText boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <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) 1"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,!null->!null;_,null->null""/> + </annotation> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true;null->true""/> + </annotation> + </item> + <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.ASTVariable 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.ASTWord 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.ASTprocess 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.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.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.MapGetExecutor java.lang.Object execute(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MapSetExecutor java.lang.Object execute(java.lang.Object, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils boolean isInteger(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils boolean isZero(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils int compare(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils int compare(java.lang.Number, java.lang.Number) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils int findCalculationBase(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils int findCalculationBase(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 add(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils java.lang.Number add(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 divide(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils java.lang.Number divide(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 modulo(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils java.lang.Number modulo(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 multiply(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils java.lang.Number multiply(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 subtract(java.lang.Number, java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.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.Number, java.lang.Number) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils java.math.BigDecimal toBigDecimal(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils java.math.BigDecimal toBigDecimal(java.lang.Number)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.MathUtils java.math.BigInteger toBigInteger(java.lang.Number) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.NodeUtils java.lang.String interpolate(java.lang.String, org.apache.velocity.context.Context) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.NodeUtils java.lang.String specialText(org.apache.velocity.runtime.parser.Token) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.NodeUtils java.lang.String tokenLiteral(org.apache.velocity.runtime.parser.Token) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.NodeUtils org.apache.commons.lang.text.StrBuilder getSpecialText(org.apache.velocity.runtime.parser.Token) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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.SimpleNode boolean evaluate(org.apache.velocity.context.InternalContextAdapter)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->false;null->false""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode boolean render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_->true;_,!null->true;_,null->true;null,_->true""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.Object childrenAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)"> + <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.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""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.Object init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)"> + <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.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)"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.parser.node.SimpleNode java.lang.String toString(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..c85589b43d33 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/annotations.xml @@ -0,0 +1,5 @@ +<root> + <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> +</root> 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 new file mode 100644 index 000000000000..5fc5b3a6b8f0 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/resource/loader/annotations.xml @@ -0,0 +1,102 @@ +<root> + <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""/> + </annotation> + </item> + <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.DataSourceResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader java.io.InputStream getResourceStream(java.lang.String)"> + <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) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </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 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)"> + <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) 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 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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->true;null->true""/> + </annotation> + </item> + <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 void init(org.apache.commons.collections.ExtendedProperties) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.JarResourceLoader void loadJar(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.ResourceLoader void commonInit(org.apache.velocity.runtime.RuntimeServices, org.apache.commons.collections.ExtendedProperties) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory org.apache.velocity.runtime.resource.loader.ResourceLoader getLoader(org.apache.velocity.runtime.RuntimeServices, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->false""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.resource.loader.StringResourceLoader java.io.InputStream getResourceStream(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 void init(org.apache.commons.collections.ExtendedProperties) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.URLResourceLoader boolean isSourceModified(org.apache.velocity.runtime.resource.Resource)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->true""/> + </annotation> + </item> + <item name="org.apache.velocity.runtime.resource.loader.URLResourceLoader long getLastModified(org.apache.velocity.runtime.resource.Resource) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.resource.loader.URLResourceLoader void init(org.apache.commons.collections.ExtendedProperties) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/visitor/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/visitor/annotations.xml new file mode 100644 index 000000000000..0ec8ac7715d5 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/runtime/visitor/annotations.xml @@ -0,0 +1,245 @@ +<root> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTAddNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTAndNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTAssignment, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTBlock, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTComment, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTDirective, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTDivNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTEQNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTElseIfStatement, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTElseStatement, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTEscape, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTEscapedDirective, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTExpression, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTFalse, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTGENode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTGTNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTIdentifier, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTIfStatement, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTIntegerLiteral, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTIntegerRange, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTLENode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTLTNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTMap, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTMethod, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTModNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTMulNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTNENode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTNotNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTObjectArray, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTOrNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTReference, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTSetDirective, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTStringLiteral, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTSubtractNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTText, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTTrue, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTWord, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTprocess, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.BaseVisitor java.lang.Object visit(org.apache.velocity.runtime.parser.node.SimpleNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object showNode(org.apache.velocity.runtime.parser.node.Node, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTAddNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTAndNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTAssignment, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTBlock, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTDirective, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTDivNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTEQNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTElseIfStatement, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTElseStatement, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTEscape, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTEscapedDirective, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTExpression, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTFalse, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTGENode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTGTNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTIdentifier, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTIfStatement, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTIntegerLiteral, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTIntegerRange, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTLENode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTLTNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTMap, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTMethod, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTModNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTMulNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTNENode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTNotNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTObjectArray, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTOrNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTReference, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTSetDirective, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTStringLiteral, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTSubtractNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTText, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTTrue, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTWord, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.ASTprocess, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.Object visit(org.apache.velocity.runtime.parser.node.SimpleNode, java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.runtime.visitor.NodeViewMode java.lang.String indentString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..a1d5f80fe4ca --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/servlet/annotations.xml @@ -0,0 +1,23 @@ +<root> + <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.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) 1"> + <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) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 setContentType(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..bea0f093ad72 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/annotations.xml @@ -0,0 +1,14 @@ +<root> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.texen.Generator void fillContextDefaults(org.apache.velocity.context.Context) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.texen.Generator void fillContextHash(org.apache.velocity.context.Context, java.util.Hashtable) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/ant/annotations.xml b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/ant/annotations.xml new file mode 100644 index 000000000000..5b553dea86e3 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/ant/annotations.xml @@ -0,0 +1,11 @@ +<root> + <item name="org.apache.velocity.texen.ant.TexenTask org.apache.velocity.context.Context initControlContext()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.texen.ant.TexenTask void populateInitialContext(org.apache.velocity.context.Context) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.texen.ant.TexenTask void setOutputDirectory(java.io.File) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..353ade77c7bc --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/texen/util/annotations.xml @@ -0,0 +1,23 @@ +<root> + <item name="org.apache.velocity.texen.util.FileUtil java.io.File file(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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) 1"> + <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)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.texen.util.PropertiesUtil java.util.Properties loadFromClassPath(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.texen.util.PropertiesUtil java.util.Properties loadFromClassPath(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.texen.util.PropertiesUtil java.util.Properties loadFromTemplatePath(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> 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 new file mode 100644 index 000000000000..e60004f3fd63 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/annotations.xml @@ -0,0 +1,109 @@ +<root> + <item name="org.apache.velocity.util.ArrayIterator ArrayIterator(java.lang.Object) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.ClassUtils java.io.InputStream getResourceAsStream(java.lang.Class, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.ClassUtils org.apache.velocity.util.introspection.VelMethod getMethod(java.lang.String, java.lang.Object[], java.lang.Class[], java.lang.Object, org.apache.velocity.context.InternalContextAdapter, org.apache.velocity.runtime.parser.node.SimpleNode, boolean) 4"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.ExceptionUtils java.lang.Throwable createWithCause(java.lang.Class, java.lang.String, java.lang.Throwable)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.velocity.util.StringUtils boolean allEmpty(java.util.List) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String capitalizeFirstLetter(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String capitalizeFirstLetter(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String chop(java.lang.String, int)"> + <annotation name="org.jetbrains.annotations.Contract"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null,_,_->!null;null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String collapseNewlines(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String collapseNewlines(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String collapseSpaces(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String collapseSpaces(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String concat(java.util.List) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String concat(java.util.List)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String firstLetterCaps(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String firstLetterCaps(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String getPackageAsPath(java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String getPackageAsPath(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String removeAndHump(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String removeAndHump(java.lang.String, java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String removeUnderScores(java.lang.String)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String stackTrace(java.lang.Throwable)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String sub(java.lang.String, java.lang.String, java.lang.String) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String sub(java.lang.String, java.lang.String, java.lang.String) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.StringUtils java.lang.String sub(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.velocity.util.StringUtils java.lang.StringBuffer stringSubstitution(java.lang.String, java.util.Hashtable) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""!null->!null;null->null""/> + </annotation> + </item> +</root> 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 new file mode 100644 index 000000000000..4518a467c463 --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/annotations/org/apache/velocity/util/introspection/annotations.xml @@ -0,0 +1,127 @@ +<root> + <item name="org.apache.velocity.util.introspection.ClassMap java.lang.reflect.Method findMethod(java.lang.String, java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 java.lang.String makeMethodKey(java.lang.String, java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.ClassMap.MethodCache java.lang.String makeMethodKey(java.lang.reflect.Method) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.ClassMap.MethodCache java.lang.reflect.Method get(java.lang.String, java.lang.Object[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.ClassMap.MethodCache void access$100(org.apache.velocity.util.introspection.ClassMap.MethodCache, java.lang.reflect.Method) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.ClassMap.MethodCache void access$100(org.apache.velocity.util.introspection.ClassMap.MethodCache, java.lang.reflect.Method) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.ClassMap.MethodCache void put(java.lang.reflect.Method) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.Info Info(org.apache.velocity.runtime.parser.node.Node) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.Info java.lang.String toString()"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.IntrospectionUtils boolean isMethodInvocationConvertible(java.lang.Class, java.lang.Class, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.IntrospectionUtils boolean isStrictMethodInvocationConvertible(java.lang.Class, java.lang.Class, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.Introspector Introspector(org.apache.velocity.runtime.RuntimeLogger) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.Introspector java.lang.reflect.Method getMethod(java.lang.Class, java.lang.String, java.lang.Object[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.Introspector java.lang.reflect.Method getMethod(java.lang.Class, java.lang.String, java.lang.Object[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_->null""/> + </annotation> + </item> + <item name="org.apache.velocity.util.introspection.IntrospectorBase java.lang.reflect.Method getMethod(java.lang.Class, java.lang.String, java.lang.Object[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.IntrospectorBase java.lang.reflect.Method getMethod(java.lang.Class, java.lang.String, java.lang.Object[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.IntrospectorCacheImpl org.apache.velocity.util.introspection.ClassMap get(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.IntrospectorCacheImpl org.apache.velocity.util.introspection.ClassMap put(java.lang.Class) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.IntrospectorCacheImpl org.apache.velocity.util.introspection.ClassMap put(java.lang.Class)"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.MethodMap boolean isApplicable(java.lang.reflect.Method, java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.MethodMap boolean isApplicable(java.lang.reflect.Method, java.lang.Class[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.MethodMap boolean isConvertible(java.lang.Class, java.lang.Class, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.MethodMap boolean isStrictConvertible(java.lang.Class, java.lang.Class, boolean) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.MethodMap int compare(java.lang.Class[], java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.MethodMap int compare(java.lang.Class[], java.lang.Class[]) 1"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.MethodMap java.lang.reflect.Method find(java.lang.String, java.lang.Object[])"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""_,null->null""/> + </annotation> + </item> + <item name="org.apache.velocity.util.introspection.MethodMap java.lang.reflect.Method getBestMatch(java.util.List, java.lang.Class[]) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <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 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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_->null""/> + </annotation> + </item> + <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 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)"> + <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)"> + <annotation name="org.jetbrains.annotations.Contract"> + <val val=""null,_,_,_->null""/> + </annotation> + </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl void setRuntimeLogger(org.apache.velocity.runtime.RuntimeLogger) 0"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> + <item name="org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl java.lang.Object[] handleVarArg(java.lang.Class, int, java.lang.Object[]) 2"> + <annotation name="org.jetbrains.annotations.NotNull"/> + </item> +</root> diff --git a/java/java-tests/testData/codeInspection/bytecodeAnalysis/src/Example.java b/java/java-tests/testData/codeInspection/bytecodeAnalysis/src/Example.java new file mode 100644 index 000000000000..5738a372e6ca --- /dev/null +++ b/java/java-tests/testData/codeInspection/bytecodeAnalysis/src/Example.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. + */ + +import org.apache.commons.lang.ArrayUtils; +import org.apache.commons.lang.ClassUtils; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +import javax.swing.*; +import java.io.FilterOutputStream; +import java.io.IOException; + +public class Example { + void test() { + + if (<warning descr="Condition 'ArrayUtils.toMap(null) == null' is always 'true'">ArrayUtils.toMap(null) == null</warning>) { + System.out.println("null"); + } + + if (<warning descr="Condition 'ClassUtils.getPackageName((String)null) == null' is always 'false'">ClassUtils.getPackageName((String)null) == null</warning>) { + System.out.println("null"); + } + + @NotNull Class x = <warning descr="Expression 'ClassUtils.primitiveToWrapper(null)' might evaluate to null but is assigned to a variable that is annotated with @NotNull">ClassUtils.primitiveToWrapper(null)</warning>; + } + + void writeBytes(@Nullable byte[] bytes) throws IOException { + new FilterOutputStream(null).write(<warning descr="Argument 'bytes' might be null">bytes</warning>); + } +} diff --git a/java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java b/java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java new file mode 100644 index 000000000000..055b339c5f9c --- /dev/null +++ b/java/java-tests/testData/compiler/notNullVerification/CustomExceptionType.java @@ -0,0 +1,5 @@ +import org.jetbrains.annotations.NotNull; + +public class CustomExceptionType { + public void foo(Object obj, @NotNull(exception = NullPointerException.class) Object obj2) { } +}
\ No newline at end of file diff --git a/java/java-tests/testData/compiler/notNullVerification/annotations.jar b/java/java-tests/testData/compiler/notNullVerification/annotations.jar Binary files differindex 45860d829e91..d96bb1d6bed4 100644 --- a/java/java-tests/testData/compiler/notNullVerification/annotations.jar +++ b/java/java-tests/testData/compiler/notNullVerification/annotations.jar diff --git a/java/java-tests/testData/inspection/dataFlow/AlexBug/src/Test.java b/java/java-tests/testData/inspection/dataFlow/AlexBug/src/Test.java index 1953a6a43c55..e397de3faf8a 100644 --- a/java/java-tests/testData/inspection/dataFlow/AlexBug/src/Test.java +++ b/java/java-tests/testData/inspection/dataFlow/AlexBug/src/Test.java @@ -1,6 +1,8 @@ public class Test { - public String foo(String path) { - String smth = new String(path); + public Test(String s) { } + + public Test foo(String path) { + Test smth = new Test(path); if (path == null) return null; return smth; } diff --git a/java/java-tests/testData/inspection/dataFlow/caseAndNpe/expected.xml b/java/java-tests/testData/inspection/dataFlow/caseAndNpe/expected.xml index 184e6c5f85f1..e65851b5b821 100644 --- a/java/java-tests/testData/inspection/dataFlow/caseAndNpe/expected.xml +++ b/java/java-tests/testData/inspection/dataFlow/caseAndNpe/expected.xml @@ -22,6 +22,11 @@ </problem> <problem> <file>CaseAndNpe.java</file> + <line>56</line> + <description>Condition <code>i < 5</code> is always <code>false</code></description> + </problem> + <problem> + <file>CaseAndNpe.java</file> <line>80</line> <description>Condition is always true</description> </problem> diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/AccessingSameArrayElements.java b/java/java-tests/testData/inspection/dataFlow/fixture/AccessingSameArrayElements.java new file mode 100644 index 000000000000..a5a0001517d6 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/AccessingSameArrayElements.java @@ -0,0 +1,56 @@ +abstract class Test { + void testSameEquals(int[] arr1, int[] arr2) { + if (arr1[0] == arr2[0] && <warning descr="Condition 'arr1[0] == arr2[0]' is always 'true' when reached">arr1[0] == arr2[0]</warning>) { + } + } + + void testMatrices(int[][][] arr1, int[][][] arr2) { + if (arr1[0][1][2] == arr1[0][1][3] && + <warning descr="Condition 'arr1[0][1][2] == arr1[0][1][3]' is always 'true' when reached">arr1[0][1][2] == arr1[0][1][3]</warning>) { + } + } + + void testNotEquals(int[] arr1, int[] arr2) { + if (arr1[0] != arr2[0]) return; + + if (<warning descr="Condition 'arr1[0] == arr2[0]' is always 'true'">arr1[0] == arr2[0]</warning>) {} + } + + void testInvalidatingCall(int[] arr1, int[] arr2) { + if (arr1[0] != arr2[0]) return; + + changeArray(arr1); + + if (arr1[0] == arr2[0]) {} + } + abstract void changeArray(int[] array); + + + void testIndirectlyInvalidatingCall(int[] arr1, int[] arr2, int[][] arr3) { + arr3[0] = arr1; + + if (arr1[0] != arr2[0]) return; + + changeSubArray(arr3); + + if (arr1[0] == arr2[0]) {} + } + abstract void changeSubArray(int[][] array); + + + void testAssigning(int[] arr1, int j) { + arr1[0] = j; + if (<warning descr="Condition 'arr1[0] == j' is always 'true'">arr1[0] == j</warning>) { } + } + + void testReassigning(int[] arr1) { + arr1[0] = 1; + arr1[1] = 3; + if (<warning descr="Condition 'arr1[0] == 1' is always 'true'">arr1[0] == 1</warning>) { } + + for (int i = 0; i < arr1.length; i++) { + arr1[i] = 2; + } + if (arr1[0] == 1) { } + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/AssertThat.java b/java/java-tests/testData/inspection/dataFlow/fixture/AssertThat.java new file mode 100644 index 000000000000..b3d614cd8cb3 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/AssertThat.java @@ -0,0 +1,18 @@ +import org.hamcrest.CoreMatchers; +import org.jetbrains.annotations.Nullable; +import static org.hamcrest.CoreMatchers.*; +import static org.junit.Assert.assertThat; + +class Contracts { + + private void checkNotNullValue(@Nullable Object o) { + assertThat(o, CoreMatchers.<Object>notNullValue()); + System.out.println(o.hashCode()); + } + + private void checkNotEqualToNull(@Nullable String test) { + assertThat("String is null", test, not(equalTo(null))); + int length = test.length(); + } + +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/CatchRuntimeException.java b/java/java-tests/testData/inspection/dataFlow/fixture/CatchRuntimeException.java index 8f6508642352..e635b8dbd9a9 100644 --- a/java/java-tests/testData/inspection/dataFlow/fixture/CatchRuntimeException.java +++ b/java/java-tests/testData/inspection/dataFlow/fixture/CatchRuntimeException.java @@ -36,7 +36,7 @@ class BrokenAlignment { } public void bar(@NotNull Object foo) { - assert <warning descr="Condition 'foo != null' is always 'true'">foo != null</warning>; + if (<warning descr="Condition 'foo != null' is always 'true'">foo != null</warning>); } public void bar2(@NotNull Object foo) { diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ContractInferenceBewareOverriding.java b/java/java-tests/testData/inspection/dataFlow/fixture/ContractInferenceBewareOverriding.java new file mode 100644 index 000000000000..a1d263f778f6 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/ContractInferenceBewareOverriding.java @@ -0,0 +1,21 @@ +import org.jetbrains.annotations.Nullable; + +class Doo { + + boolean isMaybeNotNull(@Nullable Object o) { + return o != null; + } + + void foo(@Nullable String s) { + if (isMaybeNotNull(s)) { + System.out.println(<warning descr="Method invocation 's.length()' may produce 'java.lang.NullPointerException'">s.length()</warning>); + } + } + +} + +class DooImpl extends Doo { + boolean isMaybeNotNull(@Nullable Object o) { + return hashCode() == 42; + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/FinalFieldDuringSuperInitialization.java b/java/java-tests/testData/inspection/dataFlow/fixture/FinalFieldDuringSuperInitialization.java new file mode 100644 index 000000000000..59fc5fba349a --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/FinalFieldDuringSuperInitialization.java @@ -0,0 +1,20 @@ +class Parent { + Parent() { + callProtectedMethod(); + } + protected void callProtectedMethod() { } +} + +class Child extends Parent { + private final Object myField; + Child() { + super(); + myField = new Object(); + } + @Override + protected void callProtectedMethod() { + if (myField != null) { // HERE myField CAN be null + System.out.println(); + } + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/GuavaCheckNotNull.java b/java/java-tests/testData/inspection/dataFlow/fixture/GuavaCheckNotNull.java new file mode 100644 index 000000000000..4a11daa71c77 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/GuavaCheckNotNull.java @@ -0,0 +1,11 @@ +import org.jetbrains.annotations.Nullable; + +class Contracts { + + private void check(@Nullable Object o) { + com.google.common.base.Preconditions.checkNotNull(o); + System.out.println(o.hashCode()); + } + + +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/NumberComparisonsWhenValueIsKnown.java b/java/java-tests/testData/inspection/dataFlow/fixture/NumberComparisonsWhenValueIsKnown.java new file mode 100644 index 000000000000..71cca5352cf2 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/NumberComparisonsWhenValueIsKnown.java @@ -0,0 +1,16 @@ +import java.util.Arrays; + +class Test { + int[] mIndex = null; + int mSize = 0; + + void indexValues() { + float loadFactor = mIndex == null ? 1.f : ((float) mSize) / ((float) mIndex.length); + + if (loadFactor < 0.25f || 0.75f <= loadFactor) { + mIndex = new int[mSize * 2]; + } + + mIndex[0] = -1; + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences.java index d81b46724a81..dbb4f50f44a5 100644 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences.java +++ b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences.java @@ -1,13 +1,15 @@ import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; class Test { - private void test2(@NotNull Object bar) { + private void test2(@NotNull Object bar) {} + + void println(@Nullable Object o) {} - } private Object test(Object foo, Object bar) { if (foo == null) { - System.out.println(<warning descr="Value 'foo' is always 'null'"><caret>foo</warning>); - System.out.println(<warning descr="Value 'foo' is always 'null'">foo</warning>); + println(<warning descr="Value 'foo' is always 'null'"><caret>foo</warning>); + println(<warning descr="Value 'foo' is always 'null'">foo</warning>); return <warning descr="Expression 'foo' might evaluate to null but is returned by the method which is not declared as @Nullable">foo</warning>; } if (bar == null) { diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_NotInComplexAssignment.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_NotInComplexAssignment.java deleted file mode 100644 index a13f0f1b5d60..000000000000 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_NotInComplexAssignment.java +++ /dev/null @@ -1,6 +0,0 @@ -class Test { - void foo() { - int x = 42; - <caret>x += 100; - } -}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_OverloadedCall.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_OverloadedCall.java new file mode 100644 index 000000000000..82c1e9122cc1 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_OverloadedCall.java @@ -0,0 +1,14 @@ +import org.jetbrains.annotations.Nullable; + +class Test { + void method(@Nullable String o) {} + + void method(@Nullable Integer o) {} + + private void test(String foo) { + if (foo == null) { + method(<warning descr="Value 'foo' is always 'null'"><caret>foo</warning>); + } + } + +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_OverloadedCall_after.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_OverloadedCall_after.java new file mode 100644 index 000000000000..22524625216d --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_OverloadedCall_after.java @@ -0,0 +1,14 @@ +import org.jetbrains.annotations.Nullable; + +class Test { + void method(@Nullable String o) {} + + void method(@Nullable Integer o) {} + + private void test(String foo) { + if (foo == null) { + method(<caret>(String) null); + } + } + +}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithEnum.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithEnum.java deleted file mode 100644 index 2ed16ce0c6f5..000000000000 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithEnum.java +++ /dev/null @@ -1,7 +0,0 @@ -class Test { - private void test() { - foo.MyEnum s = foo.MyEnum.FOO; - System.out.println(<caret><warning descr="Value 's' is always 'FOO'">s</warning>); - } - -}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithEnum_after.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithEnum_after.java deleted file mode 100644 index 29552fa61615..000000000000 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithEnum_after.java +++ /dev/null @@ -1,9 +0,0 @@ -import foo.MyEnum; - -class Test { - private void test() { - foo.MyEnum s = foo.MyEnum.FOO; - System.out.println(MyEnum.FOO); - } - -}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithIntConstant.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithIntConstant.java deleted file mode 100644 index 5388bcda069f..000000000000 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithIntConstant.java +++ /dev/null @@ -1,10 +0,0 @@ -class Test { - public static final int CONST = 23942; - private void test(int a) { - if (a == CONST) { - System.out.println(<caret><warning descr="Value 'a' is always 'CONST'">a</warning>); - } - - } - -}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithIntConstant_after.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithIntConstant_after.java deleted file mode 100644 index 11feed5f7903..000000000000 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithIntConstant_after.java +++ /dev/null @@ -1,10 +0,0 @@ -class Test { - public static final int CONST = 23942; - private void test(int a) { - if (a == CONST) { - System.out.println(<caret>CONST); - } - - } - -}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithString.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithString.java deleted file mode 100644 index fcff4846b378..000000000000 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithString.java +++ /dev/null @@ -1,8 +0,0 @@ -class Test { - public static final String CONST = "foo bar"; - private void test() { - String s = CONST; - System.out.println(<caret><warning descr="Value 's' is always 'CONST'">s</warning>); - } - -}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithString_after.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithString_after.java deleted file mode 100644 index a462170b2b31..000000000000 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_ReplaceWithString_after.java +++ /dev/null @@ -1,8 +0,0 @@ -class Test { - public static final String CONST = "foo bar"; - private void test() { - String s = CONST; - System.out.println(CONST); - } - -}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_Switch.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_Switch.java deleted file mode 100644 index e48dc19555bb..000000000000 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_Switch.java +++ /dev/null @@ -1,22 +0,0 @@ -class Test { - private void test() { - int state = 1; - switch (<warning descr="Value 'state' is always '1'">state</warning>) { - case 1: break; - } - } - - private void test2(int state) { - switch (state) { - case ONE: - case TWO: - if (state == TWO) { - System.out.println("hello"); - } - } - } - - public static final int ONE = 1; - public static final int TWO = 2; - -}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_after.java b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_after.java index 0d187397afc9..395fd486c388 100644 --- a/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_after.java +++ b/java/java-tests/testData/inspection/dataFlow/fixture/ReportConstantReferences_after.java @@ -1,13 +1,15 @@ import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; class Test { - private void test2(@NotNull Object bar) { + private void test2(@NotNull Object bar) {} + + void println(@Nullable Object o) {} - } private Object test(Object foo, Object bar) { if (foo == null) { - System.out.println(<caret>null); - System.out.println(foo); + println(<caret>null); + println(foo); return foo; } if (bar == null) { diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/UseInferredContracts.java b/java/java-tests/testData/inspection/dataFlow/fixture/UseInferredContracts.java new file mode 100644 index 000000000000..34b9d708a4b2 --- /dev/null +++ b/java/java-tests/testData/inspection/dataFlow/fixture/UseInferredContracts.java @@ -0,0 +1,15 @@ +import org.jetbrains.annotations.Nullable; + +class Doo { + + static boolean isNotNull(@Nullable Object o) { + return o != null; + } + + void foo(@Nullable String s) { + if (isNotNull(s)) { + System.out.println(s.length()); + } + } + +} diff --git a/java/java-tests/testData/inspection/nullableProblems/GetterSetterProblems.java b/java/java-tests/testData/inspection/nullableProblems/GetterSetterProblems.java index d49cd9ca6fd0..c8a5816ec741 100644 --- a/java/java-tests/testData/inspection/nullableProblems/GetterSetterProblems.java +++ b/java/java-tests/testData/inspection/nullableProblems/GetterSetterProblems.java @@ -2,7 +2,7 @@ import org.jetbrains.annotations.NotNull; class B { @NotNull - B b; + B b = new B(); public B <warning descr="Getter for @NotNull field might be annotated @NotNull itself">getB</warning>() { return b; @@ -39,7 +39,7 @@ class C { this.c = c; } - @NotNull C c1; + @NotNull C c1 = new C(null); @org.jetbrains.annotations.Nullable public C getC1() { if (c1 != null) { diff --git a/java/java-tests/testData/inspection/nullableProblems/NotNullCustomException.java b/java/java-tests/testData/inspection/nullableProblems/NotNullCustomException.java new file mode 100644 index 000000000000..42e2798ed1ab --- /dev/null +++ b/java/java-tests/testData/inspection/nullableProblems/NotNullCustomException.java @@ -0,0 +1,8 @@ +import org.jetbrains.annotations.*; + +class Test { + public void foo(@NotNull(exception = NullPointerException.class) String a) { } + public void foo2(@NotNull(exception = <warning descr="Custom exception class should have a constructor with a single message parameter of String type">CustomException.class</warning>) String a) { } +} + +class CustomException extends Exception {}
\ No newline at end of file diff --git a/java/java-tests/testData/inspection/nullableProblems/NotNullFieldNotInitialized.java b/java/java-tests/testData/inspection/nullableProblems/NotNullFieldNotInitialized.java new file mode 100644 index 000000000000..918d5db30fd2 --- /dev/null +++ b/java/java-tests/testData/inspection/nullableProblems/NotNullFieldNotInitialized.java @@ -0,0 +1,9 @@ +import org.jetbrains.annotations.*; + +class Test { + <warning descr="Not-null fields must be initialized">@NotNull</warning> Object member; + + private void accessMember() { + member = new Object(); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/Errors.java b/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/Errors.java index 200c37e7fa32..4e90d08eb3ea 100644 --- a/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/Errors.java +++ b/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/Errors.java @@ -1,2 +1,8 @@ @Ann(<error descr="Cannot find method 'value'">0</error>) class D { + + <error>@EJB</error> + Runnable myMissingEjbRef; + + public <T> @SafeVarargs + static void m(); }
\ No newline at end of file diff --git a/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/Errors.txt b/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/Errors.txt index 9f1efdb6d2e4..678025fdf06a 100644 --- a/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/Errors.txt +++ b/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/Errors.txt @@ -69,5 +69,96 @@ PsiJavaFile:Errors.java <empty list> PsiWhiteSpace(' ') PsiJavaToken:LBRACE('{') + PsiWhiteSpace('\n\n ') + PsiModifierList: + <empty list> + PsiErrorElement:Identifier or type expected + PsiTypeParameterList + PsiJavaToken:LT('<') + PsiTypeParameter:error + PsiIdentifier:error('error') + PsiElement(EXTENDS_BOUND_LIST) + <empty list> + PsiJavaToken:GT('>') + PsiModifierList:@EJB + PsiAnnotation + PsiJavaToken:AT('@') + PsiJavaCodeReferenceElement:EJB + PsiIdentifier:EJB('EJB') + PsiReferenceParameterList + <empty list> + PsiAnnotationParameterList + <empty list> + PsiErrorElement:Identifier or type expected + PsiTypeParameterList + PsiJavaToken:LT('<') + PsiErrorElement:Type parameter expected + <empty list> + PsiErrorElement:'>' expected. + <empty list> + PsiErrorElement:Unexpected token + PsiJavaToken:DIV('/') + PsiModifierList: + <empty list> + PsiTypeElement:error + PsiJavaCodeReferenceElement:error + PsiIdentifier:error('error') + PsiReferenceParameterList + <empty list> + PsiErrorElement:Identifier expected + <empty list> + PsiErrorElement:Unexpected token + PsiJavaToken:GT('>') + PsiWhiteSpace('\n ') + PsiField:myMissingEjbRef + PsiModifierList: + <empty list> + PsiTypeElement:Runnable + PsiJavaCodeReferenceElement:Runnable + PsiIdentifier:Runnable('Runnable') + PsiReferenceParameterList + <empty list> + PsiWhiteSpace(' ') + PsiIdentifier:myMissingEjbRef('myMissingEjbRef') + PsiJavaToken:SEMICOLON(';') + PsiWhiteSpace('\n\n ') + PsiModifierList:public + PsiKeyword:public('public') + PsiWhiteSpace(' ') + PsiErrorElement:Identifier or type expected + PsiTypeParameterList + PsiJavaToken:LT('<') + PsiTypeParameter:T + PsiIdentifier:T('T') + PsiElement(EXTENDS_BOUND_LIST) + <empty list> + PsiJavaToken:GT('>') + PsiWhiteSpace(' ') + PsiMethod:m + PsiModifierList:@SafeVarargs + static + PsiAnnotation + PsiJavaToken:AT('@') + PsiJavaCodeReferenceElement:SafeVarargs + PsiIdentifier:SafeVarargs('SafeVarargs') + PsiReferenceParameterList + <empty list> + PsiAnnotationParameterList + <empty list> + PsiWhiteSpace('\n ') + PsiKeyword:static('static') + PsiTypeParameterList + <empty list> + PsiWhiteSpace(' ') + PsiTypeElement:void + PsiKeyword:void('void') + PsiWhiteSpace(' ') + PsiIdentifier:m('m') + PsiParameterList:() + PsiJavaToken:LPARENTH('(') + PsiJavaToken:RPARENTH(')') + PsiReferenceList + <empty list> + PsiJavaToken:SEMICOLON(';') PsiWhiteSpace('\n') PsiJavaToken:RBRACE('}')
\ No newline at end of file diff --git a/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/TypeAnnotations.java b/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/TypeAnnotations.java index a74d4d6bbfad..de61404de20d 100644 --- a/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/TypeAnnotations.java +++ b/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/TypeAnnotations.java @@ -47,6 +47,11 @@ class SpecSamples { try (@A Reader r = new @B FileReader("/dev/zero"); @A Writer w = new @B FileWriter("/dev/null")) { } } + interface TestClass { + <T> @Nullable List<T> test(); + <T> @Positive int test(T t); + } + // // 2. An annotation on a wildcard type argument appears before the wildcard ... // @@ -72,6 +77,7 @@ class SpecSamples { // @Immutable SpecSamples() { } + <T> @Immutable SpecSamples(T t) { } // // todo [r.sh] 5. It is permitted to explicitly declare the method receiver as the first formal parameter ... diff --git a/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/TypeAnnotations.txt b/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/TypeAnnotations.txt index 54cf4b873ea8..0cc33a82fa2c 100644 --- a/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/TypeAnnotations.txt +++ b/java/java-tests/testData/psi/parser-full/annotationParsing/annotation/TypeAnnotations.txt @@ -1045,6 +1045,104 @@ PsiJavaFile:TypeAnnotations.java PsiWhiteSpace('\n ') PsiJavaToken:RBRACE('}') PsiWhiteSpace('\n\n ') + PsiClass:TestClass + PsiModifierList: + <empty list> + PsiKeyword:interface('interface') + PsiWhiteSpace(' ') + PsiIdentifier:TestClass('TestClass') + PsiTypeParameterList + <empty list> + PsiReferenceList + <empty list> + PsiReferenceList + <empty list> + PsiWhiteSpace(' ') + PsiJavaToken:LBRACE('{') + PsiWhiteSpace('\n ') + PsiMethod:test + PsiModifierList: + <empty list> + PsiTypeParameterList + PsiJavaToken:LT('<') + PsiTypeParameter:T + PsiIdentifier:T('T') + PsiElement(EXTENDS_BOUND_LIST) + <empty list> + PsiJavaToken:GT('>') + PsiWhiteSpace(' ') + PsiTypeElement:@Nullable List<T> + PsiAnnotation + PsiJavaToken:AT('@') + PsiJavaCodeReferenceElement:Nullable + PsiIdentifier:Nullable('Nullable') + PsiReferenceParameterList + <empty list> + PsiAnnotationParameterList + <empty list> + PsiWhiteSpace(' ') + PsiJavaCodeReferenceElement:List<T> + PsiIdentifier:List('List') + PsiReferenceParameterList + PsiJavaToken:LT('<') + PsiTypeElement:T + PsiJavaCodeReferenceElement:T + PsiIdentifier:T('T') + PsiReferenceParameterList + <empty list> + PsiJavaToken:GT('>') + PsiWhiteSpace(' ') + PsiIdentifier:test('test') + PsiParameterList:() + PsiJavaToken:LPARENTH('(') + PsiJavaToken:RPARENTH(')') + PsiReferenceList + <empty list> + PsiJavaToken:SEMICOLON(';') + PsiWhiteSpace('\n ') + PsiMethod:test + PsiModifierList: + <empty list> + PsiTypeParameterList + PsiJavaToken:LT('<') + PsiTypeParameter:T + PsiIdentifier:T('T') + PsiElement(EXTENDS_BOUND_LIST) + <empty list> + PsiJavaToken:GT('>') + PsiWhiteSpace(' ') + PsiTypeElement:@Positive int + PsiAnnotation + PsiJavaToken:AT('@') + PsiJavaCodeReferenceElement:Positive + PsiIdentifier:Positive('Positive') + PsiReferenceParameterList + <empty list> + PsiAnnotationParameterList + <empty list> + PsiWhiteSpace(' ') + PsiKeyword:int('int') + PsiWhiteSpace(' ') + PsiIdentifier:test('test') + PsiParameterList:(T t) + PsiJavaToken:LPARENTH('(') + PsiParameter:t + PsiModifierList: + <empty list> + PsiTypeElement:T + PsiJavaCodeReferenceElement:T + PsiIdentifier:T('T') + PsiReferenceParameterList + <empty list> + PsiWhiteSpace(' ') + PsiIdentifier:t('t') + PsiJavaToken:RPARENTH(')') + PsiReferenceList + <empty list> + PsiJavaToken:SEMICOLON(';') + PsiWhiteSpace('\n ') + PsiJavaToken:RBRACE('}') + PsiWhiteSpace('\n\n ') PsiComment(END_OF_LINE_COMMENT)('//') PsiWhiteSpace('\n ') PsiComment(END_OF_LINE_COMMENT)('// 2. An annotation on a wildcard type argument appears before the wildcard ...') @@ -1485,6 +1583,48 @@ PsiJavaFile:TypeAnnotations.java PsiJavaToken:LBRACE('{') PsiWhiteSpace(' ') PsiJavaToken:RBRACE('}') + PsiWhiteSpace('\n ') + PsiMethod:SpecSamples + PsiModifierList: + <empty list> + PsiTypeParameterList + PsiJavaToken:LT('<') + PsiTypeParameter:T + PsiIdentifier:T('T') + PsiElement(EXTENDS_BOUND_LIST) + <empty list> + PsiJavaToken:GT('>') + PsiWhiteSpace(' ') + PsiAnnotation + PsiJavaToken:AT('@') + PsiJavaCodeReferenceElement:Immutable + PsiIdentifier:Immutable('Immutable') + PsiReferenceParameterList + <empty list> + PsiAnnotationParameterList + <empty list> + PsiWhiteSpace(' ') + PsiIdentifier:SpecSamples('SpecSamples') + PsiParameterList:(T t) + PsiJavaToken:LPARENTH('(') + PsiParameter:t + PsiModifierList: + <empty list> + PsiTypeElement:T + PsiJavaCodeReferenceElement:T + PsiIdentifier:T('T') + PsiReferenceParameterList + <empty list> + PsiWhiteSpace(' ') + PsiIdentifier:t('t') + PsiJavaToken:RPARENTH(')') + PsiReferenceList + <empty list> + PsiWhiteSpace(' ') + PsiCodeBlock + PsiJavaToken:LBRACE('{') + PsiWhiteSpace(' ') + PsiJavaToken:RBRACE('}') PsiWhiteSpace('\n\n ') PsiComment(END_OF_LINE_COMMENT)('//') PsiWhiteSpace('\n ') diff --git a/java/java-tests/testData/refactoring/inlineMethod/ThisNameConflict.java b/java/java-tests/testData/refactoring/inlineMethod/ThisNameConflict.java new file mode 100644 index 000000000000..262eae47d2a3 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/ThisNameConflict.java @@ -0,0 +1,11 @@ +class Test { + private final String test = ""; + + { + foo(); + } + + void fo<caret>o() { + if (test.isEmpty()); + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/inlineMethod/ThisNameConflict.java.after b/java/java-tests/testData/refactoring/inlineMethod/ThisNameConflict.java.after new file mode 100644 index 000000000000..76ed281eedb8 --- /dev/null +++ b/java/java-tests/testData/refactoring/inlineMethod/ThisNameConflict.java.after @@ -0,0 +1,8 @@ +class Test { + private final String test = ""; + + { + if (test.isEmpty()); + } + +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/pullUp/AsDefaultMethodOverAbstract.java b/java/java-tests/testData/refactoring/pullUp/AsDefaultMethodOverAbstract.java new file mode 100644 index 000000000000..2a1b9f1ace61 --- /dev/null +++ b/java/java-tests/testData/refactoring/pullUp/AsDefaultMethodOverAbstract.java @@ -0,0 +1,12 @@ +class Test { + interface Printer { + void foo(); + + } + + abstract class AbstractPrinter implements Printer { + @Override + public void f<caret>oo() { + } + } +}
\ No newline at end of file diff --git a/java/java-tests/testData/refactoring/pullUp/AsDefaultMethodOverAbstract_after.java b/java/java-tests/testData/refactoring/pullUp/AsDefaultMethodOverAbstract_after.java new file mode 100644 index 000000000000..2a1b9f1ace61 --- /dev/null +++ b/java/java-tests/testData/refactoring/pullUp/AsDefaultMethodOverAbstract_after.java @@ -0,0 +1,12 @@ +class Test { + interface Printer { + void foo(); + + } + + abstract class AbstractPrinter implements Printer { + @Override + public void f<caret>oo() { + } + } +}
\ No newline at end of file diff --git a/java/java-tests/testSrc/com/intellij/TestClassesFilterTest.java b/java/java-tests/testSrc/com/intellij/TestClassesFilterTest.java index 2bbdb91be897..802189ddff83 100644 --- a/java/java-tests/testSrc/com/intellij/TestClassesFilterTest.java +++ b/java/java-tests/testSrc/com/intellij/TestClassesFilterTest.java @@ -21,6 +21,8 @@ import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; +import java.util.Arrays; +import java.util.Collections; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @@ -41,7 +43,7 @@ public class TestClassesFilterTest { "com.intellij.package6.ExcludedTest\n" + "com.intellij.package7.*package8"; - TestClassesFilter classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), "Group1"); + TestClassesFilter classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), Collections.singletonList("Group1")); assertTrue(classesFilter.matches("com.intellij.package1.Test")); assertTrue(classesFilter.matches("com.intellij.package1.Test2")); assertFalse(classesFilter.matches("com.intellij.package2.Test")); @@ -59,7 +61,7 @@ public class TestClassesFilterTest { assertFalse(classesFilter.matches("com.intellij.package7.package5.package8")); assertFalse(classesFilter.matches("com.intellij.package7")); - classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), "Group2"); + classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), Collections.singletonList("Group2")); assertFalse(classesFilter.matches("com.intellij.package1.Test")); assertFalse(classesFilter.matches("com.intellij.package1.Test2")); assertFalse(classesFilter.matches("com.intellij.package2.Test")); @@ -77,18 +79,29 @@ public class TestClassesFilterTest { assertTrue(classesFilter.matches("com.intellij.package7.package5.package8")); assertFalse(classesFilter.matches("com.intellij.package7")); - classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), null); - checkForNullGroup(classesFilter); + classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), + Collections.singletonList(GroupBasedTestClassFilter.ALL_EXCLUDE_DEFINED)); + checkForAllExcludedDefinedGroup(classesFilter); - classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), GroupBasedTestClassFilter.ALL_EXCLUDE_DEFINED); - checkForNullGroup(classesFilter); + classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), Collections.<String>emptyList()); + checkForAllExcludedDefinedGroup(classesFilter); + + classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), Arrays.asList("Group1", "Group2")); + assertTrue(classesFilter.matches("com.intellij.package1.Test")); + assertTrue(classesFilter.matches("com.intellij.package5.Test")); + assertFalse(classesFilter.matches("com.intellij.package4.Test")); + + classesFilter = GroupBasedTestClassFilter.createOn(getReader(filterText), Arrays.asList("Group1", GroupBasedTestClassFilter.ALL_EXCLUDE_DEFINED)); + assertTrue(classesFilter.matches("com.intellij.package1.Test")); + assertFalse(classesFilter.matches("com.intellij.package5.Test")); + assertTrue(classesFilter.matches("com.intellij.package4.Test")); } private static InputStreamReader getReader(String filterText) throws UnsupportedEncodingException { return new InputStreamReader(new ByteArrayInputStream(filterText.getBytes("UTF-8"))); } - private static void checkForNullGroup(TestClassesFilter classesFilter) { + private static void checkForAllExcludedDefinedGroup(TestClassesFilter classesFilter) { assertFalse(classesFilter.matches("com.intellij.package1.Test")); assertFalse(classesFilter.matches("com.intellij.package1.Test2")); assertTrue(classesFilter.matches("com.intellij.package2.Test")); diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java index 8c3837fe1722..f59162a6d5b2 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/JavaTypingTest.java @@ -15,6 +15,7 @@ */ package com.intellij.codeInsight; +import com.intellij.openapi.editor.ex.EditorEx; import com.intellij.testFramework.PlatformTestUtil; import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase; @@ -57,6 +58,13 @@ public class JavaTypingTest extends LightPlatformCodeInsightFixtureTestCase { doTest('"'); } + public void testColumnMode() { + myFixture.configureByFile(getTestName(true) + "_before.java"); + ((EditorEx)myFixture.getEditor()).setColumnMode(true); + myFixture.type('('); + myFixture.checkResultByFile(getTestName(true) + "_after.java"); + } + 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 8a54c9594144..7391f93a1ab2 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy @@ -42,6 +42,7 @@ import com.intellij.openapi.editor.Editor import com.intellij.openapi.editor.EditorFactory import com.intellij.openapi.editor.LogicalPosition import com.intellij.openapi.editor.actionSystem.EditorActionManager +import com.intellij.openapi.editor.ex.EditorEx import com.intellij.openapi.extensions.Extensions import com.intellij.openapi.extensions.LoadingOrder import com.intellij.openapi.fileEditor.FileEditor @@ -1642,4 +1643,14 @@ class Foo { assert lookup assert myFixture.lookupElementStrings == ['goo'] } + + public void "test in column selection mode"() { + myFixture.configureByText "a.java", """ +class Foo {{ + <caret> +}}""" + edt { ((EditorEx)myFixture.editor).setColumnMode(true) } + type 'toStr' + assert lookup + } } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/completion/NormalCompletionTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/completion/NormalCompletionTest.groovy index 79a94aaa8148..77b4c0cc64a7 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/NormalCompletionTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/NormalCompletionTest.groovy @@ -768,6 +768,8 @@ public class ListUtils { assertStringItems("fofoo", "fofoo"); } + public void testMethodMergingMinimalTail() { doTest() } + public void testAnnotationQualifiedName() throws Throwable { doTest(); } @@ -920,6 +922,9 @@ public class ListUtils { } public void testSmartEnterWrapsConstructorCall() throws Throwable { doTest(Lookup.COMPLETE_STATEMENT_SELECT_CHAR as String) } + public void testSmartEnterNoNewLine() { doTest(Lookup.COMPLETE_STATEMENT_SELECT_CHAR as String) } + public void testSmartEnterWithNewLine() { doTest(Lookup.COMPLETE_STATEMENT_SELECT_CHAR as String) } + public void testTabReplacesMethodNameWithLocalVariableName() throws Throwable { doTest('\t'); } public void testMethodParameterAnnotationClass() throws Throwable { doTest(); } public void testPrimitiveCastOverwrite() throws Throwable { doTest '\t' } @@ -1469,6 +1474,11 @@ class Bar { doTest() } + public void testUnimportedStaticInnerClass() { + myFixture.addClass("package foo; public class Super { public static class Inner {} }"); + doTest() + } + public void testNoJavaLangPackagesInImport() { doAntiTest() } public void testNoStaticDuplicatesFromExpectedMemberFactories() { diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionOrderingTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionOrderingTest.groovy index b19da5ac6f67..1d258fe01367 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionOrderingTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionOrderingTest.groovy @@ -52,12 +52,12 @@ public class SmartTypeCompletionOrderingTest extends CompletionSortingTestCase { public void testNewListAlwaysFirst() { def lookup = invokeCompletion(getTestName(false) + ".java") - assertPreferredItems 1, 'List', 'AbstractList', 'AbstractSequentialList', 'ArrayList' + assertPreferredItems 1, 'List', 'ArrayList', 'AbstractList', 'AbstractSequentialList' for (int i = 0; i < StatisticsManager.OBLIVION_THRESHOLD + 10; i++) { - imitateItemSelection(lookup, 3) //ArrayList + imitateItemSelection(lookup, 3) //AbstractSequentialList } refreshSorting(lookup) - assertPreferredItems 1, 'List', 'ArrayList', 'AbstractList', 'AbstractSequentialList' + assertPreferredItems 1, 'List', 'AbstractSequentialList', 'ArrayList', 'AbstractList' } public void testNoStatsOnUnsuccessfulAttempt() { @@ -170,11 +170,11 @@ public class SmartTypeCompletionOrderingTest extends CompletionSortingTestCase { public void testStatisticsAffectsNonPreferableExpectedItems() throws Throwable { final LookupImpl lookup = invokeCompletion(getTestName(false) + ".java"); - assertPreferredItems(1, "List", "AbstractList", "AbstractSequentialList", "ArrayList"); + assertPreferredItems(1, "List", "ArrayList", "AbstractList", "AbstractSequentialList"); incUseCount(lookup, 0); - assertPreferredItems(1, "List", "AbstractList", "AbstractSequentialList", "ArrayList"); + assertPreferredItems(1, "List", "ArrayList", "AbstractList", "AbstractSequentialList"); incUseCount(lookup, 0); - assertPreferredItems(0, "List", "AbstractList", "AbstractSequentialList", "ArrayList"); + assertPreferredItems(0, "List", "ArrayList", "AbstractList", "AbstractSequentialList"); } public void testPreferNonRecursiveMethodParams() throws Throwable { 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 ed2b792fc5a9..d2e8825cc16d 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/SmartTypeCompletionTest.java @@ -1029,6 +1029,19 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase { assertStringItems("Bar", "Goo"); } + public void testAutoImportExpectedType() throws Throwable { + boolean old = CodeInsightSettings.getInstance().ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY; + CodeInsightSettings.getInstance().ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY = true; + try { + configureByTestName(); + performAction(); + myFixture.assertPreferredCompletionItems(1, "List", "ArrayList", "AbstractList"); + } + finally { + CodeInsightSettings.getInstance().ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY = old; + } + } + public void testNoWrongSubstitutorFromStats() throws Throwable { doTest(); FileDocumentManager.getInstance().saveDocument(myFixture.getEditor().getDocument()); diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/LightAdvHighlightingJdk7Test.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/LightAdvHighlightingJdk7Test.java index a3b60429e297..d6831d4a2d4a 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/LightAdvHighlightingJdk7Test.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/LightAdvHighlightingJdk7Test.java @@ -34,7 +34,6 @@ import com.intellij.pom.java.LanguageLevel; import com.intellij.psi.PsiElement; import com.intellij.testFramework.IdeaTestUtil; import org.jdom.Element; -import org.jetbrains.annotations.NonNls; import org.jetbrains.annotations.NotNull; import java.util.List; @@ -44,7 +43,7 @@ import java.util.List; * For "heavyweight" tests use AdvHighlightingTest */ public class LightAdvHighlightingJdk7Test extends LightDaemonAnalyzerTestCase { - @NonNls static final String BASE_PATH = "/codeInsight/daemonCodeAnalyzer/advHighlighting7"; + private static final String BASE_PATH = "/codeInsight/daemonCodeAnalyzer/advHighlighting7"; private void doTest(boolean checkWarnings, boolean checkInfos, Class<?>... classes) { setLanguageLevel(LanguageLevel.JDK_1_7); @@ -102,12 +101,9 @@ public class LightAdvHighlightingJdk7Test extends LightDaemonAnalyzerTestCase { public void testHighlightInaccessibleFromClassModifierList() { doTest(false, false); } public void testInnerInTypeArguments() { doTest(false, false); } public void testRawSubstitutor() { doTest(false, false); } + public void testIncompleteDiamonds() { doTest(false, false); } - public void testIncompleteDiamonds() throws Exception { - doTest(false, false); - } - - public void testDynamicallyAddIgnoredAnnotations() throws Exception { + public void testDynamicallyAddIgnoredAnnotations() { ExtensionPoint<EntryPoint> point = Extensions.getRootArea().getExtensionPoint(ToolExtensionPoints.DEAD_CODE_TOOL); EntryPoint extension = new EntryPoint() { @NotNull @Override public String getDisplayName() { return "duh"; } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/MostSpecificResolutionTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/MostSpecificResolutionTest.java index 7a73bfed6cbd..9bb7d4801944 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/MostSpecificResolutionTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/MostSpecificResolutionTest.java @@ -111,6 +111,10 @@ public class MostSpecificResolutionTest extends LightDaemonAnalyzerTestCase { doTest(); } + public void testIDEA127584() throws Exception { + doTest(); + } + private void doTest() { doTest(true); } 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 6bd7654b72af..ea9ada93ca77 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 @@ -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. @@ -31,214 +31,64 @@ public class NewLambdaHighlightingTest extends LightDaemonAnalyzerTestCase { @Override protected LocalInspectionTool[] configureLocalInspectionTools() { return new LocalInspectionTool[]{ - new UnusedSymbolLocalInspection(), + new UnusedSymbolLocalInspection() }; } - public void testIDEA93586() throws Exception { - doTest(); - } - - public void testIDEA113573() throws Exception { - doTest(); - } - - public void testIDEA112922() throws Exception { - doTest(); - } - - public void testIDEA113504() throws Exception { - doTest(); - } - - public void testAfterAbstractPipeline2() throws Exception { - doTest(); - } - - public void testIDEA116252() throws Exception { - doTest(); - } - - public void testIDEA106670() throws Exception { - doTest(); - } - - public void testIDEA116548() throws Exception { - doTest(); - } - - public void testOverloadResolutionSAM() throws Exception { - doTest(); - } - - public void testIntersectionTypesDuringInference() throws Exception { - doTest(); - } - - public void testIncludeConstraintsWhenParentMethodIsDuringCalculation() throws Exception { - doTest(); - } - - public void testUseCalculatedSubstitutor() throws Exception { - doTest(); - } - - public void testArgumentOfAnonymousClass() throws Exception { - doTest(); - } - - public void testEllipsis() throws Exception { - doTest(); - } - - public void testOuterMethodPropagation() throws Exception { - doTest(); - } - - public void testRecursiveCalls() throws Exception { - doTest(); - } - - public void testGroundTargetTypeForImplicitLambdas() throws Exception { - doTest(); - } - - public void testAdditionalConstraintsReduceOrder() throws Exception { - doTest(); - } - - public void testAdditionalConstraintSubstitution() throws Exception { - doTest(); - } - public void testFunctionalInterfacesCalculation() throws Exception { - doTest(); - } - - public void testMissedSiteSubstitutorDuringDeepAdditionalConstraintsGathering() throws Exception { - doTest(); - } - - public void testIDEA120992() throws Exception { - doTest(); - } - - public void testTargetTypeConflictResolverShouldNotTryToEvaluateCurrentArgumentType() throws Exception { - doTest(); - } - - public void testIDEA119535() throws Exception { - doTest(); - } - - public void testIDEA119003() throws Exception { - doTest(); - } - - public void testIDEA117124() throws Exception { - doTest(); - } - - public void testWildcardParameterization() throws Exception { - doTest(); - } - - public void testDiamondInLambdaReturn() throws Exception { - doTest(); - } - - public void testIDEA118965() throws Exception { - doTest(); - } - - public void testIDEA121315() throws Exception { - doTest(); - } - - public void testIDEA118965comment() throws Exception { - doTest(); - } - - public void testIDEA122074() throws Exception { - doTest(); - } - - public void testIDEA122084() throws Exception { - doTest(); - } - - public void testAdditionalConstraintDependsOnNonMentionedVars() throws Exception { - doTest(); - } - - public void testIDEA122616() throws Exception { - doTest(); - } - - public void testIDEA122700() throws Exception { - doTest(); - } - - public void testIDEA122406() throws Exception { - doTest(); - } - - public void testNestedCallsInsideLambdaReturnExpression() throws Exception { - doTest(); - } - - public void testIDEA123731() throws Exception { - doTest(); - } - - public void testIDEA123869() throws Exception { - doTest(); - } - - public void testIDEA123848() throws Exception { - doTest(); - } - - public void testOnlyLambdaAtTypeParameterPlace() throws Exception { - doTest(); - } - - public void testLiftedIntersectionType() throws Exception { - doTest(); - } - - public void testInferenceFromReturnStatements() throws Exception { - doTest(); - } - - public void testDownUpThroughLambdaReturnStatements() throws Exception { - doTest(); - } - - public void testIDEA124547() throws Exception { - doTest(); - } - - public void testIDEA118362() throws Exception { - doTest(); - } - - public void testIDEA126056() throws Exception { - doTest(); - } - - public void testIDEA125254() throws Exception { - doTest(); - } - - public void testIDEA124961() throws Exception { - doTest(); - } - - public void testIDEA126109() throws Exception { - doTest(); - } - - public void testIDEA126809() throws Exception { + public void testIDEA93586() { doTest(); } + public void testIDEA113573() { doTest(); } + public void testIDEA112922() { doTest(); } + public void testIDEA113504() { doTest(); } + public void testAfterAbstractPipeline2() { doTest(); } + public void testIDEA116252() { doTest(); } + public void testIDEA106670() { doTest(); } + public void testIDEA116548() { doTest(); } + public void testOverloadResolutionSAM() { doTest(); } + public void testIntersectionTypesDuringInference() { doTest(); } + public void testIncludeConstraintsWhenParentMethodIsDuringCalculation() { doTest(); } + public void testUseCalculatedSubstitutor() { doTest(); } + public void testArgumentOfAnonymousClass() { doTest(); } + public void testEllipsis() { doTest(); } + public void testOuterMethodPropagation() { doTest(); } + public void testRecursiveCalls() { doTest(); } + public void testGroundTargetTypeForImplicitLambdas() { doTest(); } + public void testAdditionalConstraintsReduceOrder() { doTest(); } + public void testAdditionalConstraintSubstitution() { doTest(); } + public void testFunctionalInterfacesCalculation() { doTest(); } + public void testMissedSiteSubstitutorDuringDeepAdditionalConstraintsGathering() { doTest(); } + public void testIDEA120992() { doTest(); } + public void testTargetTypeConflictResolverShouldNotTryToEvaluateCurrentArgumentType() { doTest(); } + public void testIDEA119535() { doTest(); } + public void testIDEA119003() { doTest(); } + public void testIDEA117124() { doTest(); } + public void testWildcardParameterization() { doTest(); } + public void testDiamondInLambdaReturn() { doTest(); } + public void testIDEA118965() { doTest(); } + public void testIDEA121315() { doTest(); } + public void testIDEA118965comment() { doTest(); } + public void testIDEA122074() { doTest(); } + public void testIDEA122084() { doTest(); } + public void testAdditionalConstraintDependsOnNonMentionedVars() { doTest(); } + public void testIDEA122616() { doTest(); } + public void testIDEA122700() { doTest(); } + public void testIDEA122406() { doTest(); } + public void testNestedCallsInsideLambdaReturnExpression() { doTest(); } + public void testIDEA123731() { doTest(); } + public void testIDEA123869() { doTest(); } + public void testIDEA123848() { doTest(); } + public void testOnlyLambdaAtTypeParameterPlace() { doTest(); } + public void testLiftedIntersectionType() { doTest(); } + public void testInferenceFromReturnStatements() { doTest(); } + public void testDownUpThroughLambdaReturnStatements() { doTest(); } + public void testIDEA124547() { doTest(); } + public void testIDEA118362() { doTest(); } + public void testIDEA126056() { doTest(); } + public void testIDEA125254() { doTest(); } + public void testIDEA124961() { doTest(); } + public void testIDEA126109() { doTest(); } + public void testIDEA126809() { doTest(); } + + public void testIDEA127596() 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 6860bc0c88fa..dd7ceb566139 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 @@ -273,6 +273,14 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase { doTest(); } + public void testIDEA126969() throws Exception { + doTest(); + } + + public void testIDEA127506() throws Exception { + doTest(); + } + private void doTest() { doTest(false); } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/CreateFieldFromUsageTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/CreateFieldFromUsageTest.java index fba0c7714bef..2c5c52141ea9 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/CreateFieldFromUsageTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/CreateFieldFromUsageTest.java @@ -24,6 +24,7 @@ public class CreateFieldFromUsageTest extends LightQuickFixTestCase { public void testInsideStaticInnerClass() throws Exception { doSingleTest(); } public void testCreateFromEquals() throws Exception { doSingleTest(); } public void testCreateFromEqualsToPrimitiveType() throws Exception { doSingleTest(); } + public void testInsideInterface() throws Exception { doSingleTest(); } public void testWithAlignment() throws Exception { final CommonCodeStyleSettings settings = CodeStyleSettingsManager.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE); boolean old = settings.ALIGN_GROUP_FIELD_DECLARATIONS; diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/RenameWrongReferenceTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/RenameWrongReferenceTest.java index ae2c847128b3..7b19bbd5cd27 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/RenameWrongReferenceTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/RenameWrongReferenceTest.java @@ -1,3 +1,18 @@ +/* + * 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.codeInsight.daemon.quickFix; public class RenameWrongReferenceTest extends LightQuickFixAvailabilityTestCase { @@ -9,4 +24,3 @@ public class RenameWrongReferenceTest extends LightQuickFixAvailabilityTestCase return "/codeInsight/daemonCodeAnalyzer/quickFix/renameWrongReference"; } } - diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/folding/JavaFoldingTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/folding/JavaFoldingTest.groovy index 2047f13b795d..5d823e001f82 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/folding/JavaFoldingTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/folding/JavaFoldingTest.groovy @@ -608,7 +608,7 @@ class Test { configure(testNow, shouldIgnoreRoots(), fourteen, pi, title, c, file); } - pubic void configure(boolean testNow, boolean shouldIgnoreRoots, int times, float pi, String title, char terminate, File file) { + pubic void configure(boolean testNow, boolean shouldIgnoreRoots, int times, float pii, String title, char terminate, File file) { System.out.println(); System.out.println(); } @@ -672,7 +672,7 @@ public class VarArgTest { assert regions[1].placeholderText == "test: 13" } - public void "test inline if argument length is one (EA-57555)"() { + public void "test do not inline if parameter length is one or two"() { def text = """ public class CharSymbol { @@ -681,7 +681,7 @@ public class CharSymbol { count(1, false); } - public void count(int test, boolean fast) { + public void count(int t, boolean fa) { int temp = test; boolean isFast = fast; } @@ -689,13 +689,78 @@ public class CharSymbol { """ configure text def regions = myFixture.editor.foldingModel.allFoldRegions.sort { it.startOffset } + assert regions.size() == 2 + } + + public void "test do not inline known subsequent parameter names"() { + def text = """ +public class Test { + public void main() { + test1(1, 2); + test2(1, 2); + test3(1, 2); + doTest("first", "second"); + } + + public void test1(int first, int second) { + int start = first; + int end = second; + } + + public void test2(int key, int value) { + int start = key; + int end = value; + } + + public void test3(int key, int value) { + int start = key; + int end = value; + } +} +""" + configure text + def regions = myFixture.editor.foldingModel.allFoldRegions assert regions.size() == 4 + } - checkRangeOffsetByPositionInText(regions[1], text, "1") - assert regions[1].placeholderText == "test: 1" + public void "test do not inline paired ranged names"() { + def text = """ +public class CharSymbol { - checkRangeOffsetByPositionInText(regions[2], text, "false") - assert regions[2].placeholderText == "fast: false" + public void main() { + String s = "AAA"; + int last = 3; + + substring1(1, last); + substring2(1, last); + substring3(1, last); + substring4(1, last); + } + + public void substring1(int beginIndex, int endIndex) { + int start = beginIndex; + int end = endIndex; + } + + public void substring2(int startIndex, int endIndex) { + int start = startIndex; + int end = endIndex; + } + + public void substring3(int from, int to) { + int start = from; + int end = to; + } + + public void substring4(int first, int last) { + int start = first; + int end = last; + } +} +""" + configure text + def regions = myFixture.editor.foldingModel.allFoldRegions.sort { it.startOffset } + assert regions.size() == 5 } public void "test inline names if literal expression can be assigned to method parameter"() { @@ -764,7 +829,7 @@ public class Test { } abstract class Checker { - Checker(boolean applyToFirst, boolean applyToSecond) {} + Checker(boolean isActive, boolean requestFocus) {} abstract void test(); } } @@ -773,8 +838,8 @@ public class Test { def regions = myFixture.editor.foldingModel.allFoldRegions.sort { it.startOffset } assert regions.length == 6 - assert regions[1].placeholderText == "applyToFirst: true" - assert regions[2].placeholderText == "applyToSecond: false" + assert regions[1].placeholderText == "isActive: true" + assert regions[2].placeholderText == "requestFocus: false" checkRangeOffsetByPositionInText(regions[1], text, "true") checkRangeOffsetByPositionInText(regions[2], text, "false") diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/intention/AddImportActionTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/intention/AddImportActionTest.groovy index ead75a2936e2..4b169fcc9249 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/intention/AddImportActionTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/intention/AddImportActionTest.groovy @@ -177,6 +177,66 @@ class Test { ''' } + public void "test import class in class reference expression"() { + myFixture.configureByText 'a.java', ''' +class Test { + { + equals(Co<caret>llection.class); + } +} +''' + importClass(); + myFixture.checkResult '''import java.util.Collection; + +class Test { + { + equals(Co<caret>llection.class); + } +} +''' + } + + public void "test import class in qualifier expression"() { + myFixture.configureByText 'a.java', ''' +class Test { + { + equals(Co<caret>llections.emptySet()); + } +} +''' + importClass(); + myFixture.checkResult '''import java.util.Collections; + +class Test { + { + equals(Co<caret>llections.emptySet()); + } +} +''' + } + + public void "test don't import class in method call argument"() { + myFixture.configureByText 'a.java', ''' +class Test { + { + equals(Co<caret>llection); + } +} +''' + assert !myFixture.filterAvailableIntentions("Import Class") + } + + public void "test don't import class in assignment"() { + myFixture.configureByText 'a.java', ''' +class Test { + { + Co<caret>llection = 2; + } +} +''' + assert !myFixture.filterAvailableIntentions("Import Class") + } + private def importClass() { myFixture.launchAction(myFixture.findSingleIntention("Import Class")) } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/javadoc/JavaDocInfoGeneratorTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/javadoc/JavaDocInfoGeneratorTest.java index 454bb7f97a58..8bac921916d3 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/javadoc/JavaDocInfoGeneratorTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/javadoc/JavaDocInfoGeneratorTest.java @@ -80,6 +80,10 @@ public class JavaDocInfoGeneratorTest extends CodeInsightTestCase { doTestField(); } + public void testAnnotationsInParams() throws Exception { + doTestMethod(); + } + public void testLiteral() throws Exception { doTestField(); } @@ -88,6 +92,10 @@ public class JavaDocInfoGeneratorTest extends CodeInsightTestCase { doTestField(); } + public void testPInsidePre() throws Exception { + doTestField(); + } + public void testEnumConstantOrdinal() throws Exception { PsiClass psiClass = getTestClass(); PsiField field = psiClass.getFields() [0]; diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/template/LiveTemplateTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/template/LiveTemplateTest.groovy index 3acb9845df66..d866ddd783cf 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/template/LiveTemplateTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInsight/template/LiveTemplateTest.groovy @@ -797,4 +797,30 @@ class Foo { } """ } + + public void "test two static imports"() { + myFixture.configureByText "a.java", """ + +class Foo { + { + <caret> + } +} +""" + final TemplateManager manager = TemplateManager.getInstance(getProject()); + final Template template = manager.createTemplate("xxx", "user", 'java.lang.Math.abs(java.lang.Math.PI);'); + template.setValue(USE_STATIC_IMPORT_IF_POSSIBLE, true); + + startTemplate(template); + myFixture.checkResult """\ +import static java.lang.Math.PI; +import static java.lang.Math.abs; + +class Foo { + { + abs(PI);<caret> + } +} +""" + } } diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/template/postfix/templates/CastPostfixTemplateTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/template/postfix/templates/CastPostfixTemplateTest.java index d5cae6ab30cf..9a50a6b353c5 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/template/postfix/templates/CastPostfixTemplateTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/template/postfix/templates/CastPostfixTemplateTest.java @@ -43,4 +43,7 @@ public class CastPostfixTemplateTest extends PostfixTemplateTestCase { public void testChainCall() { doTest(); } + public void testTernary() { + doTest(); + } } diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/ContractInferenceFromSourceTest.groovy b/java/java-tests/testSrc/com/intellij/codeInspection/ContractInferenceFromSourceTest.groovy index 32982f3687df..23eac589e2db 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/ContractInferenceFromSourceTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInspection/ContractInferenceFromSourceTest.groovy @@ -220,12 +220,74 @@ class ContractInferenceFromSourceTest extends LightCodeInsightFixtureTestCase { assert c == ['_ -> true'] } + public void "test boolean autoboxing"() { + def c = inferContracts(""" + static Object test1(Object o1) { + return o1 == null; + }""") + assert c == [] + } + + public void "test non-returning delegation"() { + def c = inferContracts(""" + static void test2(Object o) { + assertNotNull(o); + } + + static boolean assertNotNull(Object o) { + if (o == null) { + throw new NullPointerException(); + } + return true; + } + """) + assert c == ['null -> fail'] + } + + public void "test instanceof notnull"() { + def c = inferContracts(""" + public boolean test2(Object o) { + if (o != null) { + return o instanceof String; + } else { + return test1(o); + } + } + static boolean test1(Object o1) { + return o1 == null; + } + """) + assert c == [] + } + + public void "test no duplicates in delegation"() { + def c = inferContracts(""" + static boolean test2(Object o1, Object o2) { + return test1(o1, o1); + } + static boolean test1(Object o1, Object o2) { + return o1 != null && o2 != null; + } + """) + assert c == ['null, _ -> false', '!null, _ -> true'] + } + + public void "test take explicit parameter notnull into account"() { + def c = inferContracts(""" + final Object foo(@org.jetbrains.annotations.NotNull Object bar) { + if (!(bar instanceof CharSequence)) return null; + return new String("abc"); + } + """) + assert c == [] + } + private String inferContract(String method) { return assertOneElement(inferContracts(method)) } private List<String> inferContracts(String method) { - def clazz = myFixture.addClass("class Foo { $method }") + def clazz = myFixture.addClass("final class Foo { $method }") return ContractInference.inferContracts(clazz.methods[0]).collect { it as String } } } diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/DataFlowInspectionTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/DataFlowInspectionTest.java index 833b5196d74a..4cba2ab918a7 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/DataFlowInspectionTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInspection/DataFlowInspectionTest.java @@ -139,6 +139,12 @@ public class DataFlowInspectionTest extends LightCodeInsightFixtureTestCase { myFixture.checkResultByFile(getTestName(false) + "_after.java"); } + public void testReportConstantReferences_OverloadedCall() { + doTestReportConstantReferences(); + myFixture.launchAction(myFixture.findSingleIntention("Replace with 'null'")); + myFixture.checkResultByFile(getTestName(false) + "_after.java"); + } + public void testReportConstantReferencesAfterFinalFieldAccess() { doTestReportConstantReferences(); } private void doTestReportConstantReferences() { @@ -148,28 +154,6 @@ public class DataFlowInspectionTest extends LightCodeInsightFixtureTestCase { myFixture.testHighlighting(true, false, true, getTestName(false) + ".java"); } - public void _testReportConstantReferences_ReplaceWithString() { - doTestReportConstantReferences(); - myFixture.launchAction(myFixture.findSingleIntention("Replace with 'CONST'")); - myFixture.checkResultByFile(getTestName(false) + "_after.java"); - } - public void _testReportConstantReferences_ReplaceWithIntConstant() { - doTestReportConstantReferences(); - myFixture.launchAction(myFixture.findSingleIntention("Replace with 'CONST'")); - myFixture.checkResultByFile(getTestName(false) + "_after.java"); - } - public void _testReportConstantReferences_ReplaceWithEnum() { - myFixture.addClass("package foo; public enum MyEnum { FOO }"); - doTestReportConstantReferences(); - myFixture.launchAction(myFixture.findSingleIntention("Replace with 'FOO'")); - myFixture.checkResultByFile(getTestName(false) + "_after.java"); - } - public void _testReportConstantReferences_NotInComplexAssignment() { - doTestReportConstantReferences(); - assertEmpty(myFixture.filterAvailableIntentions("Replace with")); - } - public void _testReportConstantReferences_Switch() { doTestReportConstantReferences(); } - public void testCheckFieldInitializers() { doTest(); } @@ -190,6 +174,7 @@ public class DataFlowInspectionTest extends LightCodeInsightFixtureTestCase { public void testTransientFinalField() { doTest(); } public void testFinalFieldDuringInitialization() { doTest(); } + public void testFinalFieldDuringSuperInitialization() { doTest(); } public void _testSymmetricUncheckedCast() { doTest(); } // http://youtrack.jetbrains.com/issue/IDEABKL-6871 public void testNullCheckDoesntAffectUncheckedCast() { doTest(); } public void testThrowNull() { doTest(); } @@ -265,6 +250,13 @@ public class DataFlowInspectionTest extends LightCodeInsightFixtureTestCase { public void testSameComparisonTwice() { doTest(); } public void testRootThrowableCause() { doTest(); } + public void testUseInferredContracts() { doTest(); } + public void testContractInferenceBewareOverriding() { doTest(); } + + public void testNumberComparisonsWhenValueIsKnown() { doTest(); } + + public void testAccessingSameArrayElements() { doTest(); } + public void testParametersAreNonnullByDefault() { myFixture.addClass("package javax.annotation; public @interface ParametersAreNonnullByDefault {}"); myFixture.addClass("package javax.annotation; public @interface ParametersAreNullableByDefault {}"); @@ -280,6 +272,29 @@ public class DataFlowInspectionTest extends LightCodeInsightFixtureTestCase { myFixture.launchAction(myFixture.findSingleIntention("Remove redundant assignment")); myFixture.checkResultByFile(getTestName(false) + "_after.java"); } - + + public void testAssertThat() { + myFixture.addClass("package org.hamcrest; public class CoreMatchers { " + + "public static <T> Matcher<T> notNullValue() {}\n" + + "public static <T> Matcher<T> not(Matcher<T> matcher) {}\n" + + "public static <T> Matcher<T> equalTo(T operand) {}\n" + + "}"); + myFixture.addClass("package org.hamcrest; public interface Matcher<T> {}"); + myFixture.addClass("package org.junit; public class Assert { " + + "public static <T> void assertThat(T actual, org.hamcrest.Matcher<? super T> matcher) {}\n" + + "public static <T> void assertThat(String msg, T actual, org.hamcrest.Matcher<? super T> matcher) {}\n" + + "}"); + myFixture.enableInspections(new DataFlowInspection()); + myFixture.testHighlighting(true, false, true, getTestName(false) + ".java"); + } + + public void testGuavaCheckNotNull() { + myFixture.addClass("package com.google.common.base; public class Preconditions { " + + "public static <T> T checkNotNull(T reference) {}\n" + + "}"); + myFixture.enableInspections(new DataFlowInspection()); + myFixture.testHighlighting(true, false, true, getTestName(false) + ".java"); + } + public void _testNullCheckBeforeInstanceof() { doTest(); } // http://youtrack.jetbrains.com/issue/IDEA-113220 } diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/NullableStuffInspectionTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/NullableStuffInspectionTest.java index 843dcbbb8bfe..e925dd49a8ea 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/NullableStuffInspectionTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInspection/NullableStuffInspectionTest.java @@ -30,6 +30,8 @@ public class NullableStuffInspectionTest extends LightCodeInsightFixtureTestCase public void testProblems2() throws Exception{ doTest(); } public void testNullableFieldNotnullParam() throws Exception{ doTest(); } public void testNotNullFieldNullableParam() throws Exception{ doTest(); } + public void testNotNullCustomException() throws Exception{ doTest(); } + public void testNotNullFieldNotInitialized() throws Exception{ doTest(); } public void testGetterSetterProblems() throws Exception{ doTest(); } public void testOverriddenMethods() throws Exception{ diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisIntegrationTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisIntegrationTest.java new file mode 100644 index 000000000000..516b140cc0b1 --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisIntegrationTest.java @@ -0,0 +1,177 @@ +/* + * 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.codeInspection.bytecodeAnalysis; + +import com.intellij.codeInsight.AnnotationUtil; +import com.intellij.codeInsight.ExternalAnnotationsManager; +import com.intellij.codeInsight.InferredAnnotationsManager; +import com.intellij.openapi.application.ex.PathManagerEx; +import com.intellij.openapi.projectRoots.Sdk; +import com.intellij.openapi.projectRoots.SdkModificator; +import com.intellij.openapi.roots.AnnotationOrderRootType; +import com.intellij.openapi.roots.ModifiableRootModel; +import com.intellij.openapi.roots.ModuleRootModificationUtil; +import com.intellij.openapi.roots.libraries.Library; +import com.intellij.openapi.roots.libraries.LibraryTable; +import com.intellij.openapi.vfs.LocalFileSystem; +import com.intellij.openapi.vfs.VfsUtilCore; +import com.intellij.openapi.vfs.VirtualFile; +import com.intellij.openapi.vfs.VirtualFileVisitor; +import com.intellij.psi.*; +import com.intellij.psi.search.GlobalSearchScope; +import com.intellij.psi.util.PsiFormatUtil; +import com.intellij.testFramework.PsiTestUtil; +import com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase; +import com.intellij.util.AsynchConsumer; +import org.jetbrains.annotations.Contract; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * @author lambdamix + */ +public class BytecodeAnalysisIntegrationTest extends JavaCodeInsightFixtureTestCase { + public static final String ORG_JETBRAINS_ANNOTATIONS_CONTRACT = Contract.class.getName(); + + private InferredAnnotationsManager myInferredAnnotationsManager; + private ExternalAnnotationsManager myExternalAnnotationsManager; + + private List<String> diffs = new ArrayList<String>(); + + @Override + protected void setUp() throws Exception { + super.setUp(); + + setUpLibraries(); + setUpExternalUpAnnotations(); + + myInferredAnnotationsManager = InferredAnnotationsManager.getInstance(myModule.getProject()); + myExternalAnnotationsManager = ExternalAnnotationsManager.getInstance(myModule.getProject()); + } + + private void setUpLibraries() { + VirtualFile lib = LocalFileSystem.getInstance().refreshAndFindFileByPath(PathManagerEx.getTestDataPath() + "/../../../lib"); + assertNotNull(lib); + PsiTestUtil.addLibrary(myModule, "velocity", lib.getPath(), new String[]{"/velocity.jar!/"}, new String[]{}); + } + + private void setUpExternalUpAnnotations() { + String annotationsPath = PathManagerEx.getTestDataPath() + "/codeInspection/bytecodeAnalysis/annotations"; + final VirtualFile annotationsDir = LocalFileSystem.getInstance().refreshAndFindFileByPath(annotationsPath); + assertNotNull(annotationsDir); + + ModuleRootModificationUtil.updateModel(myModule, new AsynchConsumer<ModifiableRootModel>() { + @Override + public void finished() { + } + + @Override + public void consume(ModifiableRootModel modifiableRootModel) { + final LibraryTable libraryTable = modifiableRootModel.getModuleLibraryTable(); + Library[] libs = libraryTable.getLibraries(); + for (Library library : libs) { + final Library.ModifiableModel libraryModel = library.getModifiableModel(); + libraryModel.addRoot(annotationsDir, AnnotationOrderRootType.getInstance()); + libraryModel.commit(); + } + Sdk sdk = modifiableRootModel.getSdk(); + if (sdk != null) { + SdkModificator sdkModificator = sdk.getSdkModificator(); + sdkModificator.addRoot(annotationsDir, AnnotationOrderRootType.getInstance()); + sdkModificator.commitChanges(); + } + } + }); + + VfsUtilCore.visitChildrenRecursively(annotationsDir, new VirtualFileVisitor() { }); + annotationsDir.refresh(false, true); + } + + public void testSdkAndLibAnnotations() { + + final PsiPackage rootPackage = JavaPsiFacade.getInstance(getProject()).findPackage(""); + assert rootPackage != null; + + final GlobalSearchScope scope = GlobalSearchScope.allScope(getProject()); + JavaRecursiveElementVisitor visitor = new JavaRecursiveElementVisitor() { + @Override + public void visitPackage(PsiPackage aPackage) { + for (PsiPackage subPackage : aPackage.getSubPackages(scope)) { + visitPackage(subPackage); + } + for (PsiClass aClass : aPackage.getClasses(scope)) { + for (PsiMethod method : aClass.getMethods()) { + checkMethodAnnotations(method); + } + } + } + }; + + rootPackage.accept(visitor); + assertEmpty(diffs); + } + + private void checkMethodAnnotations(PsiMethod method) { + try { + if (ProjectBytecodeAnalysis.getKey(method) == -1) { + return; + } + } + catch (IOException e) { + fail(); + } + + // not null-result + String externalOutAnnotation = + myExternalAnnotationsManager.findExternalAnnotation(method, AnnotationUtil.NOT_NULL) == null ? "null" : "@NotNull"; + String inferredOutAnnotation = + myInferredAnnotationsManager.findInferredAnnotation(method, AnnotationUtil.NOT_NULL) == null ? "null" : "@NotNull"; + String methodKey = PsiFormatUtil.getExternalName(method, false, Integer.MAX_VALUE); + + if (!externalOutAnnotation.equals(inferredOutAnnotation)) { + diffs.add(methodKey + ": " + externalOutAnnotation + " != " + inferredOutAnnotation); + } + + 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); + } + } + + PsiAnnotation externalContractAnnotation = + myExternalAnnotationsManager.findExternalAnnotation(method, ORG_JETBRAINS_ANNOTATIONS_CONTRACT); + PsiAnnotation inferredContractAnnotation = + myInferredAnnotationsManager.findInferredAnnotation(method, ORG_JETBRAINS_ANNOTATIONS_CONTRACT); + + String externalContractAnnotationString = + externalContractAnnotation == null ? "null" : "@Contract(" + AnnotationUtil.getStringAttributeValue(externalContractAnnotation, null) + ")"; + String inferredContractAnnotationString = + inferredContractAnnotation == null ? "null" : "@Contract(" + AnnotationUtil.getStringAttributeValue(inferredContractAnnotation, null) + ")"; + + if (!externalContractAnnotationString.equals(inferredContractAnnotationString)) { + diffs.add(methodKey + ": " + externalContractAnnotationString + " != " + inferredContractAnnotationString); + } + + } + +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisResultsHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisResultsHighlightingTest.java new file mode 100644 index 000000000000..dc67871e6283 --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisResultsHighlightingTest.java @@ -0,0 +1,67 @@ +/* + * 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.codeInspection.bytecodeAnalysis; + +import com.intellij.JavaTestUtil; +import com.intellij.codeInspection.dataFlow.DataFlowInspection; +import com.intellij.openapi.application.ex.PathManagerEx; +import com.intellij.openapi.vfs.LocalFileSystem; +import com.intellij.openapi.vfs.VirtualFile; +import com.intellij.testFramework.LightProjectDescriptor; +import com.intellij.testFramework.PsiTestUtil; +import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase; +import org.jetbrains.annotations.NotNull; + +/** + * @author lambdamix + */ +public class BytecodeAnalysisResultsHighlightingTest extends LightCodeInsightFixtureTestCase { + + @Override + protected void setUp() throws Exception { + super.setUp(); + setUpLibraries(); + } + + @NotNull + @Override + protected LightProjectDescriptor getProjectDescriptor() { + return JAVA_1_7; + } + + @Override + protected String getTestDataPath() { + return JavaTestUtil.getJavaTestDataPath() + "/codeInspection/bytecodeAnalysis/src/"; + } + + private void doTest() { + final DataFlowInspection inspection = new DataFlowInspection(); + inspection.SUGGEST_NULLABLE_ANNOTATIONS = true; + inspection.REPORT_CONSTANT_REFERENCE_VALUES = false; + myFixture.enableInspections(inspection); + myFixture.testHighlighting(true, false, true, getTestName(false) + ".java"); + } + + public void testExample() { + doTest(); + } + + private void setUpLibraries() { + VirtualFile lib = LocalFileSystem.getInstance().refreshAndFindFileByPath(PathManagerEx.getTestDataPath() + "/../../../lib"); + assertNotNull(lib); + PsiTestUtil.addLibrary(myModule, "velocity", lib.getPath(), new String[]{"/velocity.jar!/"}, new String[]{}); + } +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java new file mode 100644 index 000000000000..09fa87fa95e9 --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java @@ -0,0 +1,209 @@ +/* + * 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.codeInspection.bytecodeAnalysis; + +import com.intellij.codeInsight.AnnotationUtil; +import com.intellij.codeInsight.InferredAnnotationsManager; +import com.intellij.codeInspection.bytecodeAnalysis.data.*; +import com.intellij.openapi.util.io.FileUtil; +import com.intellij.openapi.vfs.LocalFileSystem; +import com.intellij.openapi.vfs.VirtualFile; +import com.intellij.psi.*; +import com.intellij.psi.search.GlobalSearchScope; +import com.intellij.testFramework.PsiTestUtil; +import com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase; +import com.intellij.util.ArrayUtil; +import org.jetbrains.annotations.Contract; +import org.jetbrains.org.objectweb.asm.*; +import org.jetbrains.org.objectweb.asm.tree.MethodNode; +import org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException; +import org.junit.Assert; + +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.lang.annotation.Annotation; +import java.lang.reflect.Constructor; +import java.util.HashMap; + +/** + * @author lambdamix + */ +public class BytecodeAnalysisTest extends JavaCodeInsightFixtureTestCase { + public static final String ORG_JETBRAINS_ANNOTATIONS_CONTRACT = Contract.class.getName(); + private final String myClassesProjectRelativePath = "/classes/" + Test01.class.getPackage().getName().replace('.', '/'); + private JavaPsiFacade myJavaPsiFacade; + private InferredAnnotationsManager myInferredAnnotationsManager; + private BytecodeAnalysisConverter myBytecodeAnalysisConverter; + + @Override + protected void setUp() throws Exception { + super.setUp(); + myJavaPsiFacade = JavaPsiFacade.getInstance(myModule.getProject()); + myInferredAnnotationsManager = InferredAnnotationsManager.getInstance(myModule.getProject()); + myBytecodeAnalysisConverter = BytecodeAnalysisConverter.getInstance(); + + setUpDataClasses(); + } + + public void testInference() throws IOException { + checkAnnotations(Test01.class); + checkAnnotations(Test02.class); + checkAnnotations(Test03.class); + } + + public void testConverter() throws IOException { + checkCompoundIds(Test01.class); + checkCompoundIds(TestConverterData.class); + checkCompoundIds(TestConverterData.StaticNestedClass.class); + checkCompoundIds(TestConverterData.InnerClass.class); + checkCompoundIds(TestConverterData.GenericStaticNestedClass.class); + checkCompoundIds(TestAnnotation.class); + } + + public void testLeakingParametersAnalysis() throws IOException { + checkLeakingParameters(LeakingParametersData.class); + } + + private static void checkLeakingParameters(Class<?> jClass) throws IOException { + final HashMap<Method, boolean[]> map = new HashMap<Method, boolean[]>(); + + // collecting leakedParameters + final ClassReader classReader = new ClassReader(new FileInputStream(jClass.getResource("/" + jClass.getName().replace('.', '/') + ".class").getFile())); + classReader.accept(new ClassVisitor(Opcodes.ASM5) { + @Override + public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) { + final MethodNode node = new MethodNode(Opcodes.ASM5, access, name, desc, signature, exceptions); + final Method method = new Method(classReader.getClassName(), name, desc); + return new MethodVisitor(Opcodes.ASM5, node) { + @Override + public void visitEnd() { + super.visitEnd(); + try { + map.put(method, cfg.leakingParameters(classReader.getClassName(), node)); + } + catch (AnalyzerException ignore) {} + } + }; + } + }, ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES); + + for (java.lang.reflect.Method jMethod : jClass.getDeclaredMethods()) { + Method method = new Method(Type.getType(jClass).getInternalName(), jMethod.getName(), Type.getMethodDescriptor(jMethod)); + Annotation[][] annotations = jMethod.getParameterAnnotations(); + for (int i = 0; i < annotations.length; i++) { + boolean isLeaking = false; + Annotation[] parameterAnnotations = annotations[i]; + for (Annotation parameterAnnotation : parameterAnnotations) { + if (parameterAnnotation.annotationType() == ExpectLeaking.class) { + isLeaking = true; + } + } + assertEquals(method.toString() + " #" + i, isLeaking, map.get(method)[i]); + } + } + } + + private void checkAnnotations(Class<?> javaClass) { + PsiClass psiClass = myJavaPsiFacade.findClass(javaClass.getName(), GlobalSearchScope.moduleWithLibrariesScope(myModule)); + assertNotNull(psiClass); + + for (java.lang.reflect.Method javaMethod : javaClass.getDeclaredMethods()) { + PsiMethod psiMethod = psiClass.findMethodsByName(javaMethod.getName(), false)[0]; + Annotation[][] annotations = javaMethod.getParameterAnnotations(); + + // not-null parameters + params: for (int i = 0; i < annotations.length; i++) { + Annotation[] parameterAnnotations = annotations[i]; + PsiParameter psiParameter = psiMethod.getParameterList().getParameters()[i]; + PsiAnnotation inferredAnnotation = myInferredAnnotationsManager.findInferredAnnotation(psiParameter, AnnotationUtil.NOT_NULL); + for (Annotation parameterAnnotation : parameterAnnotations) { + if (parameterAnnotation.annotationType() == ExpectNotNull.class) { + assertNotNull(javaMethod.toString() + " " + i, inferredAnnotation); + continue params; + } + } + assertNull(javaMethod.toString() + " " + i, inferredAnnotation); + } + + // not-null result + ExpectNotNull expectedAnnotation = javaMethod.getAnnotation(ExpectNotNull.class); + PsiAnnotation actualAnnotation = myInferredAnnotationsManager.findInferredAnnotation(psiMethod, AnnotationUtil.NOT_NULL); + assertEquals(javaMethod.toString(), expectedAnnotation == null, actualAnnotation == null); + + + // contracts + ExpectContract expectedContract = javaMethod.getAnnotation(ExpectContract.class); + PsiAnnotation actualContractAnnotation = myInferredAnnotationsManager.findInferredAnnotation(psiMethod, ORG_JETBRAINS_ANNOTATIONS_CONTRACT); + + assertEquals(expectedContract == null, actualContractAnnotation == null); + + if (expectedContract != null) { + String expectedContractValue = expectedContract.value(); + String actualContractValue = AnnotationUtil.getStringAttributeValue(actualContractAnnotation, null); + assertEquals(javaMethod.toString(), expectedContractValue, actualContractValue); + } + + } + } + + private void checkCompoundIds(Class<?> javaClass) throws IOException { + String javaClassName = javaClass.getCanonicalName(); + PsiClass psiClass = myJavaPsiFacade.findClass(javaClassName, GlobalSearchScope.moduleWithLibrariesScope(myModule)); + assertNotNull(psiClass); + + for (java.lang.reflect.Method javaMethod : javaClass.getDeclaredMethods()) { + Method method = new Method(Type.getType(javaClass).getInternalName(), javaMethod.getName(), Type.getMethodDescriptor(javaMethod)); + boolean noKey = javaMethod.getAnnotation(ExpectNoPsiKey.class) != null; + PsiMethod psiMethod = psiClass.findMethodsByName(javaMethod.getName(), false)[0]; + checkCompoundId(method, psiMethod, noKey); + } + + for (Constructor<?> constructor : javaClass.getDeclaredConstructors()) { + Method method = new Method(Type.getType(javaClass).getInternalName(), "<init>", Type.getConstructorDescriptor(constructor)); + boolean noKey = constructor.getAnnotation(ExpectNoPsiKey.class) != null; + PsiMethod[] constructors = psiClass.getConstructors(); + PsiMethod psiMethod = constructors[0]; + checkCompoundId(method, psiMethod, noKey); + } + } + + private void checkCompoundId(Method method, PsiMethod psiMethod, boolean noKey) throws IOException { + Direction direction = new Out(); + int psiKey = myBytecodeAnalysisConverter.mkPsiKey(psiMethod, direction); + if (noKey) { + assertTrue(-1 == psiKey); + return; + } + else { + assertFalse(-1 == psiKey); + } + + int asmKey = myBytecodeAnalysisConverter.mkAsmKey(new Key(method, direction, true)); + + Assert.assertEquals(asmKey, psiKey); + } + + private void setUpDataClasses() throws IOException { + File classesDir = new File(Test01.class.getResource("/" + Test01.class.getPackage().getName().replace('.', '/')).getFile()); + File destDir = new File(myModule.getProject().getBaseDir().getPath() + myClassesProjectRelativePath); + FileUtil.copyDir(classesDir, destDir); + VirtualFile vFile = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(destDir); + assertNotNull(vFile); + PsiTestUtil.addLibrary(myModule, "dataClasses", vFile.getPath(), new String[]{""}, ArrayUtil.EMPTY_STRING_ARRAY); + } + +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectContract.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectContract.java new file mode 100644 index 000000000000..9b78f742eb9c --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectContract.java @@ -0,0 +1,30 @@ +/* + * 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.codeInspection.bytecodeAnalysis; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * @author lambdamix + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface ExpectContract { + String value() default ""; +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectLeaking.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectLeaking.java new file mode 100644 index 000000000000..3c5ded3427ba --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectLeaking.java @@ -0,0 +1,26 @@ +/* + * 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.codeInspection.bytecodeAnalysis; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +/** + * @author lambdamix + */ +@Retention(RetentionPolicy.RUNTIME) +public @interface ExpectLeaking { +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectNoPsiKey.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectNoPsiKey.java new file mode 100644 index 000000000000..dde06c0f153b --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectNoPsiKey.java @@ -0,0 +1,26 @@ +/* + * 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.codeInspection.bytecodeAnalysis; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +/** + * @author lambdamix + */ +@Retention(RetentionPolicy.RUNTIME) +public @interface ExpectNoPsiKey { +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectNotNull.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectNotNull.java new file mode 100644 index 000000000000..39f1c6e7f363 --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/ExpectNotNull.java @@ -0,0 +1,26 @@ +/* + * 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.codeInspection.bytecodeAnalysis; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +/** + * @author lambdamix + */ +@Retention(RetentionPolicy.RUNTIME) +public @interface ExpectNotNull { +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/LeakingParametersData.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/LeakingParametersData.java new file mode 100644 index 000000000000..ff5887ff2dbb --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/LeakingParametersData.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.codeInspection.bytecodeAnalysis.data; + +import com.intellij.codeInspection.bytecodeAnalysis.ExpectLeaking; + +/** + * @author lambdamix + */ +public class LeakingParametersData { + int z; + + void test01(@ExpectLeaking Object o1, @ExpectLeaking Object o2, @ExpectLeaking Object o3) { + o1.toString(); + o2.toString(); + o3.toString(); + } + + void test02(@ExpectLeaking LeakingParametersData d) { + System.out.println(d.z); + } + + void test03(int i, @ExpectLeaking LeakingParametersData d) { + System.out.println(d.z); + } + + void test04(long i, @ExpectLeaking LeakingParametersData d) { + System.out.println(d.z); + } +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test01.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test01.java new file mode 100644 index 000000000000..1b90bb640b39 --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test01.java @@ -0,0 +1,78 @@ +/* + * 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.codeInspection.bytecodeAnalysis.data; + +import com.intellij.codeInspection.bytecodeAnalysis.ExpectContract; +import com.intellij.codeInspection.bytecodeAnalysis.ExpectNotNull; + +/** + * @author lambdamix + */ +public class Test01 { + static void f(@ExpectNotNull Object o1, @ExpectNotNull Object o2) { + if (o1 == null) throw new NullPointerException(); + else s(o2, o2); + } + + static void g(@ExpectNotNull Object o, boolean b) { + if (b) f(o, o); + else s(o, o); + } + + static void s(@ExpectNotNull Object o1, Object o2) { + t(o1); + v(o2); + } + + static void t(@ExpectNotNull Object o) { + o.toString(); + } + + static void v(Object o) { + + } + + @ExpectContract("null->null") + static String toString1(Object o) { + return o == null ? null : o.toString(); + } + + @ExpectContract("null->!null") + static String toString2(Object o) { + return o == null ? "null" : o.toString(); + } + + @ExpectNotNull + static String constantString() { + return "s"; + } + + @ExpectContract("!null->!null;null->null") + static String idString(String s) { + return s; + } + + @ExpectNotNull + public Test01 getThis() { + return this; + } + + @ExpectNotNull + protected Test01 createRoot() { + return new Test01(); + } + +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test02.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test02.java new file mode 100644 index 000000000000..f794ff23009b --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test02.java @@ -0,0 +1,33 @@ +/* + * 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.codeInspection.bytecodeAnalysis.data; + +import com.intellij.codeInspection.bytecodeAnalysis.ExpectNotNull; + +/** + * @author lambdamix + */ +public final class Test02 { + @ExpectNotNull + public String notNullString() { + return ""; + } + + @ExpectNotNull + public String notNullStringDelegate() { + return notNullString(); + } +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test03.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test03.java new file mode 100644 index 000000000000..97903933190e --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/Test03.java @@ -0,0 +1,34 @@ +/* + * 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.codeInspection.bytecodeAnalysis.data; + +import com.intellij.codeInspection.bytecodeAnalysis.ExpectNotNull; + +/** + * @author lambdamix + */ +public class Test03 { + + public String toString1() { + return toString(); + } + + @Override + @ExpectNotNull + public String toString() { + return ""; + } +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/TestAnnotation.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/TestAnnotation.java new file mode 100644 index 000000000000..cfe55ff5cd28 --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/TestAnnotation.java @@ -0,0 +1,26 @@ +/* + * 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.codeInspection.bytecodeAnalysis.data; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +/** + * @author lambdamix + */ +@Retention(RetentionPolicy.RUNTIME) +public @interface TestAnnotation { +} diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/TestConverterData.java b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/TestConverterData.java new file mode 100644 index 000000000000..254db418e55c --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/codeInspection/bytecodeAnalysis/data/TestConverterData.java @@ -0,0 +1,81 @@ +/* + * 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.codeInspection.bytecodeAnalysis.data; + +import com.intellij.codeInspection.bytecodeAnalysis.BytecodeAnalysisConverter; +import com.intellij.codeInspection.bytecodeAnalysis.ExpectNoPsiKey; + +/** + * @author lambdamix + */ +public class TestConverterData { + + public static class StaticNestedClass { + public StaticNestedClass(Object o) { + + } + public StaticNestedClass[] test01(StaticNestedClass[] ns, StaticNestedClass... ellipsis) { + return ns; + } + } + + public class InnerClass { + // a reference to outer class should be inserted when translating PSI -> ASM + public InnerClass(Object o) {} + + public InnerClass[] Inner2test01(InnerClass[] tests, InnerClass... ellipsis) { + return tests; + } + } + + public static class GenericStaticNestedClass<A> { + public GenericStaticNestedClass(A a) { + + } + public GenericStaticNestedClass[] test01(GenericStaticNestedClass[] ns, GenericStaticNestedClass... ellipsis) { + return ns; + } + + public GenericStaticNestedClass<A>[] test02(GenericStaticNestedClass<A>[] ns, GenericStaticNestedClass<A>... ellipsis) { + return ns; + } + + public class GenericInnerClass<B> { + public GenericInnerClass(B b) {} + + public <C> GenericStaticNestedClass<A> test01(GenericInnerClass<C> c) { + return GenericStaticNestedClass.this; + } + } + } + + public TestConverterData(int x) {} + + // BytecodeAnalysisConverter class is not in the project path, so translation from PSI is impossible + @ExpectNoPsiKey + public BytecodeAnalysisConverter test01(BytecodeAnalysisConverter converter) { + return converter; + } + + @TestAnnotation + public TestConverterData[] test02(@TestAnnotation TestConverterData[] tests) throws Exception { + return tests; + } + + public boolean[] test03(boolean[] b) { + return b; + } +} diff --git a/java/java-tests/testSrc/com/intellij/compiler/notNullVerification/NotNullVerifyingInstrumenterTest.java b/java/java-tests/testSrc/com/intellij/compiler/notNullVerification/NotNullVerifyingInstrumenterTest.java index 498a1172fa9a..e9d1da3aaf18 100644 --- a/java/java-tests/testSrc/com/intellij/compiler/notNullVerification/NotNullVerifyingInstrumenterTest.java +++ b/java/java-tests/testSrc/com/intellij/compiler/notNullVerification/NotNullVerifyingInstrumenterTest.java @@ -67,48 +67,48 @@ public class NotNullVerifyingInstrumenterTest extends UsefulTestCase { } public void testSimpleReturn() throws Exception { - Class testClass = prepareTest(); + Class<?> testClass = prepareTest(); Object instance = testClass.newInstance(); Method method = testClass.getMethod("test"); verifyCallThrowsException("@NotNull method SimpleReturn.test must not return null", instance, method); } public void testSimpleReturnWithMessage() throws Exception { - Class testClass = prepareTest(); + Class<?> testClass = prepareTest(); Object instance = testClass.newInstance(); Method method = testClass.getMethod("test"); verifyCallThrowsException("This method cannot return null", instance, method); } public void testMultipleReturns() throws Exception { - Class testClass = prepareTest(); + Class<?> testClass = prepareTest(); Object instance = testClass.newInstance(); Method method = testClass.getMethod("test", int.class); verifyCallThrowsException("@NotNull method MultipleReturns.test must not return null", instance, method, 1); } public void testSimpleParam() throws Exception { - Class testClass = prepareTest(); + Class<?> testClass = prepareTest(); Object instance = testClass.newInstance(); Method method = testClass.getMethod("test", Object.class); verifyCallThrowsException("Argument 0 for @NotNull parameter of SimpleParam.test must not be null", instance, method, (Object)null); } public void testSimpleParamWithMessage() throws Exception { - Class testClass = prepareTest(); + Class<?> testClass = prepareTest(); Object instance = testClass.newInstance(); Method method = testClass.getMethod("test", Object.class); verifyCallThrowsException("SimpleParamWithMessage.test(o) cant be null", instance, method, (Object)null); } public void testConstructorParam() throws Exception { - Class testClass = prepareTest(); + Class<?> testClass = prepareTest(); Constructor method = testClass.getConstructor(Object.class); verifyCallThrowsException("Argument 0 for @NotNull parameter of ConstructorParam.<init> must not be null", null, method, (Object)null); } public void testConstructorParamWithMessage() throws Exception { - Class testClass = prepareTest(); + Class<?> testClass = prepareTest(); Constructor method = testClass.getConstructor(Object.class); verifyCallThrowsException("ConstructorParam.ConstructorParam.o cant be null", null, method, (Object)null); } @@ -132,6 +132,19 @@ public class NotNullVerifyingInstrumenterTest extends UsefulTestCase { assertNotNull(field); } + public void testCustomExceptionType() throws Exception { + Class<?> testClass = prepareTest(); + try { + testClass.getMethod("foo", Object.class, Object.class).invoke(testClass.newInstance(), null, null); + fail(); + } + catch (InvocationTargetException e) { + //noinspection ThrowableResultOfMethodCallIgnored + assertInstanceOf(e.getCause(), NullPointerException.class); + assertEquals("Argument 1 for @NotNull parameter of CustomExceptionType.foo must not be null", e.getCause().getMessage()); + } + } + public void testEnumConstructorSecondParam() throws Exception { Class testClass = prepareTest(); Object field = testClass.getField("Value"); diff --git a/java/java-tests/testSrc/com/intellij/find/FindInEditorMultiCaretTest.java b/java/java-tests/testSrc/com/intellij/find/FindInEditorMultiCaretTest.java new file mode 100644 index 000000000000..02f8c589c43b --- /dev/null +++ b/java/java-tests/testSrc/com/intellij/find/FindInEditorMultiCaretTest.java @@ -0,0 +1,222 @@ +/* + * 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.find; + +import com.intellij.find.editorHeaderActions.*; +import com.intellij.openapi.actionSystem.ActionPlaces; +import com.intellij.openapi.actionSystem.AnActionEvent; +import com.intellij.openapi.actionSystem.IdeActions; +import com.intellij.openapi.util.Getter; +import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase; + +import javax.swing.text.JTextComponent; +import java.io.IOException; + +public class FindInEditorMultiCaretTest extends LightPlatformCodeInsightFixtureTestCase { + public void testBasic() throws IOException { + init("abc\n" + + "abc\n" + + "abc"); + initFind(); + setTextToFind("b"); + checkResultByText("a<selection>b<caret></selection>c\n" + + "abc\n" + + "abc"); + addOccurrence(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c\n" + + "abc"); + nextOccurrence(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "abc\n" + + "a<selection>b<caret></selection>c"); + prevOccurrence(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c\n" + + "abc"); + removeOccurrence(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "abc\n" + + "abc"); + allOccurrences(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c"); + assertNull(getEditorSearchComponent()); + } + + public void testActionsWorkFromEditor() throws IOException { + init("abc\n" + + "abc\n" + + "abc"); + initFind(); + setTextToFind("b"); + checkResultByText("a<selection>b<caret></selection>c\n" + + "abc\n" + + "abc"); + addOccurrenceFromEditor(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c\n" + + "abc"); + nextOccurrenceFromEditor(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "abc\n" + + "a<selection>b<caret></selection>c"); + prevOccurrenceFromEditor(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c\n" + + "abc"); + removeOccurrenceFromEditor(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "abc\n" + + "abc"); + allOccurrencesFromEditor(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c"); + assertNull(getEditorSearchComponent()); + } + + public void testCloseRetainsMulticaretSelection() throws IOException { + init("abc\n" + + "abc\n" + + "abc"); + initFind(); + setTextToFind("b"); + addOccurrence(); + closeFind(); + checkResultByText("a<selection>b<caret></selection>c\n" + + "a<selection>b<caret></selection>c\n" + + "abc"); + } + + public void testTextModificationRemovesOldSelections() throws IOException { + init("abc\n" + + "abc\n" + + "abc"); + initFind(); + setTextToFind("b"); + addOccurrence(); + setTextToFind("bc"); + + assertEquals(1, myFixture.getEditor().getCaretModel().getCaretCount()); + assertEquals("bc", myFixture.getEditor().getSelectionModel().getSelectedText()); + } + + public void testSecondFindNavigatesToTheSameOccurrence() throws IOException { + init("ab<caret>c\n" + + "abc\n" + + "abc"); + initFind(); + setTextToFind("abc"); + checkResultByText("abc\n" + + "<selection>abc<caret></selection>\n" + + "abc"); + closeFind(); + initFind(); + setTextToFind("abc"); + checkResultByText("abc\n" + + "<selection>abc<caret></selection>\n" + + "abc"); + } + + private void setTextToFind(String text) { + EditorSearchComponent editorSearchComponent = getEditorSearchComponent(); + assertNotNull(editorSearchComponent); + JTextComponent searchField = editorSearchComponent.getSearchField(); + assertNotNull(searchField); + for (int i = 0; i <= text.length(); i++) { + searchField.setText(text.substring(0, i)); // emulate typing chars one by one + } + } + + private void nextOccurrence() { + final EditorSearchComponent editorSearchComponent = getEditorSearchComponent(); + executeAction(new NextOccurrenceAction(editorSearchComponent, new Getter<JTextComponent>() { + @Override + public JTextComponent get() { + return editorSearchComponent.getSearchField(); + } + })); + } + + private void prevOccurrence() { + final EditorSearchComponent editorSearchComponent = getEditorSearchComponent(); + executeAction(new PrevOccurrenceAction(editorSearchComponent, new Getter<JTextComponent>() { + @Override + public JTextComponent get() { + return editorSearchComponent.getSearchField(); + } + })); + } + + private void addOccurrence() { + executeAction(new AddOccurrenceAction(getEditorSearchComponent())); + } + + private void removeOccurrence() { + executeAction(new RemoveOccurrenceAction(getEditorSearchComponent())); + } + + private void allOccurrences() { + executeAction(new SelectAllAction(getEditorSearchComponent())); + } + + private void nextOccurrenceFromEditor() { + myFixture.performEditorAction(IdeActions.ACTION_FIND_NEXT); + } + + private void prevOccurrenceFromEditor() { + myFixture.performEditorAction(IdeActions.ACTION_FIND_PREVIOUS); + } + + private void addOccurrenceFromEditor() { + myFixture.performEditorAction(IdeActions.ACTION_SELECT_NEXT_OCCURENCE); + } + + private void removeOccurrenceFromEditor() { + myFixture.performEditorAction(IdeActions.ACTION_UNSELECT_PREVIOUS_OCCURENCE); + } + + private void allOccurrencesFromEditor() { + myFixture.performEditorAction(IdeActions.ACTION_SELECT_ALL_OCCURRENCES); + } + + private void closeFind() { + EditorSearchComponent editorSearchComponent = getEditorSearchComponent(); + executeAction(new CloseOnESCAction(editorSearchComponent, editorSearchComponent.getSearchField())); + } + + private static void executeAction(EditorHeaderAction action) { + action.actionPerformed(AnActionEvent.createFromInputEvent(action, null, ActionPlaces.EDITOR_TOOLBAR)); + } + + private void initFind() { + myFixture.performEditorAction("Find"); + } + + private EditorSearchComponent getEditorSearchComponent() { + return (EditorSearchComponent)myFixture.getEditor().getHeaderComponent(); + } + + private void init(String text) { + myFixture.configureByText(getTestName(false) + ".txt", text); + } + + private void checkResultByText(String text) { + myFixture.checkResult(text); + } +} diff --git a/java/java-tests/testSrc/com/intellij/find/FindInEditorTest.java b/java/java-tests/testSrc/com/intellij/find/FindInEditorTest.java index cfe9cdde2273..043c755f8ca9 100644 --- a/java/java-tests/testSrc/com/intellij/find/FindInEditorTest.java +++ b/java/java-tests/testSrc/com/intellij/find/FindInEditorTest.java @@ -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. @@ -15,10 +15,14 @@ */ package com.intellij.find; +import com.intellij.codeInsight.hint.EditorHintListener; import com.intellij.find.impl.livePreview.LivePreview; import com.intellij.find.impl.livePreview.LivePreviewController; import com.intellij.find.impl.livePreview.SearchResults; +import com.intellij.openapi.application.ApplicationManager; +import com.intellij.openapi.project.Project; import com.intellij.testFramework.LightCodeInsightTestCase; +import com.intellij.ui.LightweightHint; import java.io.ByteArrayOutputStream; import java.io.PrintStream; @@ -39,6 +43,13 @@ public class FindInEditorTest extends LightCodeInsightTestCase { myOutputStream = new ByteArrayOutputStream(); LivePreview.ourTestOutput = new PrintStream(myOutputStream); + EditorHintListener listener = new EditorHintListener() { + @Override + public void hintShown(Project project, LightweightHint hint, int flags) { + LivePreview.processNotFound(); + } + }; + ApplicationManager.getApplication().getMessageBus().connect(myTestRootDisposable).subscribe(EditorHintListener.TOPIC, listener); } private void initFind() { diff --git a/java/java-tests/testSrc/com/intellij/openapi/roots/impl/DirectoryIndexTest.java b/java/java-tests/testSrc/com/intellij/openapi/roots/impl/DirectoryIndexTest.java index 23895d64a39e..1e3e08a33ae7 100644 --- a/java/java-tests/testSrc/com/intellij/openapi/roots/impl/DirectoryIndexTest.java +++ b/java/java-tests/testSrc/com/intellij/openapi/roots/impl/DirectoryIndexTest.java @@ -188,7 +188,7 @@ public class DirectoryIndexTest extends IdeaTestCase { } public void testDirInfos() throws IOException { - checkInfoNull(myRootVFile); + assertNotInProject(myRootVFile); // beware: files in directory index checkInfo(myFileLibSrc, null, false, true, "", null, myModule); @@ -206,21 +206,21 @@ public class DirectoryIndexTest extends IdeaTestCase { checkInfo(myLibSrcDir, myModule, false, true, "", null, myModule2, myModule3); checkInfo(myLibClsDir, myModule, true, false, "", null, myModule2, myModule3); - assertEquals(myLibSrcDir, checkInfoNotNull(myLibSrcDir).getSourceRoot()); + assertEquals(myLibSrcDir, assertInProject(myLibSrcDir).getSourceRoot()); checkInfo(myModule2Dir, myModule2, false, false, null, null); checkInfo(mySrcDir2, myModule2, false, false, "", JavaSourceRootType.SOURCE, myModule2, myModule3); - checkInfoNull(myCvsDir); - checkInfoNull(myExcludeDir); - checkInfoNull(myExcludedLibClsDir); - checkInfoNull(myExcludedLibSrcDir); + assertNotInProject(myCvsDir); + assertExcluded(myExcludeDir, myModule2); + assertExcluded(myExcludedLibClsDir, myModule); + assertExcluded(myExcludedLibSrcDir, myModule); - assertEquals(myModule1Dir, checkInfoNotNull(myLibClsDir).getContentRoot()); + assertEquals(myModule1Dir, assertInProject(myLibClsDir).getContentRoot()); checkInfo(myModule3Dir, myModule3, false, false, null, null); VirtualFile cvs = myPack1Dir.createChildDirectory(this, "CVS"); - checkInfoNull(cvs); + assertNotInProject(cvs); assertNull(ProjectRootManager.getInstance(myProject).getFileIndex().getPackageNameByDirectory(cvs)); } @@ -332,7 +332,7 @@ public class DirectoryIndexTest extends IdeaTestCase { VirtualFile newDir = myModule1Dir.createChildDirectory(this, "newDir"); myIndex.checkConsistency(); - checkInfoNotNull(newDir); + assertInProject(newDir); final FileTypeManagerEx fileTypeManager = (FileTypeManagerEx)FileTypeManager.getInstance(); final String list = fileTypeManager.getIgnoredFilesList(); @@ -345,7 +345,7 @@ public class DirectoryIndexTest extends IdeaTestCase { } }); myIndex.checkConsistency(); - checkInfoNull(newDir); + assertNotInProject(newDir); } finally { ApplicationManager.getApplication().runWriteAction(new Runnable() { @@ -354,10 +354,17 @@ public class DirectoryIndexTest extends IdeaTestCase { fileTypeManager.setIgnoredFilesList(list); } }); - checkInfoNotNull(newDir); + assertInProject(newDir); } } + public void testIgnoredFile() throws IOException { + VirtualFile ignoredFile = myModule1Dir.createChildData(this, "CVS"); + DirectoryInfo info = myIndex.getInfoForFile(ignoredFile); + assertTrue(info.isIgnored()); + assertTrue(ProjectRootManager.getInstance(myProject).getFileIndex().isExcluded(ignoredFile)); + } + public void testAddModule() throws Exception { myIndex.checkConsistency(); @@ -379,16 +386,18 @@ public class DirectoryIndexTest extends IdeaTestCase { public void testModuleUnderIgnoredDir() throws IOException { final VirtualFile ignored = myRootVFile.createChildDirectory(this, "RCS"); assertTrue(FileTypeManager.getInstance().isFileIgnored(ignored)); + assertTrue(ProjectRootManager.getInstance(myProject).getFileIndex().isExcluded(ignored)); final VirtualFile module4 = ignored.createChildDirectory(this, "module4"); assertFalse(FileTypeManager.getInstance().isFileIgnored(module4)); - + assertTrue(ProjectRootManager.getInstance(myProject).getFileIndex().isExcluded(module4)); + new WriteCommandAction.Simple(getProject()) { @Override protected void run() throws Throwable { ModuleManager moduleManager = ModuleManager.getInstance(myProject); Module module = moduleManager.newModule(myRootVFile.getPath() + "/newModule.iml", StdModuleTypes.JAVA.getId()); PsiTestUtil.addContentRoot(module, module4); - checkInfoNull(ignored); + assertNotInProject(ignored); checkInfo(module4, module, false, false, null, null); } }.execute().throwException(); @@ -418,9 +427,9 @@ public class DirectoryIndexTest extends IdeaTestCase { public void testExcludedDirsInLibraries() { ProjectFileIndex index = ProjectRootManager.getInstance(myProject).getFileIndex(); assertFalse(index.isInLibraryClasses(myExcludedLibClsDir)); - assertTrue(index.isIgnored(myExcludedLibClsDir)); + assertTrue(index.isExcluded(myExcludedLibClsDir)); assertFalse(index.isInLibrarySource(myExcludedLibSrcDir)); - assertTrue(index.isIgnored(myExcludedLibSrcDir)); + assertTrue(index.isExcluded(myExcludedLibSrcDir)); } public void testExplicitExcludeOfInner() throws Exception { @@ -436,20 +445,20 @@ public class DirectoryIndexTest extends IdeaTestCase { VirtualFile output1 = myModule1Dir.createChildDirectory(this, "output1"); VirtualFile output2 = myModule1Dir.createChildDirectory(this, "output2"); - checkInfoNotNull(output1); - checkInfoNotNull(output2); + assertInProject(output1); + assertInProject(output2); getCompilerProjectExtension().setCompilerOutputUrl(output1.getUrl()); fireRootsChanged(); - checkInfoNull(output1); - checkInfoNotNull(output2); + assertExcluded(output1, myModule); + assertInProject(output2); getCompilerProjectExtension().setCompilerOutputUrl(output2.getUrl()); fireRootsChanged(); - checkInfoNotNull(output1); - checkInfoNull(output2); + assertInProject(output1); + assertExcluded(output2, myModule); } private void fireRootsChanged() { @@ -460,12 +469,12 @@ public class DirectoryIndexTest extends IdeaTestCase { ModuleRootModificationUtil.addModuleLibrary(myModule, "someLib", Collections.<String>emptyList(), Arrays.asList(mySrcDir1.getUrl())); checkInfo(mySrcDir1, myModule, false, true, "", JavaSourceRootType.SOURCE, myModule, myModule); - OrderEntry[] entries = myIndex.getInfoForDirectory(mySrcDir1).getOrderEntries(); + OrderEntry[] entries = myIndex.getInfoForFile(mySrcDir1).getOrderEntries(); assertInstanceOf(entries[0], LibraryOrderEntry.class); assertInstanceOf(entries[1], ModuleSourceOrderEntry.class); checkInfo(myTestSrc1, myModule, false, true, "testSrc", JavaSourceRootType.TEST_SOURCE, myModule, myModule); - entries = myIndex.getInfoForDirectory(myTestSrc1).getOrderEntries(); + entries = myIndex.getInfoForFile(myTestSrc1).getOrderEntries(); assertInstanceOf(entries[0], LibraryOrderEntry.class); assertInstanceOf(entries[1], ModuleSourceOrderEntry.class); } @@ -473,7 +482,7 @@ public class DirectoryIndexTest extends IdeaTestCase { public void testModuleSourceAsLibraryClasses() throws Exception { ModuleRootModificationUtil.addModuleLibrary(myModule, "someLib", Arrays.asList(mySrcDir1.getUrl()), Collections.<String>emptyList()); checkInfo(mySrcDir1, myModule, true, false, "", JavaSourceRootType.SOURCE, myModule); - assertInstanceOf(assertOneElement(checkInfoNotNull(mySrcDir1).getOrderEntries()), ModuleSourceOrderEntry.class); + assertInstanceOf(assertOneElement(assertInProject(mySrcDir1).getOrderEntries()), ModuleSourceOrderEntry.class); } public void testModulesWithSameSourceContentRoot() { @@ -487,7 +496,7 @@ public class DirectoryIndexTest extends IdeaTestCase { checkInfo(myResDir, myModule, false, false, "", JavaResourceRootType.RESOURCE, myModule); checkInfo(mySrcDir2, myModule2, false, false, "", JavaSourceRootType.SOURCE, myModule2, myModule3); - assertEquals(myModule2Dir, myIndex.getInfoForDirectory(mySrcDir2).getContentRoot()); + assertEquals(myModule2Dir, myIndex.getInfoForFile(mySrcDir2).getContentRoot()); } public void testModuleWithSameSourceRoot() { @@ -503,7 +512,7 @@ public class DirectoryIndexTest extends IdeaTestCase { public void testSameSourceAndOutput() { PsiTestUtil.setCompilerOutputPath(myModule, mySrcDir1.getUrl(), false); - checkInfoNull(mySrcDir1); + assertExcluded(mySrcDir1, myModule); } public void testExcludedDirShouldBeExcludedRightAfterItsCreation() throws Exception { @@ -512,10 +521,10 @@ public class DirectoryIndexTest extends IdeaTestCase { VirtualFile module2Output = myModule1Dir.createChildDirectory(this, "module2Output"); VirtualFile module2TestOutput = myModule2Dir.createChildDirectory(this, "module2TestOutput"); - checkInfoNotNull(excluded); - checkInfoNotNull(projectOutput); - checkInfoNotNull(module2Output); - checkInfoNotNull(module2TestOutput); + assertInProject(excluded); + assertInProject(projectOutput); + assertInProject(module2Output); + assertInProject(module2TestOutput); getCompilerProjectExtension().setCompilerOutputUrl(projectOutput.getUrl()); @@ -524,15 +533,10 @@ public class DirectoryIndexTest extends IdeaTestCase { PsiTestUtil.setCompilerOutputPath(myModule2, module2TestOutput.getUrl(), true); PsiTestUtil.setExcludeCompileOutput(myModule2, true); - checkInfoNull(excluded); - checkInfoNull(projectOutput); - checkInfoNull(module2Output); - checkInfoNull(module2TestOutput); - - assertFalse(myIndex.isProjectExcludeRoot(excluded)); - assertFalse(myIndex.isProjectExcludeRoot(projectOutput)); - assertFalse(myIndex.isProjectExcludeRoot(module2Output)); - assertFalse(myIndex.isProjectExcludeRoot(module2TestOutput)); + assertExcluded(excluded, myModule); + assertExcluded(projectOutput, myModule); + assertExcluded(module2Output, myModule); + assertExcluded(module2TestOutput, myModule2); excluded.delete(this); projectOutput.delete(this); @@ -544,46 +548,26 @@ public class DirectoryIndexTest extends IdeaTestCase { @Override public void fileCreated(@NotNull VirtualFileEvent e) { VirtualFile file = e.getFile(); - checkInfoNull(file); - created.add(file); - String fileName = e.getFileName(); - if (fileName.equals("projectOutput")) { - assertFalse(myIndex.isProjectExcludeRoot(file)); - } - if (fileName.equals("module2Output")) { - assertFalse(myIndex.isProjectExcludeRoot(file)); - } - if (fileName.equals("module2TestOutput")) { - assertFalse(myIndex.isProjectExcludeRoot(file)); - } + assertExcluded(file, fileName.contains("module2TestOutput") ? myModule2 : myModule); + created.add(file); } }; VirtualFileManager.getInstance().addVirtualFileListener(l, getTestRootDisposable()); excluded = myModule1Dir.createChildDirectory(this, excluded.getName()); - assertFalse(myIndex.isProjectExcludeRoot(excluded)); - + assertExcluded(excluded, myModule); + projectOutput = myModule1Dir.createChildDirectory(this, projectOutput.getName()); - assertFalse(myIndex.isProjectExcludeRoot(projectOutput)); - + assertExcluded(projectOutput, myModule); + module2Output = myModule1Dir.createChildDirectory(this, module2Output.getName()); - assertFalse(myIndex.isProjectExcludeRoot(module2Output)); - - module2TestOutput = myModule2Dir.createChildDirectory(this, module2TestOutput.getName()); - assertFalse(myIndex.isProjectExcludeRoot(module2TestOutput)); + assertExcluded(module2Output, myModule); - checkInfoNull(excluded); - checkInfoNull(projectOutput); - checkInfoNull(module2Output); - checkInfoNull(module2TestOutput); + module2TestOutput = myModule2Dir.createChildDirectory(this, module2TestOutput.getName()); + assertExcluded(module2TestOutput, myModule2); assertEquals(created.toString(), 4, created.size()); - - assertFalse(myIndex.isProjectExcludeRoot(excluded)); - assertFalse(myIndex.isProjectExcludeRoot(projectOutput)); - assertFalse(myIndex.isProjectExcludeRoot(module2Output)); - assertFalse(myIndex.isProjectExcludeRoot(module2TestOutput)); } public void testExcludesShouldBeRecognizedRightOnRefresh() throws Exception { @@ -607,9 +591,9 @@ public class DirectoryIndexTest extends IdeaTestCase { assertEquals("dir", e.getFileName()); VirtualFile file = e.getFile(); - checkInfoNotNull(file); - checkInfoNull(file.findFileByRelativePath("excluded")); - checkInfoNull(file.findFileByRelativePath("excluded/foo")); + assertInProject(file); + assertExcluded(file.findFileByRelativePath("excluded"), myModule); + assertExcluded(file.findFileByRelativePath("excluded/foo"), myModule); } }; @@ -638,8 +622,8 @@ public class DirectoryIndexTest extends IdeaTestCase { }); - checkInfoNull(LocalFileSystem.getInstance().findFileByIoFile(f.getParentFile().getParentFile())); - checkInfoNotNull(LocalFileSystem.getInstance().findFileByIoFile(f)); + assertExcluded(LocalFileSystem.getInstance().findFileByIoFile(f.getParentFile().getParentFile()), myModule); + assertInProject(LocalFileSystem.getInstance().findFileByIoFile(f)); } public void testLibraryDirInContent() throws Exception { @@ -661,7 +645,7 @@ public class DirectoryIndexTest extends IdeaTestCase { checkInfo(myLibSrcDir, myModule, true, true, "", null, myModule, myModule3); checkInfo(myResDir, myModule, true, false, "", JavaResourceRootType.RESOURCE, myModule); - assertInstanceOf(assertOneElement(checkInfoNotNull(myResDir).getOrderEntries()), ModuleSourceOrderEntry.class); + assertInstanceOf(assertOneElement(assertInProject(myResDir).getOrderEntries()), ModuleSourceOrderEntry.class); checkInfo(myExcludedLibSrcDir, null, true, false, "lib.src.exc", null, myModule3, myModule); checkInfo(myExcludedLibClsDir, null, true, false, "lib.cls.exc", null, myModule3); @@ -678,11 +662,11 @@ public class DirectoryIndexTest extends IdeaTestCase { public void testExcludeCompilerOutputOutsideOfContentRoot() throws Exception { final ProjectFileIndex fileIndex = ProjectRootManager.getInstance(myProject).getFileIndex(); - assertTrue(fileIndex.isIgnored(myOutputDir)); - assertTrue(fileIndex.isIgnored(myModule1OutputDir)); - assertFalse(fileIndex.isIgnored(myOutputDir.getParent())); - assertTrue(myIndex.isProjectExcludeRoot(myOutputDir)); - assertFalse(myIndex.isProjectExcludeRoot(myModule1OutputDir)); + assertTrue(fileIndex.isExcluded(myOutputDir)); + assertTrue(fileIndex.isExcluded(myModule1OutputDir)); + assertFalse(fileIndex.isExcluded(myOutputDir.getParent())); + assertExcludedFromProject(myOutputDir); + assertExcludedFromProject(myModule1OutputDir); String moduleOutputUrl = myModule1OutputDir.getUrl(); myOutputDir.delete(this); @@ -691,9 +675,9 @@ public class DirectoryIndexTest extends IdeaTestCase { myOutputDir = myRootVFile.createChildDirectory(this, "out"); myModule1OutputDir = myOutputDir.createChildDirectory(this, "module1"); - assertTrue(myIndex.isProjectExcludeRoot(myOutputDir)); - assertTrue(myIndex.isProjectExcludeRoot(myModule1OutputDir)); - assertTrue(fileIndex.isIgnored(myModule1OutputDir)); + assertExcludedFromProject(myOutputDir); + assertExcludedFromProject(myModule1OutputDir); + assertTrue(fileIndex.isExcluded(myModule1OutputDir)); PsiTestUtil.setCompilerOutputPath(myModule, moduleOutputUrl, true); PsiTestUtil.setCompilerOutputPath(myModule2, moduleOutputUrl, false); @@ -702,20 +686,20 @@ public class DirectoryIndexTest extends IdeaTestCase { PsiTestUtil.setCompilerOutputPath(myModule3, moduleOutputUrl, true); // now no module inherits project output dir, but it still should be project-excluded - assertTrue(myIndex.isProjectExcludeRoot(myOutputDir)); + assertExcludedFromProject(myOutputDir); // project output inside module content shouldn't be projectExcludeRoot VirtualFile projectOutputUnderContent = myModule1Dir.createChildDirectory(this, "projectOutputUnderContent"); getCompilerProjectExtension().setCompilerOutputUrl(projectOutputUnderContent.getUrl()); fireRootsChanged(); - assertFalse(myIndex.isProjectExcludeRoot(myOutputDir)); - assertFalse(myIndex.isProjectExcludeRoot(projectOutputUnderContent)); - + assertNotExcluded(myOutputDir); + assertExcluded(projectOutputUnderContent, myModule); + projectOutputUnderContent.delete(this); projectOutputUnderContent = myModule1Dir.createChildDirectory(this, "projectOutputUnderContent"); - assertFalse(myIndex.isProjectExcludeRoot(myOutputDir)); - assertFalse(myIndex.isProjectExcludeRoot(projectOutputUnderContent)); + assertNotExcluded(myOutputDir); + assertExcluded(projectOutputUnderContent, myModule); } public void testFileContentAndSourceRoots() throws IOException { @@ -725,7 +709,7 @@ public class DirectoryIndexTest extends IdeaTestCase { VirtualFile fileSourceRoot = myRootVFile.createChildData(this, "fileSourceRoot.txt"); VirtualFile fileTestSourceRoot = myRootVFile.createChildData(this, "fileTestSourceRoot.txt"); - checkInfoNull(fileRoot); + assertNotInProject(fileRoot); assertFalse(fileIndex.isInContent(fileRoot)); assertIteratedContent(fileIndex, null, Arrays.asList(fileRoot, fileSourceRoot, fileTestSourceRoot)); @@ -758,7 +742,7 @@ public class DirectoryIndexTest extends IdeaTestCase { // removing file content root PsiTestUtil.removeContentEntry(myModule, contentEntry); - checkInfoNull(fileRoot); + assertNotInProject(fileRoot); assertFalse(fileIndex.isInContent(fileRoot)); assertFalse(fileIndex.isInSource(fileRoot)); assertIteratedContent(fileIndex, Arrays.asList(fileSourceRoot, fileTestSourceRoot), Arrays.asList(fileRoot)); @@ -785,7 +769,6 @@ public class DirectoryIndexTest extends IdeaTestCase { VirtualFile fileSourceRoot = myModule1Dir.createChildData(this, "fileSourceRoot.txt"); assertTrue(fileIndex.isInContent(fileSourceRoot)); assertFalse(fileIndex.isInSource(fileSourceRoot)); - checkInfoNull(fileSourceRoot); PsiTestUtil.addSourceRoot(myModule, fileSourceRoot); assertTrue(fileIndex.isInContent(fileSourceRoot)); @@ -796,7 +779,6 @@ public class DirectoryIndexTest extends IdeaTestCase { PsiTestUtil.removeSourceRoot(myModule, fileSourceRoot); assertTrue(fileIndex.isInContent(fileSourceRoot)); assertFalse(fileIndex.isInSource(fileSourceRoot)); - checkInfoNull(fileSourceRoot); } public void testFileModuleExcludeRootUnderDirectoryRoot() throws IOException { @@ -805,20 +787,18 @@ public class DirectoryIndexTest extends IdeaTestCase { VirtualFile fileExcludeRoot = mySrcDir1.createChildData(this, "fileExcludeRoot.txt"); assertTrue(fileIndex.isInContent(fileExcludeRoot)); assertTrue(fileIndex.isInSource(fileExcludeRoot)); - checkInfoNull(fileExcludeRoot); assertIteratedContent(fileIndex, Arrays.asList(fileExcludeRoot), null); PsiTestUtil.addExcludedRoot(myModule, fileExcludeRoot); assertFalse(fileIndex.isInContent(fileExcludeRoot)); assertFalse(fileIndex.isInSource(fileExcludeRoot)); - checkInfoNull(fileExcludeRoot); + assertExcluded(fileExcludeRoot, myModule); assertIteratedContent(fileIndex, null, Arrays.asList(fileExcludeRoot)); // removing file exclude root PsiTestUtil.removeExcludedRoot(myModule, fileExcludeRoot); assertTrue(fileIndex.isInContent(fileExcludeRoot)); assertTrue(fileIndex.isInSource(fileExcludeRoot)); - checkInfoNull(fileExcludeRoot); assertIteratedContent(fileIndex, Arrays.asList(fileExcludeRoot), null); } @@ -833,7 +813,7 @@ public class DirectoryIndexTest extends IdeaTestCase { PsiTestUtil.addExcludedRoot(myModule, fileRoot); assertFalse(fileIndex.isInContent(fileRoot)); - checkInfoNull(fileRoot); + assertExcluded(fileRoot, myModule); assertIteratedContent(fileIndex, null, Arrays.asList(fileRoot)); // removing file exclude root @@ -860,7 +840,7 @@ public class DirectoryIndexTest extends IdeaTestCase { VirtualFile temp = myRootVFile.createChildDirectory(this, "temp"); VirtualFile fileSourceRoot = myRootVFile.createChildData(this, "fileSourceRoot.txt"); - checkInfoNull(fileSourceRoot); + assertNotInProject(fileSourceRoot); PsiTestUtil.addContentRoot(myModule, fileSourceRoot); PsiTestUtil.addSourceRoot(myModule, fileSourceRoot); @@ -870,7 +850,7 @@ public class DirectoryIndexTest extends IdeaTestCase { // delete and recreate fileSourceRoot.delete(this); - checkInfoNull(fileSourceRoot); + assertNotInProject(fileSourceRoot); assertFalse(fileIndex.isInContent(fileSourceRoot)); assertFalse(fileIndex.isInSource(fileSourceRoot)); fileSourceRoot = myRootVFile.createChildData(this, "fileSourceRoot.txt"); @@ -880,11 +860,11 @@ public class DirectoryIndexTest extends IdeaTestCase { // delete and move from another dir fileSourceRoot.delete(this); - checkInfoNull(fileSourceRoot); + assertNotInProject(fileSourceRoot); assertFalse(fileIndex.isInContent(fileSourceRoot)); assertFalse(fileIndex.isInSource(fileSourceRoot)); fileSourceRoot = temp.createChildData(this, "fileSourceRoot.txt"); - checkInfoNull(fileSourceRoot); + assertNotInProject(fileSourceRoot); fileSourceRoot.move(this, myRootVFile); checkInfo(fileSourceRoot, myModule, false, false, "", JavaSourceRootType.SOURCE, myModule); assertTrue(fileIndex.isInContent(fileSourceRoot)); @@ -892,11 +872,11 @@ public class DirectoryIndexTest extends IdeaTestCase { // delete and copy from another dir fileSourceRoot.delete(this); - checkInfoNull(fileSourceRoot); + assertNotInProject(fileSourceRoot); assertFalse(fileIndex.isInContent(fileSourceRoot)); assertFalse(fileIndex.isInSource(fileSourceRoot)); fileSourceRoot = temp.createChildData(this, "fileSourceRoot.txt"); - checkInfoNull(fileSourceRoot); + assertNotInProject(fileSourceRoot); fileSourceRoot = fileSourceRoot.copy(this, myRootVFile, "fileSourceRoot.txt"); checkInfo(fileSourceRoot, myModule, false, false, "", JavaSourceRootType.SOURCE, myModule); assertTrue(fileIndex.isInContent(fileSourceRoot)); @@ -904,25 +884,25 @@ public class DirectoryIndexTest extends IdeaTestCase { // delete and rename from another file fileSourceRoot.delete(this); - checkInfoNull(fileSourceRoot); + assertNotInProject(fileSourceRoot); assertFalse(fileIndex.isInContent(fileSourceRoot)); assertFalse(fileIndex.isInSource(fileSourceRoot)); fileSourceRoot = myRootVFile.createChildData(this, "temp_file.txt"); - checkInfoNull(fileSourceRoot); + assertNotInProject(fileSourceRoot); fileSourceRoot.rename(this, "fileSourceRoot.txt"); checkInfo(fileSourceRoot, myModule, false, false, "", JavaSourceRootType.SOURCE, myModule); assertTrue(fileIndex.isInContent(fileSourceRoot)); assertTrue(fileIndex.isInSource(fileSourceRoot)); } - private void checkInfo(VirtualFile dir, + private void checkInfo(VirtualFile file, @Nullable Module module, boolean isInLibrary, boolean isInLibrarySource, @Nullable String packageName, @Nullable final JpsModuleSourceRootType<?> moduleSourceRootType, Module... modulesOfOrderEntries) { - DirectoryInfo info = checkInfoNotNull(dir); + DirectoryInfo info = assertInProject(file); assertEquals(module, info.getModule()); if (moduleSourceRootType != null) { assertTrue("isInModuleSource", info.isInModuleSource()); @@ -935,8 +915,8 @@ public class DirectoryIndexTest extends IdeaTestCase { assertEquals(isInLibrarySource, info.isInLibrarySource()); final ProjectFileIndex fileIndex = ProjectRootManager.getInstance(myProject).getFileIndex(); - if (dir.isDirectory()) { - assertEquals(packageName, fileIndex.getPackageNameByDirectory(dir)); + if (file.isDirectory()) { + assertEquals(packageName, fileIndex.getPackageNameByDirectory(file)); } assertEquals(Arrays.toString(info.getOrderEntries()), modulesOfOrderEntries.length, info.getOrderEntries().length); @@ -946,16 +926,33 @@ public class DirectoryIndexTest extends IdeaTestCase { } } - private void checkInfoNull(VirtualFile dir) { - assertNull(myIndex.getInfoForDirectory(dir)); + private void assertNotInProject(VirtualFile file) { + DirectoryInfo info = myIndex.getInfoForFile(file); + assertFalse(info.toString(), info.isInProject()); + assertFalse(info.toString(), info.isExcluded()); + } + + private void assertExcluded(VirtualFile file, Module module) { + DirectoryInfo info = myIndex.getInfoForFile(file); + assertTrue(info.toString(), info.isExcluded()); + assertEquals(module, info.getModule()); } - private DirectoryInfo checkInfoNotNull(VirtualFile output2) { - DirectoryInfo info = myIndex.getInfoForDirectory(output2); - assertNotNull(output2.toString(), info); + + private DirectoryInfo assertInProject(VirtualFile file) { + DirectoryInfo info = myIndex.getInfoForFile(file); + assertTrue(file.toString(), info.isInProject()); info.assertConsistency(); return info; } + private void assertNotExcluded(VirtualFile file) { + assertFalse(myIndex.getInfoForFile(file).isExcluded()); + } + + private void assertExcludedFromProject(VirtualFile file) { + assertExcluded(file, null); + } + private void checkPackage(String packageName, boolean includeLibrarySources, VirtualFile... expectedDirs) { VirtualFile[] actualDirs = myIndex.getDirectoriesByPackageName(packageName, includeLibrarySources).toArray(VirtualFile.EMPTY_ARRAY); assertNotNull(actualDirs); diff --git a/java/java-tests/testSrc/com/intellij/psi/CodeFragmentsTest.java b/java/java-tests/testSrc/com/intellij/psi/CodeFragmentsTest.java index 8f6956808dea..dd0611f53175 100644 --- a/java/java-tests/testSrc/com/intellij/psi/CodeFragmentsTest.java +++ b/java/java-tests/testSrc/com/intellij/psi/CodeFragmentsTest.java @@ -1,6 +1,10 @@ package com.intellij.psi; import com.intellij.openapi.editor.Document; +import com.intellij.openapi.roots.ex.ProjectRootManagerEx; +import com.intellij.openapi.util.EmptyRunnable; +import com.intellij.openapi.vfs.VirtualFile; +import com.intellij.testFramework.LightVirtualFile; import com.intellij.testFramework.PlatformTestCase; import com.intellij.testFramework.PlatformTestUtil; import com.intellij.testFramework.PsiTestCase; @@ -30,4 +34,15 @@ public class CodeFragmentsTest extends PsiTestCase{ PlatformTestUtil.tryGcSoftlyReachableObjects(); assertEquals("ab", PsiDocumentManager.getInstance(myProject).getDocument(fragment).getText()); } + + public void testDontRecreateFragmentPsi() { + PsiExpressionCodeFragment fragment = JavaCodeFragmentFactory.getInstance(myProject).createExpressionCodeFragment("a", null, null, true); + VirtualFile file = fragment.getViewProvider().getVirtualFile(); + assertInstanceOf(file, LightVirtualFile.class); + + ProjectRootManagerEx.getInstanceEx(getProject()).makeRootsChange(EmptyRunnable.getInstance(), false, true); + + assertSame(fragment, PsiManager.getInstance(myProject).findFile(file)); + assertTrue(fragment.isValid()); + } } diff --git a/java/java-tests/testSrc/com/intellij/psi/formatter/java/JavaFormatterBlankLinesTest.java b/java/java-tests/testSrc/com/intellij/psi/formatter/java/JavaFormatterBlankLinesTest.java index bf11a587f2c3..fe005a84db3f 100644 --- a/java/java-tests/testSrc/com/intellij/psi/formatter/java/JavaFormatterBlankLinesTest.java +++ b/java/java-tests/testSrc/com/intellij/psi/formatter/java/JavaFormatterBlankLinesTest.java @@ -400,4 +400,36 @@ public class JavaFormatterBlankLinesTest extends AbstractJavaFormatterTest { "}" ); } + + public void testIDEA126836() { + doTextTest( + "public class JavaClass { // comment\n" + + " public void doSomething() {\n" + + " int a = 3;\n" + + " }\n" + + "}", + "public class JavaClass { // comment\n" + + " public void doSomething() {\n" + + " int a = 3;\n" + + " }\n" + + "}" + ); + } + + public void testBlankLinesAfterClassHeaderWithComment() { + getSettings().BLANK_LINES_AFTER_CLASS_HEADER = 5; + doTextTest( + "public class JavaClass { // comment\n" + + " public void doSomething() {\n" + + " int a = 3;\n" + + " }\n" + + "}", + "public class JavaClass { // comment\n" + + "\n\n\n\n\n" + + " public void doSomething() {\n" + + " int a = 3;\n" + + " }\n" + + "}" + ); + } } diff --git a/java/java-tests/testSrc/com/intellij/refactoring/PullUpTest.java b/java/java-tests/testSrc/com/intellij/refactoring/PullUpTest.java index f0d4e771ed1a..665afec47ec9 100644 --- a/java/java-tests/testSrc/com/intellij/refactoring/PullUpTest.java +++ b/java/java-tests/testSrc/com/intellij/refactoring/PullUpTest.java @@ -163,6 +163,9 @@ public class PullUpTest extends LightRefactoringTestCase { public void testPreserveOverride() { doTest(false, new RefactoringTestUtil.MemberDescriptor("foo", PsiMethod.class)); } + public void testAsDefaultMethodOverAbstract() { + doTest(false, "Class <b><code>Test.Printer</code></b> already contains a method <b><code>foo()</code></b>", new RefactoringTestUtil.MemberDescriptor("foo", PsiMethod.class)); + } public void testPublicMethodFromPrivateClassConflict() { doTest(false, new RefactoringTestUtil.MemberDescriptor("HM", PsiClass.class), new RefactoringTestUtil.MemberDescriptor("foo", PsiMethod.class)); diff --git a/java/java-tests/testSrc/com/intellij/refactoring/inline/InlineMethodTest.java b/java/java-tests/testSrc/com/intellij/refactoring/inline/InlineMethodTest.java index 99de5eb68dc4..922d5e04c3bc 100644 --- a/java/java-tests/testSrc/com/intellij/refactoring/inline/InlineMethodTest.java +++ b/java/java-tests/testSrc/com/intellij/refactoring/inline/InlineMethodTest.java @@ -268,6 +268,10 @@ public class InlineMethodTest extends LightRefactoringTestCase { doTest(); } + public void testThisNameConflict() throws Exception { + doTest(); + } + private void doTestInlineThisOnly() { @NonNls String fileName = "/refactoring/inlineMethod/" + getTestName(false) + ".java"; configureByFile(fileName); |