Tagir Valeev and intellij-monorepo-bot
3ab008193a
ControlFlowAnalyzer: pass the control from expression statements to multi-catch exceptions
...
Fixes IDEA-232103 "Field may be 'final'" false positive for fields initialized in try-catch block with multi-catch
GitOrigin-RevId: b286eb0ac347350490d3aaa35768fc4e0404db28
2020-02-05 07:01:46 +00:00
Anna Kozlova and intellij-monorepo-bot
1768efa804
incompatible types: highlight only wrong arguments instead of full arg list (IDEA-220107)
...
GitOrigin-RevId: 38a12e4fa7ea27d156dae1fe6bc7bd6902db6251
2019-09-20 19:31:36 +00:00
Anna Kozlova and intellij-monorepo-bot
67839b3676
java unchecked warning: narrow down highlighting to class/method reference (IDEA-203860)
...
GitOrigin-RevId: ee686cedeef7aa677445b5054c9e191ce1d15a77
2019-07-15 12:05:58 +03:00
Artemiy Sartakov and intellij-monorepo-bot
642c65dd11
MethodReturnTypeFix: highlight only return statements when method return type doesn't match expected (IDEA-216275)
...
GitOrigin-RevId: d5f7dc3b03d68d249ba29532b0e8c0555cae60d6
2019-07-08 15:09:05 +03:00
Artemiy Sartakov and intellij-monorepo-bot
42d733a694
MethodReturnTypeFix: updated fix to change method return type based on return statements in method body (IDEA-216275)
...
GitOrigin-RevId: e97990950039123c8c41921a71342b8ed60afdee
2019-07-04 09:02:24 +03:00
Rustam Vishnyakov and intellij-monorepo-bot
123242c4b2
EditorConfig documentation test
...
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan and intellij-monorepo-bot
c1813cfb52
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova and intellij-monorepo-bot
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 and intellij-monorepo-bot
39d2d77155
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Anna Kozlova and intellij-monorepo-bot
ebf02771d4
unchecked warning: don't warn for raw substitutor if parameter type mentions method's type parameter
...
GitOrigin-RevId: 8f0b56e55747ff36fffc6d60ae06bb4aea9fcd96
2019-05-29 21:13:43 +03:00
Aleksey Rostovskiy and intellij-monorepo-bot
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 and intellij-monorepo-bot
9215f4240b
[duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
...
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
Anna Kozlova and intellij-monorepo-bot
3aeea94574
collect unhandled exceptions: process captured wildcards (IDEA-214559)
...
GitOrigin-RevId: d0a59dd9e5f43e5265584f5a8a06702334343d1a
2019-05-21 20:09:00 +03:00
Anna.Kozlova
2e7f05efd0
advHighlighting -> light test case
2019-01-02 16:35:41 +01:00
Anna.Kozlova
df236e8c91
check compiler version (IDEA-163104)
...
compiler will be chosen as max(module compiler, project compiler)
2018-11-06 10:47:58 +01:00
Anna Kozlova
017e3e4781
fix testdata
2018-06-20 09:56:55 +03:00
Anna.Kozlova
51a2d549b2
highlight only method name on unhandled exception (IDEA-190912)
2018-04-25 21:11:38 +02:00
Anna.Kozlova
969e90f34a
check inner class access for top level classes only (IDEA-188716)
2018-04-23 19:13:30 +02:00
peter
b2b723fa44
speedup java class resolve a bit
...
don't even look for class in on-demand imports when named import matches
2018-04-16 18:59:52 +02:00
Roman Shevchenko
9f05380c48
[java] merges language level name and JDK version description
2018-01-18 13:54:45 +01:00
Anna.Kozlova
d58653b20f
forbid access through outer class for anonymous (IDEA-182430)
2017-11-20 17:40:45 +01:00
Anna.Kozlova
db4350173c
inaccessible error on nested annotations for class (IDEA-181792)
2017-11-14 18:27:34 +01:00
Anna.Kozlova
4a014aafe4
testdata to ensure no unchecked warning when not-compilable (IDEA-CR-25757)
2017-10-19 13:48:52 +02:00
Anna.Kozlova
79b362e643
precise rethrow: runtime exception special case for generic declared type only (IDEA-180035)
2017-10-10 18:17:29 +02:00
Pavel Dolgov
7d30d532c6
Java: Don't report the catch section as unreachable where a subclass of declared exception can be thrown (IDEA-175863)
2017-07-18 14:25:32 +03:00
Maxim.Mossienko
7387ee525b
update tests and testdata to reflect newer mock jdk 1.7
2017-06-13 15:09:42 +02:00
Anna.Kozlova
d680d55c99
register local refs to java if references are registered in literal expression by foreign contributor (e.g. reflection, data providers, etc) (IDEA-171495)
2017-04-21 20:03:27 +02:00
Anna.Kozlova
2159d803f8
add javac quirks case for object-primitive comparison (IDEA-168944)
2017-03-17 16:42:50 +01:00
Anna.Kozlova
7f4059541a
precise rethrow: ensure unreachable catch sections do not participate in precise rethrow
2017-03-08 12:37:00 +01:00
Anna.Kozlova
71cc26e25c
precise rethrow with multiple exceptions in the try block (IDEA-169273)
2017-03-07 17:16:53 +01:00
Roman Shevchenko
74daf8d522
[java] improves "unsupported language level" message (IDEA-168859)
2017-03-06 11:27:27 +01:00
Anna.Kozlova
a59edc4e4a
accessibility check for annotation parameters: treat parameters as they are outside the class (IDEA-165904)
2016-12-27 14:47:58 +01:00
Anna.Kozlova
57ec346668
precise rethrow: special case for catch Exception (IDEA-164241)
2016-12-06 12:13:22 +01:00
Anna.Kozlova
88b28233e8
variable array fix: don't create fix if it can't be applied when there is no variable in the context
...
EA-54266 - ISE: VariableArrayTypeFix.getText
2016-10-12 18:22:05 +02:00
Anna.Kozlova
ef162f71c7
fix testdata
2016-10-05 10:31:37 +02:00
Pavel Dolgov
96a576963a
Java control flow: Fixed false positive for unreachable code in multi-catch clause (IDEA-138978)
2016-07-25 19:19:45 +03:00
Anna.Kozlova
d8def3334c
exceptions declared by try with resources should collect all close methods from the resource class and choose exceptions in the intersection (IDEA-158762)
2016-07-21 13:47:22 +02:00
Anna.Kozlova
f27c5080f6
ensure method signature is highlighted when changes are made inside method body but the actual highlighting is performed on class level (IDEA-141532; IDEA-158137)
2016-07-13 11:43:16 +02:00
Anna Kozlova
1fcb534fcb
highlight diamonds as type parameter list (IDEA-156859)
2016-06-06 17:52:24 +03:00
Anna.Kozlova
a1ae485b22
diamond: reject diamonds nested inside type arguments as soon as possible (IDEA-155153)
2016-04-25 14:41:56 +02:00
Anna.Kozlova
bb6394162a
warn about compilable code which would lead to runtime ClassCastException in addition to unchecked warning which nobody understands (IDEA-154345)
2016-04-15 18:43:24 +02:00
Anna.Kozlova
5f73492b7f
fix parenthesis expr during precise rethrow detection
2016-04-04 21:24:28 +02:00
Anna.Kozlova
b1a0d687df
old inference: include type parameter's bounds in result as intersection if inference from parent type was started (IDEA-153411)
2016-03-22 19:22:42 +01:00
Anna.Kozlova
cdc7349caa
unchecked warnings: don't warn about generics array creation if arg of array type is found (IDEA-153122)
2016-03-17 18:04:01 +01:00
Roman Shevchenko
e4a0f4548b
[java] allows up to 5 unused variables per scope
2016-03-16 19:02:04 +01:00
Roman Shevchenko
d8b29b8401
[java] connect resolution of generics in resource closer method (IDEA-150607)
2016-01-20 12:43:56 +01:00
Anna Kozlova
f29517700f
highlight type parameter extends list errors: check once for all refs in refList not to repeat ourselves
2015-10-14 11:12:30 +02:00
Roman Shevchenko
78acdfef1f
[java] numeric literal underscores should not affect highlighting (IDEA-145942)
2015-10-05 12:55:06 +02:00
Anna Kozlova
0426946f75
varargs formal parameters inaccessible: extend for non-parameterized methods (IDEA-140600)
2015-09-03 20:30:57 +03:00
Anna Kozlova
c97ce52826
formal varargs not accessible check (jls)
2015-08-18 12:34:40 +02:00