Roman Shevchenko
5d10b37246
[java] enhanced 'switch' statements: basic highlighting (IDEA-196643)
2018-11-02 18:22:34 +01:00
Roman Shevchenko
95b4898527
Cleanup (formatting)
2018-11-02 18:09:05 +01:00
Roman Shevchenko
14a76a1b13
[java] enhanced 'switch' statements: parser fix (IDEA-196643)
2018-11-02 17:47:34 +01:00
Anna.Kozlova
6b54c8047b
customization template for catch block parameter (IDEA-125327; IDEA-116670)
2018-11-02 12:00:24 +01:00
Tagir Valeev
39260a1ed8
SuspiciousMethodCallUtil: support retainAll (IDEA-201636)
2018-11-02 13:56:43 +07:00
Pavel Dolgov
af32276ccf
Java: Highlight identical branches in 'switch' statement, comment handling added (IDEA-181304)
2018-11-01 14:49:26 +03:00
Tagir Valeev
8b8b7d30ed
IDEA-201515 IDEA suggests to use Java 11 writeString which is buggy for UTF-8 charset (until 11.0.2)
2018-11-01 18:20:32 +07:00
Tagir Valeev
a03a5cb0ea
Optional presence fact should also report non-null (IDEA-201584)
2018-11-01 11:39:51 +07:00
Roman Shevchenko
58568201a8
[java] enhanced 'switch' statements: parser/PSI (IDEA-196643)
2018-10-31 10:56:17 +01:00
Tagir Valeev
8fc5be171e
DfaMemoryStateImpl#getDependentPairs: fix possible infinite recursion on incorrect code
2018-10-31 16:31:00 +07:00
Anna.Kozlova
ff23f22e9a
move inner to upper level: ensure inserted imports on inner classes are updated (IDEA-200882)
2018-10-31 10:14:24 +01:00
Pavel Dolgov
0d221c7aef
Java: Highlight identical branches in 'switch' statement (IDEA-181304)
2018-10-30 18:15:06 +03:00
Anna.Kozlova
2ef3685dd6
don't suggest casts for assignable types (IDEA-201457)
2018-10-30 16:09:23 +01:00
Tagir Valeev
0b7b15f8ac
EquivalenceChecker: flexible modifier list comparison; fixes in class comparison; test (IDEA-CR-38140)
2018-10-30 16:55:52 +07:00
Anna Kozlova
a6fc7fb32e
allow change signature propagation to the containing method (IDEA-201205)
2018-10-29 12:49:19 +01:00
Anna Kozlova
2f3520ab6f
same parameter value: ensure uast method references are correctly processed (IDEA-201335)
2018-10-29 12:49:19 +01:00
Tagir Valeev
19ce4c0b27
ReturnOrChain test
2018-10-29 15:19:29 +07:00
Tagir Valeev
cae1bccdf5
Introduce variable: support extraction form switch labels (IDEA-128795)
2018-10-29 15:19:28 +07:00
Tagir Valeev
80ed517949
VariableExtractor: support and-chains in if condition (IDEA-184433) and in return (IDEA-92652)
2018-10-29 15:19:26 +07:00
Tagir Valeev
e126ef68c1
VariableExtractor: further refactoring; support while conditions
2018-10-29 15:19:24 +07:00
Eugene Zhuravlev
c2b0293745
file timestamps for targets being fully rebuilt should be cleared together with output removal (IDEA-201312)
2018-10-26 18:59:00 +02:00
Pavel Dolgov
e6e432446a
Java: Highlight unreachable assignment of array element (IDEA-199556)
2018-10-26 13:11:13 +03:00
Tagir Valeev
5422868682
BytecodeAnalysisIntegrationTest: depend on exact versions of velocity and collections
2018-10-26 16:00:05 +07:00
Anna.Kozlova
382cf50470
ignore type arguments on calls on raw types (IDEA-201219)
2018-10-25 16:20:57 +02:00
Anna.Kozlova
af3e15a689
highlight method call: don't ignore args with applicable calls as they may still cause parent call incompatibility
...
IDEA-201175
2018-10-25 16:20:56 +02:00
nik
224d9ced70
update commons-collection (IDEA-198976)
2018-10-25 09:37:06 +03:00
Sergey Patrikeev
72607096d0
IDEA-200832 Deprecation inspection: recognise externally deprecated APIs.
...
Extend API to support repeatable annotations and annotations from different external roots.
2018-10-24 13:10:31 +03:00
Anna.Kozlova
9d504b7239
anonym -> inner: ensure encoded (IDEA-201012)
2018-10-24 10:22:05 +02:00
Sergey Ignatov
4954d971af
move tests for scopes into the community project
2018-10-23 15:53:31 +03:00
Pavel Dolgov
3dd5d7513f
Java: Reworked introducing the parameters in duplicate fragments to support repeated argument values (IDEA-201024)
2018-10-23 15:49:40 +03:00
Tagir Valeev
2e36108630
SimplifyBooleanExpressionFix: support always-false last disjunct in if
...
Fixes IDEA-200961 Simplification of "!list.add(type) is always false" may change code semantic
2018-10-23 17:44:26 +07:00
Tagir Valeev
747aec38c9
ConvertSwitchToIfIntention: better comments handling
2018-10-23 15:34:51 +07:00
Anna.Kozlova
50b66d9d4b
method reference overloads: second search should provide actual parameter types with 1 offset (IDEA-200218)
2018-10-22 17:02:20 +02:00
Pavel Dolgov
c4460f61de
Java: Trim surrounding whitespaces because they don't survive in the refactoring - test data fixed (IDEA-191738)
2018-10-22 13:06:25 +03:00
Sergey Ignatov
20d826e839
move tests for facets into the community project
2018-10-19 23:06:54 +03:00
Sergey Ignatov
c3266ddd93
move tests for facets into the community project
2018-10-19 20:49:50 +03:00
Anna.Kozlova
9aa64b30d9
inference: allow child session inference if containing method is not generics
2018-10-19 17:52:43 +02:00
Sergey Ignatov
3756ecd580
move tests for facets into the community project
2018-10-19 16:07:57 +03:00
Pavel Dolgov
46eee24571
Java: Trim surrounding whitespaces because they don't survive in the refactoring (IDEA-191738)
2018-10-19 15:18:34 +03:00
Anna.Kozlova
6ef0a7bc17
redundant suppression: take into account tools with the same suppress ids (IDEA-200685)
2018-10-18 18:34:11 +02:00
Tagir Valeev
e79ea86e18
EnsureCodeBlock: support or-chains in return/lambdas
2018-10-18 19:21:37 +07:00
Anna.Kozlova
265764b961
fix testdata
2018-10-18 11:12:33 +02:00
Tagir Valeev
6e5d42e80b
afterAddFinally.java: whitespace fixed
2018-10-18 10:42:21 +07:00
Pavel Dolgov
2d08fd1f78
Java: Strike out deprecated annotation properties (IDEA-179180)
2018-10-17 17:51:37 +03:00
Tagir Valeev
50abafa3f8
UnwrapSwitchLabelFix: when only one switch branch is reachable
...
Fixes IDEA-200651 Analysis for 'switch' statements may determine always truthy conditions on branches in addition to always falsy
Minor refactoring of reporting in DataFlowInspectionBase
2018-10-17 16:39:25 +07:00
Tagir Valeev
5878fde5e9
Add 'catch' block after incomplete try (final piece of IDEA-200560)
2018-10-17 13:04:54 +07:00
Roman.Ivanov
498edfa4af
create OverflowingLoopIndexInspection
2018-10-17 12:36:22 +07:00
Tagir Valeev
3eaa3ff64f
Add 'finally' block fix (part of IDEA-200560)
2018-10-17 12:17:52 +07:00
Tagir Valeev
713c03a974
Better support of new return value locality
2018-10-17 10:51:02 +07:00
Pavel Dolgov
aa042c4eaa
Java: Fixed false positive unused declarations under constant conditions (IDEA-182738)
2018-10-15 16:15:54 +03:00