Valentin Kipyatkov
|
b6e05e058e
|
Supported mapIndexedTo and mapIndexedNotNullTo
|
2016-08-16 17:38:07 +03:00 |
|
Valentin Kipyatkov
|
2652ea4233
|
Supported mapNotNullTo
|
2016-08-16 17:38:07 +03:00 |
|
Valentin Kipyatkov
|
8c7cdf1bf8
|
Supported other patterns for mapNotNull
|
2016-08-16 17:38:07 +03:00 |
|
Valentin Kipyatkov
|
a6132c7db9
|
Prohibiting incorrect transformations of loops with expression-embedded break or continue + allowed "?: continue" pattern for mapNotNull
|
2016-08-16 17:38:07 +03:00 |
|
Valentin Kipyatkov
|
cfc82c55c7
|
Checking that target collection is always the same
|
2016-08-16 17:38:06 +03:00 |
|
Valentin Kipyatkov
|
3f563f7058
|
takeWhile supported
|
2016-08-16 17:38:06 +03:00 |
|
Valentin Kipyatkov
|
9ff0f4d736
|
filterNotTo supported
|
2016-08-16 17:38:06 +03:00 |
|
Valentin Kipyatkov
|
0a61e5b0b2
|
filterIsInstanceTo NOT supported
|
2016-08-16 17:38:06 +03:00 |
|
Valentin Kipyatkov
|
395e61ca57
|
filterNotNullTo supported
|
2016-08-16 17:38:05 +03:00 |
|
Valentin Kipyatkov
|
318f3dfdd8
|
Supported filterIndexedTo
|
2016-08-16 17:38:05 +03:00 |
|
Valentin Kipyatkov
|
7c473e7159
|
Reduced amount of ResultTransformation implementations
|
2016-08-16 17:38:05 +03:00 |
|
Valentin Kipyatkov
|
a07bbf4aa8
|
More correct and easy comment restoring range management
|
2016-08-16 17:38:05 +03:00 |
|
Valentin Kipyatkov
|
27063bcd9b
|
Supported case when result variable initialization is not right before the loop
|
2016-08-16 17:38:04 +03:00 |
|
Valentin Kipyatkov
|
9b69c5c375
|
Split into more files
|
2016-08-16 17:38:04 +03:00 |
|
Valentin Kipyatkov
|
b24aee9c92
|
Moved classes into separate file
|
2016-08-16 17:38:04 +03:00 |
|
Valentin Kipyatkov
|
d61daed461
|
Recognizing manually incremented index
|
2016-08-16 17:38:04 +03:00 |
|
Valentin Kipyatkov
|
14e87b1f2c
|
Initial support for indexed transformations
|
2016-08-16 17:38:03 +03:00 |
|
Valentin Kipyatkov
|
955e1166fd
|
Transformation not necessary has real input variable
|
2016-08-16 17:38:03 +03:00 |
|
Valentin Kipyatkov
|
e0a7e1dbed
|
Checking that input variable is really used
|
2016-08-16 17:38:03 +03:00 |
|
Valentin Kipyatkov
|
345f2b8a52
|
More usable caret position
|
2016-08-16 17:38:03 +03:00 |
|
Valentin Kipyatkov
|
db53794663
|
Supported "count()"
|
2016-08-16 17:38:02 +03:00 |
|
Valentin Kipyatkov
|
53e3a67a7f
|
Better formatting in some cases
|
2016-08-16 17:38:02 +03:00 |
|
Valentin Kipyatkov
|
fe7ddbcc0d
|
More informative intention action text
|
2016-08-16 17:38:02 +03:00 |
|
Valentin Kipyatkov
|
bbb6ef4fbc
|
Check that "break" and "continue" do not produce false errors when using analyzeInContext
|
2016-08-16 17:38:02 +03:00 |
|
Valentin Kipyatkov
|
49f2c5f657
|
Sometimes shorter code with filterTo, mapTo and flatMapTo
|
2016-08-16 17:38:01 +03:00 |
|
Valentin Kipyatkov
|
744186402d
|
One more case when mapTo can be generated
|
2016-08-16 17:38:01 +03:00 |
|
Valentin Kipyatkov
|
db0028c11e
|
AddToCollectionTransformation checks that the result collection type cannot be changed
|
2016-08-16 17:38:01 +03:00 |
|
Valentin Kipyatkov
|
f51c5a19dd
|
Basic support for "add" to collection used inside the loop
|
2016-08-16 17:38:01 +03:00 |
|
Valentin Kipyatkov
|
d3721e9462
|
flatMapTo supported
|
2016-08-16 17:38:00 +03:00 |
|
Valentin Kipyatkov
|
f3c760607b
|
Consistent use of term "input variable" instead of "working variable"
|
2016-08-16 17:38:00 +03:00 |
|
Valentin Kipyatkov
|
df08493337
|
Moved check about old working variable not needed into common place
|
2016-08-16 17:38:00 +03:00 |
|
Valentin Kipyatkov
|
22fb397662
|
Initial support for "+=", filterTo and mapTo for collections
|
2016-08-16 17:38:00 +03:00 |
|
Valentin Kipyatkov
|
ac46684592
|
Supported initialization with assignment instead of declaration
|
2016-08-16 17:37:59 +03:00 |
|
Valentin Kipyatkov
|
1fe84b8a25
|
Refactoring
|
2016-08-16 17:37:59 +03:00 |
|
Valentin Kipyatkov
|
bd6b38962d
|
Elvis operator supported for all cases of find
|
2016-08-16 17:37:59 +03:00 |
|
Valentin Kipyatkov
|
79800492a9
|
firstOrNull() ?: ... supported
|
2016-08-16 17:37:59 +03:00 |
|
Valentin Kipyatkov
|
14ef93a797
|
More relaxed checks for any() with return
|
2016-08-16 17:37:58 +03:00 |
|
Valentin Kipyatkov
|
ff0bb4fbb8
|
Generating more simple construct instead of "let" in some cases
|
2016-08-16 17:37:58 +03:00 |
|
Valentin Kipyatkov
|
a760ef3665
|
Generating "firstOrNull()?.let {...}"
|
2016-08-16 17:37:58 +03:00 |
|
Valentin Kipyatkov
|
fba9b123dd
|
More cases supported for "any"
|
2016-08-16 17:37:58 +03:00 |
|
Valentin Kipyatkov
|
c0f3ab59ab
|
Supported "lastOrNull" and "any" without break in the loop
|
2016-08-16 17:37:57 +03:00 |
|
Valentin Kipyatkov
|
0243efd8b5
|
Added comments
|
2016-08-16 17:37:57 +03:00 |
|
Valentin Kipyatkov
|
fcbf68617e
|
Merging subsequent .filter()'s
|
2016-08-16 17:37:57 +03:00 |
|
Valentin Kipyatkov
|
6dbd9c944a
|
Refactored API to allow merging ResultTransformation with any kind of previous transformation
|
2016-08-16 17:37:57 +03:00 |
|
Valentin Kipyatkov
|
d7762778a2
|
Cannot transform to flatMap if old working variable used in the nested loop
|
2016-08-16 17:37:56 +03:00 |
|
Valentin Kipyatkov
|
50bd766992
|
Minor changes after code review
|
2016-08-16 17:37:56 +03:00 |
|
Valentin Kipyatkov
|
863040700e
|
Check for continue-statement of the inner loop!
|
2016-08-16 17:37:56 +03:00 |
|
Valentin Kipyatkov
|
8c498af3d8
|
Checking that smart casts will not be broken by conversion
|
2016-08-16 17:37:56 +03:00 |
|
Valentin Kipyatkov
|
978fc468fa
|
Temporary fix
|
2016-08-16 17:37:55 +03:00 |
|
Valentin Kipyatkov
|
12b1a99a6a
|
Initial implementation of loop-to-call-chain intention
|
2016-08-16 17:37:55 +03:00 |
|