Alexey Sedunov
e331f13a32
J2K Converter: Support class references as top-level elements
2015-08-07 23:30:09 +03:00
Mikhail Glukhikh
4bd48c4796
Regular modifier checker implemented (initial version). A set of tests fixed accordingly.
...
Most of modifier diagnostic is expressed by REDUNDANT_MODIFIER, INCOMPATIBLE_MODIFIERS, REPEATED_MODIFIER, WRONG_MODIFIER_TARGET, WRONG_MODIFIER_PARENT.
A set of modifier diagnostics is not in use now (but not deleted yet).
2015-08-03 19:41:50 +03:00
Natalia Ukhorskaya
ad6611b930
J2K: If last expression in Method Call is Lambda add it outside the parenthesis
2015-07-30 10:00:26 +03:00
Natalia Ukhorskaya
40d2fd7994
J2K: Do not skip any unknown expression
2015-07-30 10:00:26 +03:00
Natalia Ukhorskaya
28f0866467
J2K: Convert Java8 lambdas properly
...
#KT-7149 Fixed
2015-07-30 10:00:26 +03:00
Natalia Ukhorskaya
8759601ef6
J2K: extract base class for Parameter
2015-07-30 10:00:25 +03:00
Natalia Ukhorskaya
f713e66484
Minor: move methods
2015-07-30 10:00:25 +03:00
Natalia Ukhorskaya
3ab53eb5e3
Minor: change parameters order
2015-07-30 10:00:24 +03:00
Natalia Ukhorskaya
c86b25b1dc
Make j2k depends on idea-core instead of idea-full
2015-07-30 10:00:24 +03:00
Natalia Ukhorskaya
22ee063269
Add platformStatic annotation to main method from java
...
#KT-8219 Fixed
2015-07-30 10:00:24 +03:00
Natalia Ukhorskaya
b54da25108
J2K: do not convert doc comments on WebDemo
...
#KT-7968 Fixed
2015-07-30 10:00:23 +03:00
Mikhail Glukhikh
00eaec766d
Function name fixed in AnnotationConverter
2015-07-29 11:37:16 +03:00
Valentin Kipyatkov
9d84e4b60a
Fixed EA-70681
2015-07-28 22:39:32 +03:00
Mikhail Glukhikh
a86857fbb5
Java Deprecated is mapped in accordance with Java Target / Retention, some diagnostic changed
2015-07-28 17:13:37 +03:00
Mikhail Glukhikh
f551d64ea2
Refactoring: AnnotationTarget / AnnotationRetention renamed to KotlinTarget / KotlinRetention
...
(for not clashing with the same built-in classes)
2015-07-22 19:01:25 +03:00
Dmitry Jemerov
af722c8acd
code cleanup: j2k module
2015-07-21 16:20:09 +02:00
Mikhail Glukhikh
cf26310042
Java to Kotlin annotation target mapping: relevant fix for J2K
2015-07-21 15:20:34 +03:00
Denis Zharkov
97af85da9c
Change default upper bound of Java type parameters to Any!
...
#KT-7672 Fixed
2015-07-21 15:16:05 +03:00
Valentin Kipyatkov
283c8668f5
Don't use PsiElement.getReference() on JetElement
2015-07-16 13:49:17 +03:00
Denis Zharkov
5c60a1bdb8
Make project compilable after PurelyImplements annotation introduction
2015-07-09 16:36:48 +03:00
Denis Zharkov
151231ef1a
Adjust testData
...
Standard JDK collections purely implement kotlin.Mutable* with non-platform arguments
2015-07-09 16:36:47 +03:00
Denis Zharkov
0a19fb7df2
Make project compilable after types enhancement
2015-07-09 16:36:46 +03:00
Valentin Kipyatkov
26f72d0935
MInor corrections after code review
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov
c75a18291c
KT-7918 J2K: don't generate jvmOverloads on private declarations
...
#KT-7918 Fixed
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov
4c80db9249
KT-8110 J2K: Don't convert "==" to "===" for enum classes
...
#KT-8110 Fixed
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov
767e21db76
J2K - no '@' required for primary constructor annnotations
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov
8e3c793760
Used named arguments for clarity
2015-07-06 16:48:50 +03:00
Valentin Kipyatkov
67cf180aba
Code clarification
2015-07-06 16:48:50 +03:00
Valentin Kipyatkov
d3402280c5
Extracted methods
2015-07-06 16:48:50 +03:00
Valentin Kipyatkov
40fe680acf
J2K: preserving line breaks between arguments
2015-07-06 16:48:50 +03:00
Valentin Kipyatkov
fefb828fae
J2K: preserving line breaks between parameters
2015-07-06 16:48:50 +03:00
Valentin Kipyatkov
1e988028a9
Optimization
2015-07-06 16:48:49 +03:00
Valentin Kipyatkov
403549b924
Renames
2015-07-06 16:48:49 +03:00
Valentin Kipyatkov
6679a6912e
Memory optimizations + more clear code
2015-07-06 16:48:49 +03:00
Valentin Kipyatkov
fdff2c7153
J2K: preserving line breaks between enum members from original code
2015-07-06 16:48:49 +03:00
Ilya Gorbunov
6d4e48ab9a
Compiler&plugin deprecations cleanup: string operations.
2015-06-29 17:06:43 +03:00
Ilya Gorbunov
32144257ec
Compiler&plugin deprecations cleanup: length, size, indices, tail and other collection operations.
2015-06-29 17:06:28 +03:00
Ilya Gorbunov
2c31a1a345
Compiler&plugin deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.
2015-06-29 17:06:12 +03:00
Denis Zharkov
d18c1ca32e
Update J2K behavior with empty jdk annotations
2015-06-23 16:44:46 +03:00
Nikolay Krasko
53ab02e877
Generate private constructors for enums in coverter
2015-06-23 15:59:29 +03:00
nik
3136e5eefd
removed registration of deprecated extensions points without implementations
2015-06-23 15:59:24 +03:00
Natalia Ukhorskaya
ba6b378378
Fix tests: register JavaClassSupers service in WebDemoTest
2015-06-23 15:59:17 +03:00
Valentin Kipyatkov
bf014fc1c5
KT-5419 J2K: convert string concatenation to string template + implemented corresponding inspection
...
#KT-5419 Fixed
2015-06-15 18:32:45 +03:00
Denis Zharkov
eb7114bd53
Add 'constructor' keyword in whole project where needed
2015-06-12 09:55:15 +03:00
Valentin Kipyatkov
366a2be8a7
KT-7989 ReplaceWith replacement adds redundant type arguments for platform types
...
Highlighting of redundant type arguments made more strict about platform types
#KT-7989 Fixed
2015-06-11 23:30:22 +03:00
Valentin Kipyatkov
0cb2348b2f
KT-6807 J2K: Convert "==" to "===" if class has equals() method
...
#KT-6807 Fixed
2015-06-06 11:00:55 +03:00
Valentin Kipyatkov
9e27e208ef
Made test data correct
2015-06-04 16:20:30 +03:00
Valentin Kipyatkov
f14615315d
KT-5482 Redundant type arguments are not detected in some cases
...
#KT-5482 Fixed
2015-06-04 16:20:29 +03:00
Valentin Kipyatkov
6e7fd19d8e
KT-7695 Java to Kotlin converter incorrectly generates a cast to non-nullable type
...
#KT-7695 Fixed
2015-06-04 15:11:48 +03:00
Valentin Kipyatkov
1fa777f3c3
Fixed EA-60042
2015-06-04 15:11:48 +03:00