Tagir Valeev
d4b107d27a
[java] The highest language level is now 22
...
Some tests are adjusted, as now (after unnamed variables release), we warn on every unused lambda parameter
GitOrigin-RevId: 17ce095a19332d22ba0cbcef1e6751ea309ca774
2024-03-15 14:05:44 +00:00
Anna Kozlova
4a300c672b
[java] don't include fully qualified name in unresolved call messages (IDEA-282207)
...
GitOrigin-RevId: 3f22a64e3ab3173157368140af5d072e3cad2654
2022-01-28 07:21:30 +00:00
Rustam Vishnyakov
123242c4b2
EditorConfig documentation test
...
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova
91f7445298
constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
...
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Aleksey Rostovskiy
185284cee6
get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
...
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhinin
9215f4240b
[duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
...
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
Anton Makeev
a85dd1eadc
Merge branch 'amakeev/gradle'
...
# Conflicts:
# community/plugins/gradle/java/src/service/project/wizard/GradleModuleBuilder.java
GitOrigin-RevId: 7677c496440e29d49839174420972762c8ecc089
2019-05-17 19:14:16 +03:00
Anton Makeev
b54aaf7e4e
IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
...
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Dmitry Batkovich
db60b80cc4
unused symbol inspection: mark method parameter used if method is used as method reference IDEA-210306
...
GitOrigin-RevId: 086a276669ee3dba969f8ea2334af157890594dc
2019-05-17 16:09:16 +03:00
Anna.Kozlova
c6e5f6788f
overload resolution: ignore explicit type arguments when choosing most specific method for java 8+
2019-01-30 18:38:47 +01:00
Anna.Kozlova
3797d3ea1c
ensure ambiguity error presentation doesn't depend on previous calls to getSubstitutor()
2016-10-21 18:07:07 +02:00
Anna Kozlova
1193a54876
warn about unused parameter if method is used locally as method reference as it could be transformed to equivalent lambda (IDEA-157988)
2016-06-29 20:32:32 +03:00
Anna Kozlova
621795bbee
isApplicability check based on pertinentToApplicability
2015-11-30 15:11:41 +01:00
Anna Kozlova
61f120b30e
new overload resolution: first check that collected methods are potentially compatible with args; for generic methods without specified type arguments this already means that they are applicable; for non generic methods (or raw method calls) expressions should be compatible with parameter types (formal parameter types = actual types as substitutor is known) (IDEA-147798)
2015-11-20 18:22:02 +01:00
Anna Kozlova
98408c72f6
overload resolution: reject more specific inference contradicting site substitution
2015-08-26 12:08:47 +03:00
Anna Kozlova
30a12275a2
lambda: highlight containing method ambiguity on method name: this avoids lots of lines of lambda body to be highlighted and it would show errors even if lambda body contains errors actually caused by the ambiguity on the parent level (IDEA-141580)
2015-06-18 17:54:23 +03:00
Anna Kozlova
465879cacf
most specific: infer specific if method is generic even if type arguments are explicitly provided
2015-02-13 18:54:03 +01:00
Anna Kozlova
ed0ff7c07f
most specific check: ensure that functional types are specifically checked when method is not generics (IDEA-136287)
2015-02-11 19:05:41 +01:00
Anna Kozlova
7e141da4c2
method references: compare number of arguments for non-vararg applicability only (IDEA-132708)
2014-11-11 12:03:06 +01:00
Anna Kozlova
33f7cb51f2
new inference: most specific check according to spec, fixed testdata after JDK-8043734
2014-09-04 13:45:03 +04:00
Anna Kozlova
89dc528242
new inference: no substitution during most specific inference by means of new spec (IDEA-127584)
2014-07-21 17:56:20 +02:00
Anna Kozlova
d13982bd06
most specific: do not start java 8 algorithm for provided type args (IDEA-125855)
2014-06-03 18:41:27 +04:00
Anna Kozlova
cc743c35cc
testdata for JDK-8042508
2014-05-07 12:29:28 +04:00
Anna Kozlova
288ccfa195
most specific check: accept lambdas when target type is type parameter (IDEA-124725)
2014-05-05 17:12:17 +04:00
Anna Kozlova
84deec968d
method refs: is exact should check super methods for this/super qualifiers only (IDEA-124507)
2014-04-28 15:12:44 +02:00
Anna Kozlova
0da9f91eec
testdata: ensure overload resolution prefer correct one from methods with boxed types
2014-04-22 20:02:49 +02:00
Anna Kozlova
5b91054564
testdata: ensure overload resolution by return type should not take place for interrupted control flow
2014-04-22 20:02:44 +02:00
Anna Kozlova
9aa2f3aaac
testdata: ensure correct parameters number in functional interface method
2014-04-22 20:02:42 +02:00
Anna Kozlova
17b020f7c2
new overload resolution: covariant comparison of return types
2014-04-22 20:02:33 +02:00
Anna Kozlova
98ab76f060
new overload resolution: most specific check on invalid class exceptions fixed
2014-04-22 20:02:32 +02:00
Anna Kozlova
1daf8f50df
ambiguity (IDEA-123352)
2014-04-03 17:15:53 +02:00
Anna Kozlova
e6547e3991
poly conditional expression type = target type (IDEA-122401)
2014-03-19 19:32:35 +01:00
Anna Kozlova
38168d7531
testdata after JDK-8034223
2014-03-18 16:49:05 +01:00
Anna Kozlova
8b37b2b5d6
overload resolution: compare SAMs erasures
2014-03-14 20:44:00 +01:00
Anna Kozlova
d85189374d
testdata for IDEA-121999
...
(cherry picked from commit 85f88420716c2bb2e0a73d524a33656a5699cf9f)
2014-03-12 10:19:45 +01:00
Anna Kozlova
b89dc394cc
testdata for IDEA-121884
...
(cherry picked from commit 985e902bb5edb3c913d0394492494ed115e545b4)
2014-03-12 10:19:22 +01:00
Anna Kozlova
7d747c8cef
new inference: most specific with same functional interface presence
...
(cherry picked from commit f05ae78f4cfd030258264d717d7522ab0930d9a5)
2014-03-12 10:17:33 +01:00
Anna Kozlova
465325a6a6
new inference: nested varargs
...
(cherry picked from commit 0d293e439ffcbe97db98c1a1b8072e798d94323e)
2014-03-12 10:17:10 +01:00
Anna Kozlova
4112118f42
new inference: choose most specifics between 2 varargs methods
...
(cherry picked from commit 9f754331ad04e4be639d94da7a659927f8384294)
2014-03-12 10:16:12 +01:00
Anna Kozlova
5412fbc960
overload resolution: grab lambda from nested parenthesis as well as conditional expressions
2014-03-06 11:42:07 +01:00
Anna Kozlova
b587af7151
exact method refs most specific: void compatibility
2014-02-21 21:47:01 +01:00