Alexander Udalov
|
de0f751207
|
Replace object$ -> OBJECT$, instance$ -> INSTANCE$ in the project
|
2014-07-26 00:21:05 +04:00 |
|
Valentin Kipyatkov
|
3c33b7dcfa
|
Fixed KT-5247 Java to Kotlin: convert java @interfaces into Kotlin annotation classes
#KT-5247 Fixed
|
2014-07-25 16:54:24 +04:00 |
|
Valentin Kipyatkov
|
d7e857ed0a
|
J2K: fixed bug
|
2014-07-25 16:54:24 +04:00 |
|
Valentin Kipyatkov
|
d154d2e25b
|
Fixed assertion + refactored code making it more simple
|
2014-07-25 16:54:24 +04:00 |
|
Valentin Kipyatkov
|
b9bd5c8fb8
|
Fixed KT-5443 J2K converter crashes when code contains catch with multiple exception types
#KT-5443 Fixed
|
2014-07-25 16:54:24 +04:00 |
|
Valentin Kipyatkov
|
957ffb0313
|
J2K: adding type arguments where they are needed and removing them where they are redundant
|
2014-07-25 16:54:24 +04:00 |
|
Valentin Kipyatkov
|
f836278acc
|
J2K: Fixed conversion of <primitive type>.class
#KT-5428 Fixed
|
2014-07-25 16:54:24 +04:00 |
|
Valentin Kipyatkov
|
ab3eca92db
|
J2K: got rid from Converter.convertElement + fixed local classes conversion
#KT-5202 Fixed
|
2014-07-25 16:54:23 +04:00 |
|
Valentin Kipyatkov
|
930022aaac
|
J2K: correct conversion of nested class references
#KT-5294 Fixed
#KT-5400 Fixed
|
2014-07-25 16:54:23 +04:00 |
|
Valentin Kipyatkov
|
bcc36c4e48
|
Fixed KT-5383 J2K: preserve annotations from primary constructor + never drop constructors with annotations
#KT-5383 Fixed
|
2014-07-25 16:54:23 +04:00 |
|
Valentin Kipyatkov
|
3527b186bf
|
Fixed KT-5276 J2K: Convert calls to getClass() to javaClass property access
#KT-5276 Fixed
|
2014-07-25 16:54:23 +04:00 |
|
Valentin Kipyatkov
|
ecb984352e
|
J2K: supported synchronized, volatile, transient and strictfp
#KT-3678 Fixed
|
2014-07-25 16:54:22 +04:00 |
|
Valentin Kipyatkov
|
4ec746a2e1
|
Added test for KT-3367
|
2014-07-25 16:54:22 +04:00 |
|
Valentin Kipyatkov
|
dac1edc35f
|
Java to Kotlin converter: "//file" in test data has made optional
|
2014-07-25 16:54:22 +04:00 |
|
Valentin Kipyatkov
|
08d7b64160
|
Java to Kotlin converter: added tests for 2 old issues
|
2014-07-25 16:54:22 +04:00 |
|
Valentin Kipyatkov
|
276d1dcf14
|
Java to Kotlin converter: code refactorings after review
|
2014-07-25 16:54:22 +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
|
d5f0af15c3
|
Java to Kotlin converter: fixed some bugs in switch statement conversion
|
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
|
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
|
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
|
f8261a8b6e
|
Java to Kotlin converter: fixed two similar bugs
|
2014-07-10 23:20:37 +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
|
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
|
0b7ef4debf
|
Java to Kotlin converter: do not initialize non-val's in artificial primary constructor - it often produced stupid code
|
2014-07-10 23:20:35 +04:00 |
|
Valentin Kipyatkov
|
f8a412aea0
|
Java to Kotlin converter: do not generate default field initializer when it's incorrect anyway
|
2014-07-10 23:20:35 +04:00 |
|
Valentin Kipyatkov
|
44c706eb3e
|
Java to Kotlin converter: generate nullable type for private non-initialized fields
|
2014-07-10 23:20:35 +04:00 |
|
Valentin Kipyatkov
|
f8e4ecfa94
|
Java to Kotlin converter: fixed bugs with reference conversion in secondary constructors
|
2014-07-10 23:20:35 +04:00 |
|
Valentin Kipyatkov
|
e76c3d4e9e
|
Java to Kotlin converter: no intermediate __ variable in factory function if body is simple
|
2014-07-10 23:20:34 +04:00 |
|
Valentin Kipyatkov
|
467ca77854
|
Java to Kotlin converter: fixed bug with secondary constructor conversion
|
2014-07-10 23:20:34 +04:00 |
|
Valentin Kipyatkov
|
b7bcb0d9e3
|
Java to Kotlin converter: keep more than one blank line from original code
|
2014-07-10 23:20:34 +04:00 |
|
Valentin Kipyatkov
|
5a5e553367
|
Java to Kotlin converter: do not generate redundant parenthesis for empty constructor parameters
|
2014-07-10 23:20:34 +04:00 |
|
Valentin Kipyatkov
|
947bf3c0ed
|
Java to Kotlin converter: keep original placement of primary constructor body + better preserving of comments for constructor
|
2014-07-10 23:20:33 +04:00 |
|
Valentin Kipyatkov
|
8512eac768
|
Fixed KT-5315 J2K: Generate local var when parameter is being assigned
#KT-5315 Fixed
|
2014-07-10 23:20:33 +04:00 |
|
Valentin Kipyatkov
|
427280a365
|
Java to Kotlin converter: added heuristics that values of types like Integer are likely nullable
|
2014-07-10 23:20:33 +04:00 |
|
Valentin Kipyatkov
|
30a7c67aaa
|
Java to Kotlin converter: fixed crash in converter + more correct auto insertion of !!
#KT-851 Fixed
|
2014-07-10 23:20:33 +04:00 |
|
Valentin Kipyatkov
|
d3b773c0cd
|
Java to Kotlin converter: declaring locals as var's in most of cases when needed, dropped forceLocalVariableImmutability setting
|
2014-07-10 23:20:33 +04:00 |
|