Anna Kozlova
|
5e77c443de
|
simplification following IDEA-CR-21392
|
2017-05-26 13:36:45 +03:00 |
|
Anna Kozlova
|
51bcfcecf9
|
inference: don't traverse up through lambda bounds when parent inference was already started, in this case it's exception inference which should work without top level node (EA-83073 - assert: LambdaUtil.treeWalkUp; IDEA-173467)
|
2017-05-26 13:36:45 +03:00 |
|
Anna Kozlova
|
770ebf45af
|
disable trivial functional expression for body with returns (IDEA-173436)
|
2017-05-25 16:06:05 +03:00 |
|
Tagir Valeev
|
3fda127a48
|
ComparatorResultComparisonInspection: renamed to "Suspicious usage of compare method"
|
2017-05-24 18:14:30 +07:00 |
|
Tagir Valeev
|
1db8b83dff
|
IDEA-173177 Inspection: Comparing 'compareTo()` or 'Comparator.compare()' result with 1 / -1
|
2017-05-24 14:14:16 +07:00 |
|
Pavel Dolgov
|
16b1765f7f
|
Java: Better handling of unreachable code (IDEA-172642)
|
2017-05-23 12:28:44 +03:00 |
|
Anna Kozlova
|
011b8e4e10
|
checked exception constraints: ensure ground type (IDEA-173200)
|
2017-05-22 11:25:29 +03:00 |
|
Anna Kozlova
|
e747d52bf5
|
create method from usage: treat polyadic expressions as for completion by containing expression (IDEA-151432)
|
2017-05-18 13:25:30 +03:00 |
|
Anna Kozlova
|
987caaf26d
|
provide this(); fix when constructor requires super call (IDEA-151335)
|
2017-05-18 10:50:55 +03:00 |
|
Anna Kozlova
|
40cbf4648a
|
fix testdata
|
2017-05-18 10:50:55 +03:00 |
|
Tagir Valeev
|
f2442e32fa
|
ConvertSwitchToIfTest: test5 rewritten as getClass() is now pure
|
2017-05-18 14:36:52 +07:00 |
|
Tagir Valeev
|
8323d2f78d
|
BulkMethodInfo: support for Java 1.4 (fixes EA-101278).
|
2017-05-17 11:54:09 +07:00 |
|
Anna Kozlova
|
94dd554c0c
|
don't use void in non-free method calls (IDEA-172958)
|
2017-05-16 21:33:01 +03:00 |
|
Pavel Dolgov
|
c7d8ad3401
|
Java: Don't reuse cached ControlFlow when the context is not equivalent (IDEA-168768)
|
2017-05-15 12:34:52 +03:00 |
|
Alexey Kudravtsev
|
4a4626c750
|
removed default file header, because it adds no information but subtracts attention and space
|
2017-05-12 14:02:24 +03:00 |
|
Alexey Kudravtsev
|
920d5b4fba
|
removed default file header, because it adds no information but subtracts attention and space
|
2017-05-11 13:39:07 +03:00 |
|
Anna Kozlova
|
d31ca80cac
|
testdata for IDEA-158047
|
2017-05-10 20:35:34 +03:00 |
|
Anna Kozlova
|
728ed62ed0
|
testdata for IDEA-157350
|
2017-05-10 20:35:34 +03:00 |
|
peter
|
932d1215d6
|
make 'remove loop' fix work for '(false)' and 'for' (IDEA-CR-20896)
|
2017-05-10 17:11:34 +02:00 |
|
Anna Kozlova
|
d3b899c7a9
|
static factory detection for top level method call (IDEA-172566)
|
2017-05-10 09:14:16 +03:00 |
|
Anna Kozlova
|
ee0e90d92c
|
provide applicability substitutor when inference fails for parent expression
|
2017-05-08 22:58:02 +03:00 |
|
Anna Kozlova
|
77f4894aae
|
inference errors: make applicability error thread safe so multiple threads can perform overload resolution of parent method calls independently, save presentable error when substitutor cached only
|
2017-05-08 12:12:13 +03:00 |
|
Alexey Kudravtsev
|
759648df75
|
Non-ASCII characters inspection
|
2017-05-05 15:23:22 +03:00 |
|
Anna Kozlova
|
7fcea68298
|
diamonds: copy throws list to static constructors to ensure correct unhandled exceptions, etc
|
2017-05-05 12:35:43 +03:00 |
|
Anna Kozlova
|
1d36b86e0c
|
lambda: ensure static factory is used when diamonds
|
2017-05-04 20:29:52 +03:00 |
|
Anna Kozlova
|
5516110b50
|
lambda: don't hide raw substitutions in functional types hierarchies (IDEA-172301)
|
2017-05-04 20:29:52 +03:00 |
|
Anna Kozlova
|
f3d0a39366
|
infer conditional expression type for incomplete calls (IDEA-171431)
|
2017-05-04 20:29:52 +03:00 |
|
peter
|
24e81df27c
|
IDEA-172186 Autocomplete for interface method does not work if prefixed with 'default' keyword
|
2017-05-03 16:55:49 +02:00 |
|
Bas Leijdekkers
|
5016eead0e
|
better quick fix name
|
2017-05-02 20:47:50 +02:00 |
|
Anna Kozlova
|
c0dbaa0332
|
process overloads to create method by method reference (IDEA-172193)
|
2017-05-02 12:31:24 +03:00 |
|
Anna.Kozlova
|
568bb75fbc
|
don't highlight part of poly conditional expression when it's type is not defined, would be highlighted on top level (IDEA-171431)
|
2017-04-29 19:28:48 +02:00 |
|
Anna.Kozlova
|
bdd3f7f3d6
|
pertinent to applicability: process return statements inside block lambda
|
2017-04-28 20:23:23 +02:00 |
|
Anna.Kozlova
|
b893701408
|
overload resolution: same signatures should not check return types, etc already processed in hierarchical signatures (IDEA-172129)
|
2017-04-28 20:23:23 +02:00 |
|
Anna.Kozlova
|
ee750f165b
|
ensure array is not accepted as functional interface (IDEA-172048)
|
2017-04-28 20:23:23 +02:00 |
|
Tagir Valeev
|
c3dd106963
|
LightCodeInsightTestCase: now test name can force the language level.
|
2017-04-28 15:14:27 +07:00 |
|
Anna.Kozlova
|
541921d315
|
testdata for fresh variables during applicability check (javac infers Object and fails)
|
2017-04-28 10:03:16 +02:00 |
|
Bas Leijdekkers
|
af0239a648
|
test "Fix all 'Unnecessary fully qualified name' problems in file"
|
2017-04-27 19:21:50 +02:00 |
|
Anna.Kozlova
|
d82105d5ec
|
check possible inference for method references before simplification (IDEA-171976)
|
2017-04-26 20:36:29 +02:00 |
|
Anna.Kozlova
|
fbf500d2d4
|
inference: skip standalone expressions in lambda returns (IDEA-171922)
|
2017-04-26 16:28:04 +02:00 |
|
Anna.Kozlova
|
c4d213ba26
|
method references: don't infer Object when no constraint exist for 'raw' reference (IDEA-171922)
|
2017-04-26 16:28:04 +02:00 |
|
Anna.Kozlova
|
e2ceb575a2
|
testdata on javac issue
|
2017-04-26 16:28:04 +02:00 |
|
Tagir Valeev
|
9127146364
|
DataFlowInspection: highlight method references known to return constant true/false value with quick-fix changing them to trivial lambdas (partially fixes IDEA-170885).
|
2017-04-26 12:43:30 +07:00 |
|
Tagir Valeev
|
54eb5b2d2b
|
IDEA-171854 Suggest replacing boxed compareTo with convenience methods from Java 7
|
2017-04-24 17:41:21 +07:00 |
|
Anna.Kozlova
|
58fcabfd2b
|
functional interfaces: allow intersection with 2 independent abstract methods with same signature (IDEA-171622)
|
2017-04-21 20:03:27 +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
|
85cdf34c8a
|
disable import static constant at annotation position
|
2017-04-21 20:03:27 +02:00 |
|
Roman Shevchenko
|
e780dc29d6
|
Merge remote-tracking branch 'origin/master'
|
2017-04-21 14:05:46 +02:00 |
|
Roman Shevchenko
|
a7c9a25e2a
|
[java] fixes formatting in "provides with" reference list
|
2017-04-21 13:39:40 +02:00 |
|
Tagir Valeev
|
036f556c55
|
ControlFlowUtils#statementBreaksLoop: fix void return case
|
2017-04-21 17:52:15 +07:00 |
|
Bas Leijdekkers
|
58f662cf62
|
try to make quick fix name more clear
|
2017-04-19 22:06:58 +02:00 |
|