8 Commits

Author SHA1 Message Date
Tagir Valeev
0d63633751 [java-inspections] CodeBlockSurrounder and StatementExtractor: support templates
GitOrigin-RevId: 3a998d7117ef6e94a7727a3f37d110905cc0c1bf
2023-09-29 17:40:46 +00:00
Tagir Valeev
78c8e66901 [java-inspection] Support multi-line single-return lambdas in StreamToLoopInspection
Part of IDEABKL-7718
Fixes IDEA-317735

GitOrigin-RevId: 120245c2b1f4abb464d52c43dd39078a83f4bbcd
2023-04-17 10:53:11 +00:00
Bas Leijdekkers
9a44d02318 Java: better name suggestions for boxed types, filter out common bad names and add special cases for common methods
GitOrigin-RevId: 2bf3977d2873bd133ac6acb85df54aece740f428
2023-02-14 13:53:56 +00:00
Roman.Ivanov
5076e08145 set SPACE_BEFORE_COLON_IN_FOREACH true by default, fix tests 2018-06-26 12:04:00 +07:00
Roman.Ivanov
5858ba478c fix tests for foreach formatting 2018-06-05 11:31:17 +07:00
Tagir Valeev
ebbdbbe432 StreamToLoop: special handling of skip(1) 2018-03-12 15:24:00 +07:00
Tagir Valeev
f764692965 StreamToLoopInspection refactoring: strings replaced with actual PsiType's (as they are valid now); removed unnecessary code due to all PsiExpressions are also valid 2017-03-21 14:21:29 +07:00
Tagir Valeev
fb6ba726e5 StreamToLoop tests grouped 2017-01-27 17:41:53 +07:00