29 Commits

Author SHA1 Message Date
Tagir Valeev
aa6829d7c1 [java-tests] IDEA-333831 Separate mock JDK and JetBrains annotations for testing
Also: avoid manual mocking of Java 10 classes in StreamCollector10Inlining test, use mockJDK11 instead
Also: rewrite SliceTestCase and its inheritors to LightJavaCodeInsightFixtureTestCase, as annotations.jar is not included into project created by DaemonAnalyzerTestCase
Also: 'mutates' attribute of @Contract annotation is resolvable now, as we can use newer jetbrains-annotations library.
Also: documentation tests now don't generate links to JetBrains annotations, which corresponds to the actual behavior in production

GitOrigin-RevId: e460826893c1277cb2b78b18aae9d5aca97d8333
2023-10-05 11:24:29 +00:00
Maxim.Mossienko
d0ebc103c7 index anonymous / local classes in libraries (IDEA-78647) 2017-08-21 21:23:45 +02:00
Maxim.Mossienko
f6c7d533dd mock 1.7 was updated to subset of OpenJDK 1.7 2017-06-13 15:09:42 +02:00
peter
135a5d5c48 IDEA-153564 @Contract annotation for constructors; report non-trivial always failing calls 2016-09-28 16:46:40 +02:00
peter
4d76c50f69 add LinkedHashMap to mockJdk7 2015-10-06 15:27:44 +02:00
Anna Kozlova
ba8e871d8a include InterruptedException into mock1.7 2015-01-21 12:12:17 +01:00
Dmitry Avdeev
6f3577ddf7 Capitalization annotation support 2014-12-05 19:14:38 +03:00
peter
a7ec8b7660 IDEA-126173 Specify exception type thrown by @NotNull annotations 2014-07-18 09:14:07 +02:00
Roman Shevchenko
c0c5b1b312 java: incompatible mock JDK classes updated 2014-06-23 15:23:32 +02:00
Alexey Kudravtsev
32133c0ad1 IDEA-118096 Documentation popup not usable because of Jetbrains annotations 2013-12-20 14:27:58 +04:00
anna
acdf70a83c ~update mockJDK-1.7 used classes to be at least from jdk 1.5
(cherry picked from commit 7e1f100585719ad9c686d24d43a9c9e2a78109f1)
2013-11-28 12:21:36 +01:00
peter
f92ce9af06 add "pure" attribute to @Contract (IDEA-107864) 2013-11-02 20:41:17 +01:00
Alexey Kudravtsev
6bcad287da dataflow to/from containers support 2013-10-22 12:33:55 +04:00
Roman Shevchenko
1b24edcc68 CR-IC-2008 (mock JRE update) 2013-08-22 11:40:57 +04:00
Roman Shevchenko
f9e1d12751 IDEA-96664 (mock JDK updated) 2013-04-01 23:44:36 +02:00
Roman Shevchenko
ba02b61e12 Mock JDK sources updated (ElementType) 2013-03-01 16:56:45 +01:00
Anna Kozlova
f1c1c6ee42 support @FunctionalInterface 2013-01-28 16:21:22 +04:00
Anna Kozlova
55b7c0f4fe testdata for IDEA-85887 2012-05-11 14:10:46 +04:00
anna
817fc5aae4 simlify ? super ? wildcard (IDEA-63765) 2012-04-19 12:41:39 +02:00
Roman Shevchenko
668afd0260 IDEA-81171 (Surround AutoCloseable - initial implementation) 2012-02-12 23:50:22 +01:00
Alexey Kudravtsev
0cdf62f7e2 PackagesTreeStructureTest.testPackageView 2012-01-17 12:37:45 +04:00
Alexey Kudravtsev
3fac1f091f removed aliases from JDK annotations
javadoc
2012-01-16 18:32:15 +04:00
anna
bd6b9ca5b5 update mock jdk 1.7 to contain correct @Deprecated version 2012-01-16 15:20:22 +01:00
Alexey Kudravtsev
a87146dc5b Magic constant inspection 2012-01-12 16:41:32 +04:00
Roman Shevchenko
a66489593b [ann] IDEA-69688 (unrestricted cast of return types of JSR-292 "polymorphic" methods) 2011-05-18 17:14:14 +04:00
Roman Shevchenko
85f277a149 Mock JDK 7 updated (AutoCloseable, Throwable) 2011-02-19 14:48:41 +01:00
anna
898f2cc1bc project coin: @SafeVarargs applicability 2011-02-16 09:48:35 +01:00
Alexey Kudravtsev
959be8cf44 mockJDKs in ultimate killed, added mockJDK-1.4 to community 2010-07-02 14:23:04 +04:00
anna
8eca0543b4 move mock jdk 1.7 to community/java 2010-04-20 14:10:20 +04:00