Pavel Dolgov
|
b525e80a87
|
Java inspection: Returned back RemoveRedundantElseAction intention, because it turns out it's useful in some cases (IDEA-157727)
|
2016-07-20 18:50:32 +03:00 |
|
Alexey Kudravtsev
|
db48c64473
|
use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests
|
2016-07-20 15:47:18 +03:00 |
|
Pavel Dolgov
|
3773948686
|
Java inspection: Added a fix for single-value annotations where the annotation doesn't have a 'value()' method and therefore "Expand Annotation to Normal Form" fix couldn't be applied (IDEA-158456, IDEA-157727)
|
2016-07-20 13:33:13 +03:00 |
|
Anna.Kozlova
|
750afb8497
|
return type fix: change type arguments of dependant type parameters only (IDEA-158361)
|
2016-07-11 18:05:00 +02:00 |
|
Anna Kozlova
|
4e813690f7
|
anonymous -> lambda: allow field shadowing when suggesting new local names (IDEA-157288)
|
2016-07-08 10:46:34 +02:00 |
|
Pavel Dolgov
|
65a5b0e437
|
Java intention: Quick fix for error "foreach not applicable to type java.util.Iterator" - handle comments and take care of empty block when copying the loop body (IDEA-124751)
|
2016-07-04 14:37:31 +03:00 |
|
Pavel Dolgov
|
9104e6ede4
|
Java intention: Quick fix for error "foreach not applicable to type java.util.Iterator" - a test added (IDEA-124751)
|
2016-07-01 16:28:17 +03:00 |
|
Pavel Dolgov
|
d50a5c7a07
|
Java intention: Quick fix for error "foreach not applicable to type java.util.Iterator" (IDEA-124751)
|
2016-07-01 16:12:36 +03:00 |
|
Anna Kozlova
|
7d48d00ae9
|
anonymous -> lambda: restore comments (non-javadoc) outside method body (IDEA-157286)
|
2016-06-30 21:02:38 +03:00 |
|
Anna Kozlova
|
153255f9d2
|
anonymous -> lambda: enable casts again (IDEA-157960)
|
2016-06-29 16:18:27 +03:00 |
|
Pavel Dolgov
|
c3bd56a80c
|
Java inspection: convert the intention for "Make Type Generic" into an INFORMATION-level inspection (IDEA-157727)
|
2016-06-28 15:13:49 +03:00 |
|
Pavel Dolgov
|
10c335b44e
|
Java inspection: In "Join Declaration and Assignment" intention action warn about side effects of the initializer being removed (IDEA-157727)
|
2016-06-27 15:37:13 +03:00 |
|
Pavel Dolgov
|
92838f48bc
|
Java inspection: Get rid of RemoveRedundantElseAction, as it's totally inferior to DataFlowInspection (IDEA-157727)
|
2016-06-24 14:00:51 +03:00 |
|
Pavel Dolgov
|
5e380e7526
|
Java inspection: convert the intention for "Remove redundant lambda parameter types" into an INFORMATION-level inspection (IDEA-156028, IDEA-157727)
|
2016-06-24 14:00:51 +03:00 |
|
Anna Kozlova
|
923b6cf252
|
delegate params: compound 2 intentions in one, set preselection (IDEA-112043)
|
2016-06-24 12:04:48 +03:00 |
|
Anna Kozlova
|
4f45f25c38
|
redundant exception: ignore recursive calls (IDEA-157773)
|
2016-06-22 17:58:08 +03:00 |
|
Anna Kozlova
|
81f3f9b17e
|
make class static on unresolved 'static' method reference (IDEA-157364)
|
2016-06-20 10:29:14 +03:00 |
|
Anna Kozlova
|
f7fbc4b4bc
|
anonymous -> lambda: accept anonymous classes with inferred another type and ref to a parameter as the cast would be inserted (IDEA-157457)
|
2016-06-15 13:44:38 +03:00 |
|
Anna Kozlova
|
9132043620
|
add single static import: allow second single static import if it doesn't produce ambiguity or hiding of on-demand import (IDEA-155031)
|
2016-06-07 10:57:34 +03:00 |
|
Anna Kozlova
|
de94a3250f
|
redundant cast inside conditional when opposite has another type
|
2016-06-06 17:52:24 +03:00 |
|
Anna Kozlova
|
a68cb4dfd3
|
disable conversion from anonymous if method has javadoc
|
2016-05-31 18:38:26 +03:00 |
|
Anna Kozlova
|
86aa72abe4
|
preserve comments while converting from lambda to method ref (IDEA-156734)
|
2016-05-31 11:44:10 +03:00 |
|
Anna Kozlova
|
7627e03439
|
fixed testdata
|
2016-05-30 20:01:09 +03:00 |
|
Anna Kozlova
|
4585214187
|
add single static import: don't replace instance member calls (IDEA-153929)
|
2016-05-26 18:56:33 +03:00 |
|
Anna Kozlova
|
137ee60763
|
create method from method reference: make abstract if inside interface and not static (IDEA-156596)
|
2016-05-25 19:37:58 +03:00 |
|
Anna Kozlova
|
3e2423f245
|
change signature from usage: ignore types of poly expressions if they are not assignable (IDEA-156521)
|
2016-05-25 18:40:17 +03:00 |
|
Anna.Kozlova
|
99ce4b4f46
|
redundant lambda code block: check applicability over replaced lambda
|
2016-05-23 16:29:23 +02:00 |
|
Anna.Kozlova
|
d2136b76b2
|
disable import of static constant on type element/assignment place (IDEA-156162)
|
2016-05-17 21:13:20 +02:00 |
|
Anna.Kozlova
|
ff555bd832
|
disable remove redundant else if then branch can throw exception (IDEA-156142)
|
2016-05-17 17:41:48 +02:00 |
|
Anna.Kozlova
|
2755100873
|
assign weaker access: find method to implement (IDEA-153610)
|
2016-05-13 18:55:16 +02:00 |
|
Anna.Kozlova
|
b5e7d766a1
|
add static import: remove qualifier in case of inheritance (IDEA-155419)
|
2016-05-12 21:06:35 +02:00 |
|
Anna Kozlova
|
1782d678a7
|
include all constructor candidates to calculate change signature fix (IDEA-128891)
|
2016-05-11 18:08:55 +02:00 |
|
Anna Kozlova
|
9d95879dc2
|
register make class static for illegal enclosing usage error (IDEA-155700)
|
2016-05-11 12:46:25 +02:00 |
|
Anna.Kozlova
|
9abe5476b6
|
new inference: return constraints: fail if outer call exists but can't be resolved (IDEA-154805)
|
2016-05-09 19:42:35 +02:00 |
|
Anna.Kozlova
|
f52458abdf
|
restrict anonym -> lambda: reject if return type would be changed (IDEA-154805)
|
2016-04-29 14:41:28 +02:00 |
|
Anna.Kozlova
|
567fc9ae88
|
fix testdata
|
2016-04-29 14:41:28 +02:00 |
|
Anna.Kozlova
|
ce9556a909
|
override default methods in interfaces with default methods (IDEA-155381)
|
2016-04-29 14:41:28 +02:00 |
|
Anna.Kozlova
|
b1645e3ae5
|
reuse utility method; ensure unknown functional type reduced to Object before create new psi
EA-75452 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText
|
2016-04-22 17:02:00 +02:00 |
|
Anna.Kozlova
|
1a2b94105e
|
EA-78630 - CCE: TrivialFunctionalExpressionUsageInspection$ReplaceWithLambdaBodyFix.replaceWithLambdaBody
|
2016-04-22 17:02:00 +02:00 |
|
Anna.Kozlova
|
5d6351b1ec
|
diamonds: don't accept inferred types when error appeared during inference (IDEA-154619)
|
2016-04-21 18:39:23 +02:00 |
|
Anna.Kozlova
|
399e59e8dd
|
fix testdata
|
2016-04-21 14:33:04 +02:00 |
|
Anna.Kozlova
|
a12bdff8a1
|
explicit -> diamond: ignore invalid types (IDEA-155017)
|
2016-04-20 19:13:20 +02:00 |
|
Anna.Kozlova
|
22c8d0f9ce
|
anonymous -> lambda: fix anonymous classes in enum constants
|
2016-04-20 17:49:29 +02:00 |
|
peter
|
a4aa1f2bd7
|
IDEA-152224 Unwrap if should check if there are conflicting variables
|
2016-04-19 14:00:30 +02:00 |
|
Anna.Kozlova
|
43fc40c4a5
|
anonym -> lambda, redundant cast, redundant type args: process top level overloads (IDEA-152766);
rearrange utils
|
2016-04-15 18:43:24 +02:00 |
|
Alexey Kudravtsev
|
bfcb00fff6
|
quick fix for MagicConstantInspection which suggests to replace 1 with Font.BOLD
|
2016-04-15 12:34:33 +03:00 |
|
Anna.Kozlova
|
f7137a044d
|
anonymous -> lambda: deep unique names (IDEA-154751)
|
2016-04-14 20:59:13 +02:00 |
|
Anna.Kozlova
|
59daba3004
|
disable return void suggestion (IDEA-154467)
|
2016-04-11 12:48:53 +02:00 |
|
Anna.Kozlova
|
9cdb5a70af
|
trivial method ref: check if qualifier is of assignable type (IDEA-154422)
|
2016-04-08 18:44:25 +02:00 |
|
Anna.Kozlova
|
572b7d8e7e
|
disable create enum constant when not applicable (IDEA-154293)
|
2016-04-08 18:44:25 +02:00 |
|