Commit Graph

15 Commits

Author SHA1 Message Date
Anna.Kozlova 291c5cb03b unchecked warnings: don't check containing class parameters (IDEA-194678) 2018-10-08 18:57:16 +02:00
Anna Kozlova fe9799965c unchecked warnings: check poly conditional branches in context of target type (IDEA-199615) 2018-09-28 19:59:32 +02:00
Tagir Valeev 62792959f0 More tests for this handling in javac 2018-06-08 13:27:58 +07:00
Tagir Valeev 698afa3b24 LocalsOrMyInstanceFieldsControlFlowPolicy: disallow qualified this
According to JLS Chapter 16 qualified "this" is not considered as reference to field in definite assignment analysis
Fixes IDEA-193386 Good code is red: Variable may not have been initialized
2018-06-07 11:28:07 +07:00
Tagir Valeev b9630248cd FinalVariableMightNotHaveBeenInitializedInsideLambda: added separate initializer test 2018-02-08 12:31:34 +07:00
Roman Shevchenko ab283f3cec [java] adds language level 10 2018-01-24 15:43:12 +03:00
Roman Shevchenko 9f05380c48 [java] merges language level name and JDK version description 2018-01-18 13:54:45 +01:00
Anna Kozlova 29bc5a12c0 LVTI: warnings for var as class name (IDEA-178868) 2017-09-18 19:05:20 +03:00
Anna.Kozlova ca035634d1 warn if generics vararg method is called with 50+ poly args (IDEA-169240) 2017-03-23 15:49:44 +01:00
Roman Shevchenko 74daf8d522 [java] improves "unsupported language level" message (IDEA-168859) 2017-03-06 11:27:27 +01:00
Roman Shevchenko bf4759fccb [java] module declaration highlighting (file-level) 2016-06-29 21:02:23 +03:00
Anna.Kozlova 2e3c2261ad lambda: treat fields qualified with this as unqualified (IDEA-154174) 2016-04-05 18:27:32 +02:00
Anna.Kozlova 6fc9953a82 show error if uninitialized field is referenced from lambda inside inner/anonymous class in another field initializer; disable anonymous -> lambda for such places 2016-03-21 21:11:36 +01:00
Roman Shevchenko f7f0a5c0c4 [java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00
Roman Shevchenko de416d4f7f Cleanup (test moved to a correct location) 2015-07-18 23:13:56 +03:00