Commit Graph

31 Commits

Author SHA1 Message Date
Anna Kozlova
cdb3efd8c2 [java] cannot access class from dependency: do not check class parameter's super types
GitOrigin-RevId: 6dd89b01d24089ea3144e6fc2e04ff81b153fe36
2022-04-01 17:06:55 +00:00
Anna Kozlova
2fc8df2e0d java: check accessibility of classes: warn on static imports, do not for supers of method signatures types
GitOrigin-RevId: 94d15750d549eca51ad5c0b0767ae5387b7424e7
2020-02-17 19:08:55 +00:00
Anna.Kozlova
f34f81eaba check for class accessibility
GitOrigin-RevId: 8a181c547d1872313e2eb3bd682692533930de3c
2020-02-13 12:11:31 +00:00
Anna Kozlova
cf944efffb java: adjusted "Cannot resolve method" message (IDEA-206898)
GitOrigin-RevId: 40fc7d00d6bcc4792dc097dde63dd40d08864068
2019-07-10 23:02:59 +03:00
Anna.Kozlova
4b9f5eee44 remap types according to the current place (IDEA-187378) 2018-03-14 11:50:00 +01:00
Dmitry Batkovich
b8d81c260a java usages highlighting: add an additional test for multiple jdk configuration 2017-01-18 19:47:29 +03:00
Dmitry Batkovich
de021824a4 java highlight usages in file: highlight usages of a method when its super method is from alternative jdk 2017-01-18 19:17:19 +03:00
Anna.Kozlova
3e9370f451 substitute base class according to resolve place
EA-90836 - assert: InferenceSession.collectApplicabilityConstraints
2016-11-14 19:05:03 +01:00
Anna.Kozlova
e052fabb42 conditional: ensure to convert type from parent to ll >= 1.8 so assignments would be correct, etc (IDEA-161854) 2016-09-30 09:33:28 +02:00
Anna Kozlova
3ee8b6d1e8 unrelated defaults: correct type if super classes come from different jdks (both 1.8 but of different versions) 2016-06-24 15:33:37 +03:00
Anna.Kozlova
512341e08a inference: ensure primitive -> boxed conversion won't end with pre-generics jdk (IDEA-154108) 2016-04-05 18:27:32 +02:00
Anna.Kozlova
d0011b3acb accessibility checks: stop at library level 2016-03-16 15:35:39 +01:00
Anna Kozlova
e6a49d0ab6 accessibility: don't check supers during method/field type check 2016-02-19 19:18:43 +01:00
Anna Kozlova
e85ff6f47f check class accessible from another module: don't check parameters but check if method return type/param types are accessible 2016-02-18 16:31:20 +01:00
Anna Kozlova
2f82450d13 test to ensure that capture's bound is corrected according to the used jdk/library 2015-12-02 15:42:02 +01:00
Anna Kozlova
bd72fa775d generics dependency on raw type (IDEA-146395) 2015-10-15 18:21:25 +02:00
peter
3ae8186707 IDEA-126629 java.io.Closeable is not AutoCloseable in some cases
search for close() method in a correct scope
2015-06-23 18:29:18 +02:00
peter
a577297f81 a bombed test for IDEA-126629 java.io.Closeable is not AutoCloseable in some cases 2015-04-16 19:11:48 +03:00
Anna Kozlova
6d0e359bbc ensure language level is retrieved from analyzed method when method hierarchy is processed 2015-02-12 18:52:05 +01:00
Anna Kozlova
3318c68aad test data for not accessible through captured wildcard 2015-02-10 17:55:57 +01:00
Anna Kozlova
f821d7de73 multi-module setup: ensure access to static method from base class available only through mediate class is marked as error (IDEA-91904) 2015-02-10 13:21:22 +01:00
Anna Kozlova
2e438a4f7c multiple jdks/not exported dependencies: check that declared type of the qualifier doesn't contain unknown types 2015-02-09 20:33:09 +01:00
Anna Kozlova
69588b4a64 multiple jdks: test method signatures hierarchy 2015-02-09 19:38:17 +01:00
Anna Kozlova
d938257b33 multiple jdks in one project: highlight not accessible superclasses found in another module 2015-02-09 15:53:05 +01:00
Anna Kozlova
9144a4a416 multiple jdks test: ensure Map.getOrDefault doesn't exist in jdk 7 but exist in jdk 8 2015-01-22 20:36:25 +01:00
Anna Kozlova
e81c0c2c32 multiple jdks test of correct check of inheritance when super type has unknown type in type argument list 2015-01-22 19:14:32 +01:00
Anna Kozlova
cfea16328e multiple jdks test of correct check of inheritance with different type arguments 2015-01-22 19:14:30 +01:00
peter
730bbf7667 MultipleJdksHighlightingTest: yet another test 2015-01-21 21:19:51 +01:00
peter
458b1b4b04 fix MultipleJdksHighlightingTest test data 2015-01-21 21:19:51 +01:00
Anna Kozlova
d5ca65d80f multiple jdks: wrong resolve order tests bombed 2015-01-21 12:45:55 +01:00
Anna Kozlova
6cc60e2543 workaround for overload resolution for methods from Object when project has multiple jdks (IDEA-135422) 2015-01-21 12:14:13 +01:00