Commit Graph

10569 Commits

Author SHA1 Message Date
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
Alexey Sedunov 64e578297c Replace fold/unfold intentions with a set of specialized ones 2013-05-15 12:57:41 +04:00
Alexey Sedunov 9e441b0525 Fix intention descriptions and templates 2013-05-15 12:57:40 +04:00
Alexey Sedunov 2f00097b2a Add assertion messages 2013-05-15 12:57:39 +04:00
Alexey Sedunov d5e78c3bd5 Add support of comments in asymmetric returns 2013-05-15 12:57:38 +04:00
Alexey Sedunov 8757e3763b Remove redundant tests 2013-05-15 12:57:37 +04:00
Alexey Sedunov 97b53000ab Add @NotNull annotation to factory methods 2013-05-15 12:57:36 +04:00
Alexey Sedunov 89030d1ced Make predicate non-nullable 2013-05-15 12:57:35 +04:00
Alexey Sedunov 216f865658 Move assertion out of if statement 2013-05-15 12:57:34 +04:00
Alexey Sedunov a778ce24e7 Rename method 2013-05-15 12:57:33 +04:00
Alexey Sedunov 033e82666d Extract method for else branch check in when expression 2013-05-15 12:57:32 +04:00
Alexey Sedunov edea00f53e Extract method for assignment matching 2013-05-15 12:57:31 +04:00
Alexey Sedunov f473224e84 Add tests for folding/unfolding operations 2013-05-15 12:57:30 +04:00
Alexey Sedunov 02e9f174f0 Replace intentions for folding/unfolding operations 2013-05-15 12:57:29 +04:00
Alexey Sedunov 51658c65de Add folding/unfolding operations for branched control structures 2013-05-15 12:57:28 +04:00
Alexey Sedunov e4de51468f Add construction of "return" and "if" expressions to JetPsiFactory 2013-05-15 12:57:27 +04:00
Alexey Sedunov ed0bd5a908 Simplify "is assignment" check and move it to JetPsiUtil 2013-05-15 12:57:26 +04:00
Michał Sapalski 68cd832831 Search in all superclasses in quickfix for NOTHING_TO_OVERRIDE. 2013-05-15 10:33:19 +04:00
Svetlana Isakova 0e96e83154 removed unnecessary code 2013-05-14 20:58:56 +04:00
Svetlana Isakova c27427434f changes from pull request:
Improved flow analysis performance for variable initialization
by Spasi
2013-05-14 20:58:16 +04:00
Natalia.Ukhorskaya 308b1a3f29 Change PropertyMetadata in Library.jet 2013-05-14 15:38:50 +04:00
Natalia.Ukhorskaya 32c5f5f59d EA-46019 - assert: PropertyCodegen.generatePropertyDelegateAccess: delegate type can be null when delegate expression is unresolved and back-end called from light class generation 2013-05-14 15:38:49 +04:00
Natalia.Ukhorskaya 04120f432c Delegate properties break "Debug..." and "Run..." actions when type is specified
#KT-3594 Fixed
2013-05-14 15:38:48 +04:00
Natalia.Ukhorskaya de446a83f9 Refactoring: introduce variables for property scope 2013-05-14 15:38:47 +04:00
Natalia.Ukhorskaya 389563dd18 Refactoring: inline methods call 2013-05-14 15:38:46 +04:00
Natalia.Ukhorskaya aca6e97cf5 Create method for resolving delegate with scope (for resolve from ResolveSessionUtils) 2013-05-14 15:38:45 +04:00
Natalia.Ukhorskaya 3795af90d9 Remove redundant scope creation for property initializer 2013-05-14 15:38:44 +04:00
Natalia.Ukhorskaya af5f2f09de Minor refactoring: add annotations 2013-05-14 15:38:43 +04:00
Natalia.Ukhorskaya 9e584ded11 ClassFormatError because of initializing variable with Any type with primitive value
#KT-3524 Fixed
2013-05-14 15:38:42 +04:00
Andrey Breslav 551c370242 dumpByteCode flag 2013-05-13 19:49:15 +04:00
Andrey Breslav bb12685004 Allow using anonymous classes as interceptors 2013-05-13 19:49:15 +04:00
Andrey Breslav 39c9cbcd9e Box arguments if needed 2013-05-13 19:49:14 +04:00
Andrey Breslav bdd4296b0d Fix parameter indexing problem 2013-05-13 19:49:14 +04:00
Andrey Breslav ab48f3411a Support @ClassName 2013-05-13 19:49:13 +04:00
Andrey Breslav 3d40d11c98 Example using @MethodName 2013-05-13 19:49:12 +04:00
Andrey Breslav e5b2519aa2 Warn when no relevant methods are found 2013-05-13 19:49:12 +04:00
Andrey Breslav de7fd88373 Warn about using only the first instrumenter 2013-05-13 19:49:11 +04:00
Andrey Breslav f2bf2317f8 Better visible separation between individual instrumenters' outputs 2013-05-13 17:30:19 +04:00
Andrey Breslav cdc375ba06 Preloader's output beautified 2013-05-13 17:30:19 +04:00
Andrey Breslav 2ed217bb4a Some docs and example 2013-05-13 17:30:15 +04:00
Andrey Breslav 9f7a4ffe56 Unneeded interfaces removed 2013-05-13 17:29:58 +04:00
Andrey Breslav 71791d6080 Annotations moved to a separate package 2013-05-13 17:29:57 +04:00
Andrey Breslav d689cc0741 Using 'desc' instead of 'erasedSignature' 2013-05-13 17:29:57 +04:00
Andrey Breslav 9efc885c37 Instrumenter doesn't have to do profiling 2013-05-13 17:29:56 +04:00
Andrey Breslav 7782621617 Do not look for instrumenters in TIME mode 2013-05-13 17:29:56 +04:00
Andrey Breslav afe3ff9b6f done() method moved to where it is used 2013-05-13 17:29:55 +04:00
Andrey Breslav 42de8879fe Code beautified a little 2013-05-13 17:29:14 +04:00