Commit Graph

17099 Commits

Author SHA1 Message Date
Pavel V. Talanov eec6fbb205 Stubs: simplify JetStubElementType#shouldCreateStub() 2014-06-24 16:02:55 +04:00
Andrey Breslav 38d4ca5469 Do not generate @NotNull annotations on void- or primitive-returning methods
#KT-4834 Fixed
  #KT-5255 Fixed
2014-06-24 15:54:11 +04:00
Valentin Kipyatkov b6aff9e9ee Java to Kotlin converter: added test data file back 2014-06-24 00:48:14 +04:00
Valentin Kipyatkov 9f100df85f Java to Kotlin converter: deleted wrong test data file 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov e38b1b4fd8 Java to Kotlin converter: more cases when field can be declared as val 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 5a8ab41948 Java to Kotlin converter: declare private field with no writes as val 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 07bbab3ea0 Java to Kotlin converter: fixed bug 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 04e2d3da58 Java to Kotlin converter: no explicit type for private and internal fields when possible 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 9365741918 Renamed test data file 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 4e7c7fc625 Fixed KT-5299 J2K: When generating named this@type, do not insert FQN
#KT-5299 Fixed
2014-06-24 00:48:13 +04:00
Valentin Kipyatkov c458993fed Java to Kotlin converter: fixed bug with unnecessary "run { }" construct generated in loop body 2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 0e9edb7487 Java to Kotlin converter: fixed a bug with incorrect assignment generation 2014-06-24 00:48:12 +04:00
Valentin Kipyatkov a28e7b0872 Java to Kotlin converter: minor code refactorings after code review 2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 6135ea5603 Java to Kotlin converter: minor code refactoring 2014-06-24 00:48:12 +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 2188af2bf9 Java to Kotlin converter: do not produce incorrect "code blocks" which are actually parsed as lambda's in Kotlin
#KT-4670 Fixed
2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 116c27117f Java to Kotlin converter: better comments preserving, never lose any comment
#KT-4489 Fixed
2014-06-24 00:48:12 +04:00
Valentin Kipyatkov ef62600d5e Java to Kotlin converter: big refactoring of code generation to never allow end of line comments to stick together with further code
#KT-4421 Fixed
2014-06-24 00:48:11 +04:00
Valentin Kipyatkov 8b5f169dd8 Java to Kotlin converter: new way of preserving comments and blank lines implemented (not completely though) 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov d01a2237b5 Java to Kotlin converter: working on not loosing comments - CommentConverter is passed when converting to Kotlin 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov c4bac83cc9 Java to Kotlin converter: working on not loosing comments - Element made Class instead of Trait 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov 600446bbd2 Java to Kotlin converter: working on not loosing comments - refactored redundant .toKotlin() calls 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov 7463da8fe0 Java to Kotlin: dropped Node interface 2014-06-24 00:48:11 +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 eef4e548e5 Java to Kotlin: annotations conversion - no redundant array type arguments
#KT-4487 Fixed
2014-06-24 00:48:10 +04:00
Valentin Kipyatkov bd30ae572e Java to Kotlin: correct conversion of array components in annotation attributes 2014-06-24 00:48:10 +04:00
Valentin Kipyatkov 65b3ec6dfd Java to Kotlin: Deprecated annotation conversion 2014-06-24 00:48:10 +04:00
Valentin Kipyatkov a8c61b377a Java to Kotlin: restored test data files with correct case 2014-06-24 00:48:10 +04:00
Valentin Kipyatkov 8a1dbcdfc6 Java to Kotlin: deleted test data files with wrong case 2014-06-24 00:48:10 +04:00
Valentin Kipyatkov be44c5b7be Fixed test for java to Kotlin copy/paste - java standard classes used to not be resolved 2014-06-24 00:48:10 +04:00
Valentin Kipyatkov 84a566b034 Converter from Java: minor change 2014-06-24 00:48:10 +04:00
Valentin Kipyatkov 26b6626358 Converter from Java: added proper annotations formatting 2014-06-24 00:48:09 +04:00
Valentin Kipyatkov c0a5355928 Converter from Java: basic implementation of annotations conversion 2014-06-24 00:48:09 +04:00
Valentin Kipyatkov 93ba66b2a3 Converter from Java: generate "create" for factory methods instead of "init" 2014-06-24 00:48:09 +04:00
Valentin Kipyatkov da5fe7adb0 Converter from Java: better conversion from java-specific to Kotlin classes
#KT-5173 Fixed
2014-06-24 00:48:09 +04:00
Valentin Kipyatkov c36624a58e Converter from Java: optimization to not instantiate visitor objects each time 2014-06-24 00:48:09 +04:00
Valentin Kipyatkov ab714f168c Converter from Java: do not produce class object for just private methods + fixed bug with unnecessary static member qualification 2014-06-24 00:48:09 +04:00
Valentin Kipyatkov b00316f93a Fixed KT-4417 Converter from java to kotlin incorrectly places nested classes under class object
#KT-4417 Fixed
2014-06-24 00:48:08 +04:00
Valentin Kipyatkov ed290178d5 Fixed KT-4437 Converter for java: do not generate assert with lambda for constant message
#KT-4437 Fixed
2014-06-24 00:48:08 +04:00
Valentin Kipyatkov 149ea16f5c Java to Kotlin converter: supported try-with-resource construct, fixed anonymous class generation + fixed a bug with method return type
#KT-4488 Fixed
2014-06-24 00:48:08 +04:00
Valentin Kipyatkov 1b948ef8f1 Java to Kotlin converter: minor code refactoring 2014-06-24 00:48:08 +04:00
Valentin Kipyatkov b71061eb5c Java to Kotlin converter: generate "!!." instead of "?." for nullable values
#KT-3943 Fixed
2014-06-24 00:48:08 +04:00
Valentin Kipyatkov a07dae9734 Java to Kotlin converter: minor code refining 2014-06-24 00:48:08 +04:00
Valentin Kipyatkov f2ace97c6c Java to Kotlin converter: minor 2014-06-24 00:48:08 +04:00
Valentin Kipyatkov 6fd8ac5236 Java to Kotlin converter: no more setting 'class identifiers', use ConversionScope 2014-06-24 00:48:07 +04:00
Valentin Kipyatkov 324040a02f Java to Kotlin converter: no usage search and body analysis for members out of conversion scope 2014-06-24 00:48:07 +04:00
Alexey Sedunov d6755b91ee Minor: Remove unnecessary action binding 2014-06-23 21:10:42 +04:00
Alexey Sedunov 66405cf883 Minor: Allow to select individual cells in Extract Function dialog 2014-06-23 21:10:40 +04:00
Alexey Sedunov 6be8ea5b19 Minor: Replace deprecated function call 2014-06-23 21:10:38 +04:00
Alexey Sedunov 64a2fde80a Extract Function: Fix signature update on dialog opening 2014-06-23 21:10:36 +04:00