Anna Kozlova
db4d62e485
change test data to be more realistic
2018-06-01 11:15:29 +03:00
Anna Kozlova
f1862f7e01
refactor after review IDEA-CR-33048
2018-05-30 16:31:02 +03:00
Tagir Valeev
3c2cd21d35
MigrateToStreamFix: explicit formatting removed (as formatted anyways automatically)
2018-05-30 18:23:38 +07:00
Roman.Ivanov
a591f4e58e
CreateTypeParameterFromUsage: ignore when identifier is in call
...
IDEA-192775
2018-05-30 11:01:20 +07:00
Roman.Ivanov
9b9ec7708c
CreateTypeParameterFromUsage: ignore qualified references: IDEA-192528
2018-05-30 11:01:19 +07:00
Anna Kozlova
5d77379fd3
create field from parameter even if parameter is already used in assignment
...
IDEA-192896
2018-05-29 20:54:23 +03:00
Anna Kozlova
323a164d0c
convert field to local: clear final modifier when used for write (IDEA-192735)
2018-05-28 18:54:02 +03:00
Anna Kozlova
4dfc2dbe6c
restore comments on Insert New
2018-05-28 13:08:22 +03:00
Tagir Valeev
0269e72a79
IDEA-191856 "Replace Optional.isPresent() condition with functional style expression" creates bad code when used with Type Promotion
2018-05-24 12:44:33 +07:00
peter
9a96704d9a
"add on demand static import": avoid stub/text inconsistency on unnamed references
2018-05-23 18:07:58 +02:00
Roman.Ivanov
c99d0a99af
ChangeUIDAction: make it work without initializer
2018-05-23 16:29:11 +07:00
Roman.Ivanov
ea2ac73af8
ChangeUIDAction: fix review issues: IDEA-CR-32493
2018-05-22 17:14:46 +07:00
Roman.Ivanov
5f3a81b04a
VariableAccessFromInnerClassJava10: fix review issues: IDEA-CR-31797
2018-05-22 16:58:34 +07:00
Roman.Ivanov
7504c18421
AddExceptionToExistingCatch: fix collecting try statements IDEA-CR-30935
2018-05-22 15:47:32 +07:00
Anna Kozlova
e077fa59eb
access static via interface class: fix case without qualifier (IDEA-192246)
2018-05-22 11:06:00 +03:00
Anna Kozlova
e524d46129
convert to local: restore comments once (IDEA-192268ˆ)
2018-05-18 20:16:28 +03:00
Anna.Kozlova
f407fb73c3
unknown class get all unresolved reference fixes (IDEA-192090)
2018-05-17 16:18:52 +02:00
Anna.Kozlova
10e023e75e
disable on-demand static import for non-static members (IDEA-191774)
2018-05-15 15:33:42 +02:00
Tagir Valeev
b336e70485
Less smart simplifications after loop-to-stream (keep stream)
2018-05-13 18:10:54 +07:00
Tagir Valeev
ca3f94d456
FoldExpressionIntoStream: support String.join-able patterns (IDEA-190570)
2018-05-11 16:25:05 +07:00
Tagir Valeev
c55d9483b2
IntroduceVariableIntentionAction: stop at code block
...
To prevent escaping lambda/anonymous class
2018-05-10 13:26:15 +07:00
Tagir Valeev
4861c7cc17
RedundantStringOperation: refactored to CallMapper; indexOf/startsWith/lastIndexOf scenarios
...
Fixes IDEA-191536 More redundant string operations with indexOf lastIndexOf startsWith
2018-05-10 12:01:59 +07:00
Roman.Ivanov
a9b2ba633f
Create intention to change serialVersionUID: IDEA-25703
2018-05-08 11:59:36 +07:00
Roman.Ivanov
5147b0b394
Create intention to change serialVersionUID: IDEA-25703
2018-05-08 11:59:36 +07:00
Anna Kozlova
2702d8c729
redundant type args: provide context for copied enum constant (IDEA-191043)
2018-05-02 20:06:12 +02:00
Anna Kozlova
e137127cc1
redundant type args: provide context for copied enum constant (IDEA-191043)
2018-05-02 20:06:10 +02:00
peter
00222d2816
NullableStuffInspection: an option to not complain about generated implementation (IDEA-187625)
2018-04-27 20:19:00 +02:00
Anna.Kozlova
51a2d549b2
highlight only method name on unhandled exception (IDEA-190912)
2018-04-25 21:11:38 +02:00
Rustam Vishnyakov
53d0972e83
Do not indent control structures parentheses
...
Fixes:
IDEA-98552 for() statement: Place ')' on new line → "incorrect" alignment
IDEA-175560 Right parenthesis (rparen) on new line is not indented properly
2018-04-25 18:10:02 +03:00
Roman.Ivanov
c0ba114576
SortContentAction: preserve comments in corner case
2018-04-25 16:41:41 +07:00
Anna.Kozlova
d5c1446732
enable var type change when method is called on qualifier (IDEA-190067)
2018-04-23 17:01:52 +02:00
Tagir Valeev
53094fd2d2
IDEA-190727 Replace instanceof with null-check could automatically eliminate double negation
2018-04-22 17:07:04 +07:00
Roman.Ivanov
32847d75a5
VariableAccessFromInnerClassJava10: fix review issues: IDEA-CR-31797
2018-04-20 10:43:23 +07:00
Anna.Kozlova
300ba0e9bb
cleanup anonymous type when asked for variable type
...
check that effective cast type will help (IDEA-190473)
2018-04-19 13:23:22 +02:00
Tagir Valeev
c76d9aba62
StreamToLoopInspection: support Map.forEach()
...
Fixes IDEA-190440 Convert usage of java.util.Map.forEach() to for (... entrySet()) loop
2018-04-19 12:12:40 +07:00
Tagir Valeev
91b269f9fb
CountingLoop: support decreasing loops
...
Fixes IDEA-190412 Unroll loop action: support decreasing loops
2018-04-17 17:48:00 +07:00
Tagir Valeev
a1a4663b73
CollectMigration: support toUnmodifiableMap
...
Fixes IDEA-187213 Stream API migration: support Java 10 toUnmodifiableList/Set/Map collections
2018-04-17 15:06:35 +07:00
Anna.Kozlova
48dcb9fe54
split declaration: PIEAE (IDEA-190299)
2018-04-16 16:45:23 +02:00
Roman.Ivanov
3f6f9467c1
add fix to create field in anonymous class for lambdas: IDEA-189928
2018-04-16 12:47:03 +07:00
Tagir Valeev
165e2a527f
DFA: support of Class.isInstance, isAssignableFrom and class literal tracking
...
Fixes IDEA-189865 Support class.isAssignableFrom and class.isInstance in DFA
2018-04-15 13:21:49 +07:00
Tagir Valeev
d31f5f410d
ExtractIfCondition: fix testdata (extra comment)
2018-04-13 10:39:50 +07:00
Roman.Ivanov
5e0d5a8c16
AddExceptionToExistingCatch: disable fix for local classes: IDEA-189828
2018-04-10 15:49:24 +07:00
Roman.Ivanov
db891c3f24
SortContentAction: place \n correctly if comment inside node IDEA-189822
2018-04-10 15:13:08 +07:00
Roman.Ivanov
c7f0ee1fb9
add fix to create type parameter from usage: IDEA-189833
2018-04-09 18:18:03 +07:00
Anna.Kozlova
f86e0a31ea
disable exceptional fixes for local classes (IDEA-189596)
2018-04-09 11:38:11 +02:00
Tagir Valeev
83ebaa7f64
Extract common conjunct from if-else chain in ExtractIfConditionAction
...
Fixes IDEA-179499 New inspection: Should break out common conjunct from "if / else if"
2018-04-07 09:08:57 +03:00
Roman.Ivanov
b973d42f1c
AddExceptionToExistingCatchFix: hide fix in catch or finally IDEA-189654
2018-04-06 12:26:55 +07:00
Anna.Kozlova
34ef66e51c
add exception to existing catch: ensure qNames are adjusted
2018-03-29 16:11:08 +02:00
Roman.Ivanov
b938da3020
AddExceptionToExistingCatch: more concrete message, scroll and highlight
2018-03-29 11:24:55 +07:00
Roman.Ivanov
21ddec7d1f
change AddExceptionToExistingCatch to be quickfix
2018-03-29 11:24:55 +07:00