Ilya Kirillov
f950a0246c
New J2K: handle correctly short names which are imported by default in kotlin (like List or Result)
...
Kotlin default import inserter was unable to correctly insert such imports
#KT-34165 fixed
2019-10-04 15:17:35 +03:00
Ilya Kirillov
043a669812
New J2K: do not print qualified names if corresponding qualifier can unambiguously resolved
...
This speeds up shortening qualified references phase
2019-09-29 11:39:37 +03:00
Ilya Kirillov
c000f33955
New J2K: make initial generating code formatting better
2019-09-29 11:39:36 +03:00
Ilya Kirillov
f3b53a9532
New J2K: rework Java code formatting collecting
...
#KT-33687 fixed
2019-09-29 11:39:35 +03:00
Ilya Kirillov
f9fac0acf5
New J2K: do not save import statements in files as we print fqNames for calls
...
This may cause conflicts on shortening fq references post-processing step
2019-09-24 17:13:11 +03:00
Ilya Kirillov
cfd476ca7e
New J2K: correctly convert main method with varargs argument
...
#KT-33756 fixed
2019-09-17 11:56:06 +03:00
Ilya Kirillov
dca0dc1933
New J2K: do not recalculate types for binary & unary expressions and rewrite assignment expressions conversion
...
#KT-33679 fixed
2019-09-10 14:09:29 +03:00
Ilya Kirillov
f61bb5aa39
New J2K: implement mutability inference in post-processing
...
#KT-24293 fixed
#KT-19603 fixed
2019-09-10 14:09:26 +03:00
Ilya Kirillov
c28515be59
New J2K: use nullable type for unknown for public declarations & prepare for mutability inference
...
#KT-32518 fixed
2019-09-10 14:09:25 +03:00
Ilya Kirillov
2bd5a1f196
New J2K: separate nullability inference from common one & nullability bug fixes
...
It will be needed for structure mutability inference
#KT-21467 fixed
#KT-32609 fixed
#KT-32572 fixed
#KT-24677 fixed
2019-07-25 14:34:35 +03:00
Ilya Kirillov
f79b282c60
New J2K: add better support of implicit functional interfaces
...
#KT-32702 fixed
#KT-19327 fixed
2019-07-25 14:34:34 +03:00
Ilya Kirillov
ba3927b580
New J2K: add default null value to property with type parameter type when it is implicit in Java
...
#KT-32436 fixed
2019-07-10 13:16:53 +03:00
Ilya Kirillov
934425e86a
New J2K: rearrange and optimize some post-processings
2019-07-10 13:16:52 +03:00
Ilya Kirillov
3e04bfb156
New J2K: do not print modifiers which are going to be removed in postprocessing
2019-07-10 13:16:52 +03:00
Ilya Kirillov
0dfaae2bb4
New J2K: add some tests from obsolete issues
2019-06-26 18:36:05 +03:00
Ilya Kirillov
59f66d5882
New J2K: split diagnostic based processing from inspection ones
...
Analysing file file with diagnostics on each step of post-processings is rather expensive operation so the inspection-like post-processings which don't require diagnostic information was separated from ones that need it
Related to #KT-31848
2019-06-11 18:16:06 +03:00
Ilya Kirillov
6d3967d922
New J2K: add tests for some obsolete J2K issues
2019-06-11 10:35:31 +03:00
Ilya Kirillov
5f8b5efd66
New J2K: do not find import usages in AST building phase
...
It is a rather heavy operation and it increases conversion time
Related to #KT-31848
2019-06-11 10:34:34 +03:00
Ilya Kirillov
ca23eb44a1
New J2K: add type star projections for converted classes raw references
...
#KT-31818 fixed
2019-06-05 23:33:12 +03:00
Ilya Kirillov
845cde2d23
New J2K: do not add star projection type for raw class literal expression
...
#KT-15791 fixed
2019-06-05 23:33:12 +03:00
Ilya Kirillov
58611ec417
New J2K: add test data for #KT-16662, #KT-15991, #KT-12050
2019-06-05 23:33:12 +03:00
Ilya Kirillov
3944a976df
New J2K: handle static imports from Java correctly & do not ignore imports in tests
2019-05-31 00:25:52 +03:00
Ilya Kirillov
95a6f59c62
New J2K: preserve declarations order & place init sections to the end
2019-05-31 00:25:52 +03:00
Ilya Kirillov
ab26061b5e
New J2K: fix testData
2019-05-31 00:25:52 +03:00
Ilya Kirillov
d2a3d00548
New J2K: fix existing test data
2019-04-22 22:54:48 +03:00
Ilya Kirillov
c7e08f9e5d
New J2K: Fix existing test data
2019-04-10 21:29:18 +03:00
Ilya Kirillov
b411e8e18e
New J2K: Split old j2k and new j2k tests
2019-04-03 11:24:19 +03:00