Alexey Sedunov
|
181d8d8176
|
Extract Function: Improve "Extract Function" dialog
|
2014-07-11 19:13:28 +04:00 |
|
Alexey Sedunov
|
e792b3f1db
|
Pseudocode: Do not store "synthetic" flag of magic instructions
|
2014-07-11 19:13:27 +04:00 |
|
Alexey Sedunov
|
0a8fa404bf
|
Pseudocode: Generate additional returns for implicit return values (lambdas, functions with expression bodies)
|
2014-07-11 19:13:26 +04:00 |
|
Alexey Sedunov
|
3e3918ab6e
|
Extract Function: Keep track of original parameter descriptors
|
2014-07-11 19:13:25 +04:00 |
|
Alexey Sedunov
|
09a1a8ce8f
|
Extract Function: Support extraction of expressions in delegation
specifiers
|
2014-07-11 19:13:22 +04:00 |
|
Alexey Sedunov
|
1c75a5f642
|
Pseudocode: Generate instructions for superclass constructor calls. Consume value of delegate expression in the by-clause
|
2014-07-11 19:13:21 +04:00 |
|
Alexey Sedunov
|
523beab902
|
Pseudocode: Use value usage map to decide if expression is effective statement
|
2014-07-11 19:13:19 +04:00 |
|
Alexey Sedunov
|
02342fce5d
|
Pseudocode: Store lazily computed value usage map in the pseudocode
|
2014-07-11 19:13:18 +04:00 |
|
Alexey Sedunov
|
30192b4c40
|
Extract Function: Do not extract into lambda
|
2014-07-11 19:13:17 +04:00 |
|
Alexey Sedunov
|
0c49d48a48
|
Extract Function: Add support of initializer expressions
|
2014-07-11 19:13:16 +04:00 |
|
Evgeny Gerashchenko
|
026bc05a86
|
Fixed @Nullable annotation.
|
2014-07-11 15:39:20 +04:00 |
|
Evgeny Gerashchenko
|
42e3ad3ccf
|
Reused utility method getDirectMember.
|
2014-07-11 14:54:12 +04:00 |
|
Evgeny Gerashchenko
|
708816f09c
|
Fixed generating method calls from same module when inlining.
|
2014-07-11 14:54:12 +04:00 |
|
Valentin Kipyatkov
|
6f1bdd1227
|
Java to Kotlin converter: added blank line between main method and class
|
2014-07-10 23:20:40 +04:00 |
|
Valentin Kipyatkov
|
fea36048f5
|
Java to Kotlin converter: better and more correct code
|
2014-07-10 23:20:40 +04:00 |
|
Valentin Kipyatkov
|
3765a67a72
|
Java to Kotlin converter: removed unused class
|
2014-07-10 23:20:40 +04:00 |
|
Valentin Kipyatkov
|
bf952198b5
|
Java to Kotlin converter: refactoring
|
2014-07-10 23:20:40 +04:00 |
|
Valentin Kipyatkov
|
8a7639e233
|
Java to Kotlin converter: used standard utility for main method detection
|
2014-07-10 23:20:39 +04:00 |
|
Valentin Kipyatkov
|
d5f0af15c3
|
Java to Kotlin converter: fixed some bugs in switch statement conversion
|
2014-07-10 23:20:39 +04:00 |
|
Valentin Kipyatkov
|
2df60a27c8
|
Better code for change variable mutability fix
|
2014-07-10 23:20:39 +04:00 |
|
Valentin Kipyatkov
|
b983a0eaa0
|
Fixed KT-5204 Converter from java could generate var's for locals when needed
#KT-5204 Fixed
|
2014-07-10 23:20:39 +04:00 |
|
Valentin Kipyatkov
|
acc58173da
|
Java to Kotlin converter: added auto-conversion run of Kotlin analyzer. Implemented first fix with it - redundant !! removal
|
2014-07-10 23:20:39 +04:00 |
|
Valentin Kipyatkov
|
69a5b79342
|
J2K: minor code improvements
|
2014-07-10 23:20:39 +04:00 |
|
Valentin Kipyatkov
|
46d6ba3340
|
Java to Kotlin converter: special conversion of some Collections methods
|
2014-07-10 23:20:39 +04:00 |
|
Valentin Kipyatkov
|
9bd742472d
|
Fixed KT-5339 J2K: convert Objects.equals to == and !=
Mock JDK regenerated to add java.util.Objects
#KT-5339 Fixed
|
2014-07-10 23:20:38 +04:00 |
|
Valentin Kipyatkov
|
514f11695f
|
Java to Kotlin converter: explicit locals type option is used for for variable too
|
2014-07-10 23:20:38 +04:00 |
|
Valentin Kipyatkov
|
d3a1fa6b9a
|
KT-5405 J2K: convert for's through indices of some list or array into use of ".indices" + fixed a bug in for-statement conversion
#KT-5405 Fixed
|
2014-07-10 23:20:38 +04:00 |
|
Valentin Kipyatkov
|
5c688e9916
|
Fixed KT-5433 J2K: incorrect conversion of method call with vararg
#KT-5433 Fixed
|
2014-07-10 23:20:38 +04:00 |
|
Valentin Kipyatkov
|
fe46b40220
|
Java to Kotlin converter: no special logic for returns in try-with-resource is needed anymore
|
2014-07-10 23:20:38 +04:00 |
|
Valentin Kipyatkov
|
2ebaab867d
|
Fixed KT-5434 J2K: incorrect conversion of main method
#KT-5434 Fixed
|
2014-07-10 23:20:38 +04:00 |
|
Valentin Kipyatkov
|
28e003e79f
|
Java to Kotlin converter: code refactoring
|
2014-07-10 23:20:38 +04:00 |
|
Valentin Kipyatkov
|
139b7cdd27
|
Java to Kotlin converter: moved code of switch statement conversion into separate class
|
2014-07-10 23:20:38 +04:00 |
|
Valentin Kipyatkov
|
8d290ee127
|
Java to Kotlin converter: better switch conversion in case of code block in case
|
2014-07-10 23:20:37 +04:00 |
|
Valentin Kipyatkov
|
3ccd8839ff
|
Java to Kotlin converter: refactoring and fixing switch conversion
#KT-5390 Fixed
|
2014-07-10 23:20:37 +04:00 |
|
Valentin Kipyatkov
|
6bd5a12498
|
Java to Kotlin converter: minor refactoring of switch conversion + no need for empty else
|
2014-07-10 23:20:37 +04:00 |
|
Valentin Kipyatkov
|
e84c753e99
|
Fixed KT-5396 J2K: properly format "else if" on conversion
#KT-5396 Fixed
|
2014-07-10 23:20:37 +04:00 |
|
Valentin Kipyatkov
|
88235c3eb2
|
Minor code corrections after code review
|
2014-07-10 23:20:37 +04:00 |
|
Valentin Kipyatkov
|
330c41fc61
|
Java to Kotlin converter: code refactoring
|
2014-07-10 23:20:37 +04:00 |
|
Valentin Kipyatkov
|
f8261a8b6e
|
Java to Kotlin converter: fixed two similar bugs
|
2014-07-10 23:20:37 +04:00 |
|
Valentin Kipyatkov
|
806cc1e434
|
Java to Kotlin converter: do not drop exceptions, produce internal error!
|
2014-07-10 23:20:36 +04:00 |
|
Valentin Kipyatkov
|
3c42933f96
|
Java to Kotlin converter: fixed exception on conversion
|
2014-07-10 23:20:36 +04:00 |
|
Valentin Kipyatkov
|
13f40e5b0d
|
Java to Kotlin converter: constructor overloads to default parameter values conversion
|
2014-07-10 23:20:36 +04:00 |
|
Valentin Kipyatkov
|
e86d74600d
|
Java to Kotlin converter: access modifiers of factory functions + factory functions for nested classes
|
2014-07-10 23:20:36 +04:00 |
|
Valentin Kipyatkov
|
3c34197bc0
|
Java to Kotlin converter: base class parameters detection logic moved into ConstructorConverter too
|
2014-07-10 23:20:36 +04:00 |
|
Valentin Kipyatkov
|
e997557ba1
|
Java to Kotlin converter: refactored code to perform primary constructor detection only once
|
2014-07-10 23:20:36 +04:00 |
|
Valentin Kipyatkov
|
c260eee9b8
|
Java to Kotlin converter: moved primary constructor detection logic into ConstructorConverter
|
2014-07-10 23:20:36 +04:00 |
|
Valentin Kipyatkov
|
a58141b576
|
Java to Kotlin converter: code refactoring
|
2014-07-10 23:20:36 +04:00 |
|
Valentin Kipyatkov
|
66005a3469
|
Java to Kotlin converter: secondary constructors are converted to top-level functions instead of "create" functions in class object
|
2014-07-10 23:20:35 +04:00 |
|
Valentin Kipyatkov
|
f698ca69d7
|
Java to Kotlin converter: more correct detection of primary constructor + constructor chains are supported (not completely correct code generated yet)
|
2014-07-10 23:20:35 +04:00 |
|
Valentin Kipyatkov
|
9d1452bbbc
|
Java to Kotlin converter: minor code refactoring
|
2014-07-10 23:20:35 +04:00 |
|