Commit Graph

10829 Commits

Author SHA1 Message Date
Andrey Breslav a2b82095da Using the version of ASM that has debug information in it
No more need for extra ASM jars (analysis and util)
2013-05-21 13:56:34 +04:00
Natalia.Ukhorskaya 97c33b02ab Add library classes for delegated properties 2013-05-21 13:21:53 +04:00
Natalia.Ukhorskaya a5f1a8b3f8 TypeCastException when casting null to T with nullable upper-bound
#KT-3637 Fixed
2013-05-21 13:21:52 +04:00
chocolateboy 1bf06f7c02 make the preloader's required profiler argument (time|notime) an optional switch: -pp
fixes for broken Windows batch files
2013-05-21 12:22:06 +04:00
Nikolay Krasko 5ca4df3d1d KT-3618 Missing space in error message "inconstructor"
#KT-3618 Fixed
2013-05-20 17:56:26 +04:00
Nikolay Krasko ddb7b54eee KT-3620 Don't auto-import js.* and remove in optimize imports
KT-3620 Fixed
2013-05-20 17:56:24 +04:00
Nikolay Krasko f33792a567 Configure project descriptor with directives
Implement optimize import test with redesigned class
2013-05-20 17:56:23 +04:00
Nikolay Krasko e98ee752bf Base class for jet light fixture to execute runPostStartupActivities() in more fixture tests 2013-05-20 17:56:22 +04:00
Sergey Rostov 76edecb90a KT-3575, KT-2297 Inserting pair for "${": use JetPairMatcher instead of KotlinTypeHandler
#KT-3575 fixed
2013-05-20 17:02:38 +04:00
Nikolay Krasko 3b35810c9a Using JetClsMethod interface to recognize method compiled from kotlin 2013-05-20 15:52:53 +04:00
Nikolay Krasko 3a2a932e2f Add utility method for getting class from constructor parameter 2013-05-20 15:52:52 +04:00
Nikolay Krasko 11a1067380 Workaround assert when java function overrides kotlin property accessor
#KT-3621 Open
2013-05-20 14:17:46 +04:00
Nikolay Krasko 9bb2d90bca Go to implementation line markers for properties 2013-05-20 14:17:45 +04:00
Nikolay Krasko 3c087965f1 Add presentation renderer for field declared in constructor 2013-05-20 14:17:44 +04:00
Nikolay Krasko 0a2ca39f88 Search implementations for properties from constructor parameters 2013-05-20 14:17:43 +04:00
Nikolay Krasko 5cc49f55f3 KT-3542 Can't navigate to property implementation
#KT-3542 Fixed
2013-05-20 14:17:41 +04:00
Nikolay Krasko 312bd6f828 Get PsiMethod wrappers for properties and property accessors 2013-05-20 14:17:24 +04:00
Nikolay Krasko d97ab29588 Add test for wrapping function with default parameters 2013-05-20 14:15:02 +04:00
Nikolay Krasko cef1bb2aba Add test for wrapping function without body 2013-05-20 14:02:49 +04:00
Nikolay Krasko 8752b417e5 Refactoring: extract methods 2013-05-20 14:02:48 +04:00
Nikolay Krasko aac7f84c25 Fix absence of implemented/overridden markers on overridden functions 2013-05-20 14:02:46 +04:00
Michał Sapalski b2bb581127 Quickfix for MIXING_NAMED_AND_POSITIONED_ARGUMENTS. 2013-05-17 13:01:29 +04:00
Alexey Sedunov d5739bbe7f Fix negative quickfix tests which use when 2013-05-16 16:31:43 +04:00
Alexey Sedunov 71e76bc690 Add 'else' check for 'when' expressions 2013-05-15 19:02:04 +04:00
Alexey Sedunov 9442f96b87 Extract getText() method 2013-05-15 19:01:42 +04:00
Alexey Sedunov 158c2753b8 Transform 'if' to 'when' with subject if possible 2013-05-15 18:57:27 +04:00
Alexey Sedunov b2b7bce99a Relax transformation assertions 2013-05-15 18:51:14 +04:00
Alexey Sedunov ee9b96e943 Fix caret positioning in unfolded assignments 2013-05-15 18:51:08 +04:00
Alexey Sedunov 82bd796bc0 Add editor reference to transform() method 2013-05-15 18:51:02 +04:00
Alexey Sedunov 5dc08a5d25 Add tests with multiple conditions types in 'when' 2013-05-15 18:50:39 +04:00
Alexey Sedunov 4ab816a888 Add nullability annotations 2013-05-15 18:29:41 +04:00
Alexey Sedunov d2f3dd1629 JetPsiMatcher: reimplement using visitor, add structural type matching 2013-05-15 18:29:14 +04:00
Alexey Sedunov 4ee59e351b Move "else" extractor to JetWhenExpression 2013-05-15 12:58:01 +04:00
Alexey Sedunov d30e8d88fb Get rid of excessive replaces 2013-05-15 12:57:59 +04:00
Alexey Sedunov 3383679928 Extract 'assertNotNull' method 2013-05-15 12:57:58 +04:00
Alexey Sedunov 7dd5a2cfa4 Add tests for 'if-when' and 'when' transformations 2013-05-15 12:57:57 +04:00
Alexey Sedunov 06d43a8ab3 Register intentions in plugin.xml 2013-05-15 12:57:56 +04:00
Alexey Sedunov 5a185ee495 Add intentions names to bundle 2013-05-15 12:57:55 +04:00
Alexey Sedunov a1613d8b81 Implement 'when' transformations (flatten, introduce subject, eliminate subject) 2013-05-15 12:57:54 +04:00
Alexey Sedunov 3c691062ad Implement if-to-when and when-to-if transformations 2013-05-15 12:57:53 +04:00
Alexey Sedunov c054c0cdbe Add factory methods for parenthesized expressions 2013-05-15 12:57:52 +04:00
Alexey Sedunov 36b68786b0 Add new-line flags to 'if' factory method 2013-05-15 12:57:51 +04:00
Alexey Sedunov 057528eb39 Add 'when' builder and creation of 'is' expressions 2013-05-15 12:57:50 +04:00
Alexey Sedunov b7bc251311 Add extraction of 'else' branch of 'when' expression 2013-05-15 12:57:49 +04:00
Alexey Sedunov f5b1706b30 Extract 'assertNotNull' method 2013-05-15 12:57:48 +04:00
Alexey Sedunov f4c220e735 Rename intention predicate 2013-05-15 12:57:48 +04:00
Alexey Sedunov 9ae17cfe85 Make intentions inner classes 2013-05-15 12:57:47 +04:00
Alexey Sedunov fe3d749257 Minimize update operations on active PSI and move them to the last phase 2013-05-15 12:57:45 +04:00
Alexey Sedunov 2ba806bee8 Fix bug in assignment-to-when unfolding 2013-05-15 12:57:43 +04:00
Alexey Sedunov 09b4a5afa3 Add tests for unfolding to 'when' 2013-05-15 12:57:42 +04:00