Anna Kozlova
249d8ca4ba
change signature from usage: ensure not substitute parameter type from call site (IDEA-146284)
2015-10-12 20:15:41 +02:00
Anna Kozlova
a0ce4457ae
intention to replace assignment with void-call (IDEA-143069)
2015-10-01 20:11:59 +02:00
Anna Kozlova
090038722a
EA-70589 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText
2015-09-29 17:59:47 +02:00
Anna Kozlova
06eecb0b1d
duplicate throws: ensure checks are proceed with correct type after first problem detected (IDEA-145542)
2015-09-25 15:43:12 +03:00
Anna Kozlova
dc5e1732f7
report redundant suppressions on line with suppression or on corresponding member if member annotated (IDEA-145472)
2015-09-24 13:09:22 +03:00
Anna Kozlova
386c7f19c1
normalize variable declaration before application
...
EA-69890 - PIEAE: CompositePsiElement.getContainingFile
2015-09-18 20:47:47 +03:00
nik
6a479aeef7
'change language level' functionality moved to JavaProjectModelModificationService, test on IncreaseLanguageLevelFix added
2015-09-17 10:00:23 +03:00
Anna Kozlova
c989070fd9
fix testdata
2015-09-11 11:42:49 +03:00
Bas Leijdekkers
d57591cd2c
IDEA-142912 (Intention: replace switch with if failed with bit operator (operator precedence))
2015-08-27 17:45:58 +02:00
Anna Kozlova
ad99c2d9b5
anonymous -> lambda: cast if overload would fail (IDEA-144372)
2015-08-27 11:19:30 +03:00
Anna Kozlova
6144008d26
disable lambda -> meth ref if qualifier is not pure (IDEA-139825)
2015-08-26 16:23:35 +03:00
Anna Kozlova
c97e700f4f
EA-72085 - NPE: ChangeToAppendUtil.buildAppendExpression
2015-08-24 20:00:17 +03:00
Anna Kozlova
7cf142b351
make method return fix: make available for constructor calls; java 8 specific tests; simplify inference
2015-08-20 21:47:30 +02:00
Anna Kozlova
8a071c3f74
fix method return type for vararg calls (EA-71978 - IAE: PsiOldInferenceHelper.inferTypeArguments)
2015-08-20 10:06:09 +02:00
Anna Kozlova
3b3bf18b69
suggest to fix return type based on args of method call in return stmt (IDEA-140894)
2015-08-19 12:34:41 +02:00
Anna Kozlova
bbda6d8b02
fix operation assignment (IDEA-143986)
2015-08-17 14:54:35 +02:00
Bas Leijdekkers
59f25f9789
generate default method and improved text & description for "delegated method with default parameter value" intentions
2015-08-08 21:54:24 +02:00
nik
3338d30023
add dependency on external library quick-fix: API simplified, duplicated code removed
2015-07-29 08:31:13 +03:00
Anna Kozlova
75e3086fb2
lambda -> meth ref: reject replacements with invalid qualifiers (IDEA-142695)
2015-07-21 08:51:06 +02:00
Yaroslav Lepenkin
6731485cb8
Reformat with context on postponed formatting: fixed java test data
2015-07-07 17:24:09 +03:00
Yaroslav Lepenkin
ecf06ab80c
Alignment on "public, static, void, <T>, throws" replaced with none indent.
...
Previously alignment were created for mostly every element of method/class declaration
|public |void |run() {
}
Therefore, when posprocess reformat is used in reformat context mode on "run" rename will be reformatted whole method declaration starting with public, which sometimes can be not usefull
2015-07-07 17:24:06 +03:00
Anna Kozlova
fde12ea8dd
unimplement with cyclic inheritance (IDEA-142343)
2015-07-07 14:55:18 +03:00
Roman Shevchenko
2d7590996e
IDEA-122133 (type annotations skipped from copying into generated parameter)
2015-06-29 14:42:18 +03:00
Anna Kozlova
5ff68d71b0
stream api: shorten class references when replace with foreach
2015-06-26 15:13:22 +03:00
Anna Kozlova
db73973674
replace operator assignment with assignment (IDEA-137214)
2015-06-26 12:24:32 +03:00
Yaroslav Lepenkin
28a13b77d1
Do not skip blocks outside of formatting range, when building block wrappers. Blocks with alignments will be built and in some cases aligned properly.
...
Removed FieldInColumnsPreFormatProcessor, because now using CodeStyleManager#reformatWithContext we can reformat not only selected fragment, but also all blocks with alignments found there. (Also it fixes IDEA-99343)
Corrected test data
2015-06-23 17:22:25 +03:00
Anna Kozlova
28f8cd68d1
introduce local variable intention should not go to outer anonymous class (IDEA-141716)
2015-06-23 15:54:54 +03:00
Anna Kozlova
155f283f0e
convert to streams: convert lambda to constructor reference; don't accept list when arrayList expected
2015-06-09 20:31:02 +03:00
Anna Kozlova
63e11cc0f9
overload resolution: ensure that incorrect arg numbers are filtered and for varargs methods (IDEA-140868)
2015-05-29 17:42:25 +02:00
peter
fd62fed994
dfa: don't suggest to convert lvalue to ternary expression (IDEA-140519)
2015-05-20 15:21:20 +02:00
peter
069adff3dd
IDEA-140331 Improve intention action for 'Method invocation may produce NPE'
2015-05-18 17:02:51 +02:00
Anna Kozlova
90dd4c5a31
EA-68330 - AIOOBE: RedundantLambdaParameterTypeIntention.isAvailable
...
process lambdas with formal param types at vararg position
2015-05-12 12:26:42 +02:00
Anna Kozlova
2f47f0caf0
migration to stream api: disable for raw types (IDEA-140095)
2015-05-08 21:01:45 +02:00
Anna Kozlova
95dfffccb0
replace with collect: insert cast for method reference and simplify when redundant (IDEA-139704)
2015-04-28 13:04:58 +02:00
Anna Kozlova
b61e8bdb39
access static via instance: ensure type params are attached to the class reference (IDEA-139440)
2015-04-24 13:46:13 +02:00
Anna Kozlova
e5097dfc24
lambda -> method ref: ensure that capture is checked according to the param ref; avoid wildcards in method ref qualifiers (IDEA-139529)
2015-04-24 13:46:11 +02:00
Anna Kozlova
f0fae34076
intersection types in cast: provide "delete repeated interface" fix
2015-04-20 10:19:24 +02:00
peter
6c8750291f
IDEA-124359 Add Inspection for detecting nullable values passed into Optional.of()
...
test that it correctly works with Guava
2015-04-14 23:12:39 +03:00
peter
1b7a05e26f
IDEA-138553 Inspection for usages of Optinoal.ofNullable() for values known to be null or non-null
2015-04-14 23:12:38 +03:00
Anna Kozlova
778952b6e3
dataflow inspection: suggest to replace Optional.of with Optional.ofNullable if value could be null (IDEA-124359)
2015-04-08 21:14:35 +02:00
Anna Kozlova
b62f3b746c
change return type fix: ensure parameter types are untouched (IDEA-138748)
2015-04-08 12:06:01 +02:00
Anna Kozlova
b8683c3640
lambda -> meth ref: accept receiver only for calls on lambda params (IDEA-138593)
2015-04-01 20:39:31 +02:00
Anna Kozlova
a4eba96102
anonymous -> lambda: name conflict with params resolution (IDEA-138494)
2015-03-31 13:48:26 +02:00
Anna Kozlova
2e736c18fe
surround with try-catch: expand expression lambda to perform operation (IDEA-134500)
2015-03-26 12:07:12 +01:00
Anna Kozlova
6ae3daeef1
anonymous -> lambda: do not reject cases when return type can't be correctly inferred without target type constraints (IDEA-137390)
2015-03-24 21:04:06 +01:00
Anna Kozlova
4b3cebcf53
reformat on replace type args with <> (IDEA-138079)
2015-03-24 21:04:04 +01:00
Anna Kozlova
8a56a94ff1
add assert != null fix should be disabled on the class level (EA-66814 - assert: AddAssertStatementFix.applyFix)
2015-03-23 20:33:20 +01:00
Anna Kozlova
4d079801bf
incompatible types quickfix: reregister for variable initializer (IDEA-138023)
2015-03-23 17:57:15 +01:00
Anna Kozlova
e09ec985bf
light elements should not be simplified especially when they were not changed (EA-47908 - IOE: CheckUtil.checkWritable)
2015-03-19 19:55:19 +01:00
Anna Kozlova
50043d2bd9
EA-65747 - assert: LambdaCanBeMethodReferenceInspection.canBeMethodReferenceProblem
...
(cherry picked from commit 694a7b3b7869e1be50170bf6490c8b3e30328c4b)
2015-03-11 20:36:01 +01:00