Commit Graph

26 Commits

Author SHA1 Message Date
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 ecb984352e J2K: supported synchronized, volatile, transient and strictfp
#KT-3678 Fixed
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 2ebaab867d Fixed KT-5434 J2K: incorrect conversion of main method
#KT-5434 Fixed
2014-07-10 23:20:38 +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 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 5ac762034a Java to Kotlin converter: correct nullability in signatures of overrides
#KT-5269 Fixed
2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 0912001560 Fixed KT-5223 Converter from Java should convert "throws" in method declaration
#KT-5223 Fixed
2014-06-24 00:48:11 +04:00
Valentin Kipyatkov e947ad7294 Java to Kotlin converter: minor corrections after code review 2014-06-10 14:26:54 +04:00
Valentin Kipyatkov 118b23061b Java to Kotlin converter: fixed overriding of Object methods 2014-06-10 14:26:52 +04:00
Valentin Kipyatkov 6b11a5b3d9 Java to Kotlin converter: no more 2 conversion modes for each test, just a few tests to test non-standard settings 2014-06-10 14:26:51 +04:00
Valentin Kipyatkov abfd2d68b9 Java to Kotlin convertor: generating of val/var constructor parameters when possible 2014-06-03 17:29:00 +04:00
Pavel V. Talanov 1570a3792b Converter tests:
Change test data files extension to "java"
2013-12-22 16:49:57 +04:00
Pavel Talanov d69c61c972 Converter:
Preserve white spaces for top members (classes, package statements, comments)
2013-12-22 16:49:54 +04:00
Pavel V. Talanov 7f88de1dba Converter tests:
White spaces in member lists are preserved
2013-12-22 16:49:47 +04:00
Pavel V. Talanov 741e031ff1 Converter:
Use formatter in converter tests
Reformat test data
2013-12-22 16:46:51 +04:00
Pavel V. Talanov ea6b751645 Converter:
Place function type parameters before function name
2013-12-22 16:46:49 +04:00
Pavel V. Talanov 38f5361021 Converter:
Do not generate redundant visibility modifier for overrides
2013-12-22 15:53:22 +04:00
Pavel V. Talanov d98d8cfa7f Converter:
Functions are final by default in plugin mode
2013-12-22 15:53:21 +04:00
Pavel V. Talanov bf4e27b152 Converter:
Classes are final by default in plugin mode
2013-12-22 15:53:19 +04:00
Pavel V. Talanov 21bc2887d2 Converter:
Omit Unit return type
Refactor handling of Unit type: extract separate object UnitType
2013-12-22 15:53:14 +04:00
Pavel V. Talanov 82b19499e3 Converter tests:
Use generated tests approach in converter tests

Introduce two seperate generated test cases of each of configurations, all tests are generated in both test cases
Test data for plugin configuration has extension "ide.kt", for basic configuration "*.kt"
Test data file is used to determine type of the test (file/class/expression/...) instead of directory, all test data is moved accordingly
Add abstract base classes for generated tests
Rename test folder "file" to "misc" (for the lack of imagination)
2013-12-22 15:53:13 +04:00
Svetlana Isakova 8b45b26785 reordered modifiers order: visibility first in j2k converter 2012-03-30 14:37:15 +04:00
Svetlana Isakova 83426659f1 j2k tests fixed 2012-03-30 14:11:44 +04:00
Svetlana Isakova 167a9c444a Added 'public' annotation and specified return types for library functions 2012-03-30 13:38:35 +04:00
Andrey Breslav d74b79d9db Granular test configurations 2012-01-27 18:33:52 +04:00