Commit Graph

16208 Commits

Author SHA1 Message Date
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
Alexey Sedunov 0a89b26030 Extract Function: Implement UI for parameter type selection 2014-06-23 21:10:34 +04:00
Alexey Sedunov ca16f4231f Extract Function: Infer parameter type candidates
#KT-4940 Fixed
2014-06-23 21:10:12 +04:00
Alexey Sedunov 96557e6d3f DFS: Terminate traversal if node handler returns false 2014-06-23 19:32:36 +04:00
Alexey Sedunov e5ce5b7127 Extract Function: Fix call replacement for the case of lambda extraction 2014-06-23 19:32:35 +04:00
Alexey Sedunov a3f215fb34 Extract Function: Support extraction of "it" parameter from lambdas 2014-06-23 19:32:33 +04:00
Alexey Sedunov 14362134bd Extract Function: Traverse nested pseudocode instructions
#KT-5178 Fixed
2014-06-23 19:32:31 +04:00
Alexey Sedunov c7d8ab8219 Extract Function: Add support of property-as-function calls
#KT-5179 Fixed
2014-06-23 19:32:30 +04:00
Alexey Sedunov 6bc3772d29 Override/Implement: Add test to cover import optimization in the case of multiple import insertion (see #KT-4732) 2014-06-23 19:32:29 +04:00
Alexey Sedunov 5be7eb8a5c Shorten References: Do not optimize imports until shortening is finished
#KT-5227 Fixed
2014-06-23 19:32:27 +04:00
Alexey Sedunov 53c49b6333 Shorten References: Do not shorten qualified expression if receiver values are changed
#KT-5180 Fixed
2014-06-23 19:32:26 +04:00
Alexey Sedunov 5e2c2b4eca Pseudocode: Implement computation of expected type predicates 2014-06-23 19:32:25 +04:00
Alexey Sedunov 50228fa085 Pseudocode: Generate correct values for postfix increment/decrement 2014-06-23 19:32:22 +04:00
Alexey Sedunov 7c837909d8 Pseudocode: Bind result values to elements retrieved from resolved calls 2014-06-23 19:32:21 +04:00
Alexey Sedunov 4debb6eb6a Expression Typing: Record resolved calls for labeled this-expressions 2014-06-23 19:32:20 +04:00
Alexey Sedunov d01d186130 Pseudocode: Fix depth-first pseudocode traversal 2014-06-23 19:32:18 +04:00
Natalia Ukhorskaya 0968ea6914 Eval4j: catch IndexOutOfBounds exceptions 2014-06-23 17:40:05 +04:00
Natalia Ukhorskaya bdc60441c0 Try-catch exception value is not visible in debugger's local variables
#KT-3070 Fixed
2014-06-23 17:40:04 +04:00
Natalia Ukhorskaya a17bcce682 Add tests for exceptions from evaluate expression 2014-06-23 17:39:53 +04:00
Natalia Ukhorskaya 1687b9cbca Eval4j: add exception type in ExceptionThrown result 2014-06-23 17:39:23 +04:00
Natalia Ukhorskaya 28cbe95e0c Generate invokeSpecial for all private functions 2014-06-23 17:17:42 +04:00
Natalia Ukhorskaya c847d180a7 Eval4j: add ignore annotations for tests 2014-06-23 17:17:41 +04:00
Natalia Ukhorskaya fab770a346 Eval4j: support invokespecial instruction 2014-06-23 17:17:40 +04:00
Natalia Ukhorskaya 3edd6b52cf Evaluate expression: test cache using logger 2014-06-23 17:17:40 +04:00
Natalia Ukhorskaya b5f6df3144 Cache bytecodes for JetCodeFragment in Evaluate Expression 2014-06-23 17:17:39 +04:00