Commit Graph

20673 Commits

Author SHA1 Message Date
Nikolay Krasko d230cfc192 Update state for idea branches 2015-03-05 17:21:11 +03:00
Evgeny Gerashchenko 0bc8efa20d Reverted old behaviour of DescriptorToSourceUtils.descriptorToDeclaration() 2015-03-05 15:19:35 +03:00
Evgeny Gerashchenko e7796fbb58 Not trying to find declaration in both builtins and decompiled code (as it worked before). 2015-03-05 15:19:34 +03:00
Evgeny Gerashchenko 2b522f2d5e Added comments. 2015-03-05 15:19:34 +03:00
Evgeny Gerashchenko 6ee4d92f36 Renamed object and its methods. 2015-03-05 15:19:33 +03:00
Evgeny Gerashchenko 6982757700 Optimized method. Moved logic about package view to JetReference. 2015-03-05 15:19:33 +03:00
Evgeny Gerashchenko 46940d272e Convert DescriptorToSourceUtils to Kotlin. Code cleanup. 2015-03-05 15:19:32 +03:00
Evgeny Gerashchenko 44d86da1cd Convert DescriptorToSourceUtils to Kotlin. Auto-convert. 2015-03-05 15:19:32 +03:00
Evgeny Gerashchenko 648336e759 Convert DescriptorToSourceUtils to Kotlin. Rename. 2015-03-05 15:19:31 +03:00
Evgeny Gerashchenko 9a9b2a8540 Not finding classes for package view. It is not relevant anymore: we see Java classes as classes, not packages. 2015-03-05 15:19:30 +03:00
Evgeny Gerashchenko 8ab94a18ae Inlined trivial method classDescriptorToDeclaration 2015-03-05 15:19:30 +03:00
Evgeny Gerashchenko 7b6f83815c Unified obtaining psi element for descriptor. Now code for finding effective descriptors of fake override and finding source element for original declarations are separated. Old method DescriptorToSourceUtils.descriptorToDeclaration is still there, because it has ~90 usages. 2015-03-05 15:19:29 +03:00
Evgeny Gerashchenko a56b1da11f Minor. Removed unused function. 2015-03-05 15:19:29 +03:00
Dmitry Jemerov 48b0afd84d correctly generate safe casts from Unit type
#KT-4494 fixed
2015-03-05 11:59:23 +01:00
Dmitry Jemerov 2835459920 correctly generate 'in' expressions with IntRange on RHS and a type other than Int on LHS 2015-03-05 11:33:24 +01:00
Dmitry Jemerov 1188be9070 generate correct bytecode for constructors using infix call syntax
#KT-4589 Fixed
2015-03-05 11:26:27 +01:00
Pavel V. Talanov ed4c265564 Drop ClassKind.CLASS_OBJECT
Default and non-default objects now have ClassKind.OBJECT
2015-03-05 13:06:33 +03:00
Pavel V. Talanov f72f548a93 Add ClassDescriptor#isDefaultObject()
with dummy implementations for now
2015-03-05 13:06:12 +03:00
Pavel V. Talanov 63acb19413 Minor: treat default objects as ordinary objects in ExtractionData.inferParametersInfo() 2015-03-05 13:06:08 +03:00
Pavel V. Talanov 5e249e71f6 Do not exclude default object names when rendering descriptors in short names mode 2015-03-05 13:06:04 +03:00
Pavel V. Talanov afe8773e41 Minor: rename OVERRIDE_CANNOT_BE_STATIC and improve message 2015-03-05 13:06:00 +03:00
Pavel V. Talanov 350864b22f Drop some of explicit ClassKind.CLASS_OBJECT and OBJECT usages 2015-03-05 13:05:56 +03:00
Pavel V. Talanov fa590a5b83 Refactor: Extract isObject with a new semantic 2015-03-05 13:05:48 +03:00
Pavel V. Talanov fc6f4208ec Rename: isObject -> isNonDefaultObject 2015-03-05 13:05:45 +03:00
Nikolay Krasko d827038f7c Fix test 2015-03-05 12:01:42 +03:00
Nikolay Krasko 08502cd510 Refactoring: inline methods and hide intermediate class 2015-03-05 01:30:39 +03:00
Nikolay Krasko 518c35fae1 Intrinsic default objects implementation: old test data modification 2015-03-05 01:30:39 +03:00
Nikolay Krasko 30a50746b5 Intrinsic default objects implementation: tests 2015-03-05 01:30:38 +03:00
Nikolay Krasko 1f79e0905f Intrinsic default objects implementation 2015-03-05 01:30:37 +03:00
Nikolay Krasko 05de376fc3 Don't spam warning when file was removed 2015-03-05 01:30:37 +03:00
Nikolay Krasko 2bac22d617 Fix EA-65829 2015-03-05 01:30:36 +03:00
Nikolay Krasko c75a7df926 Put reference to default object in default object extenstion call 2015-03-05 01:30:35 +03:00
Alexey Sedunov 5ae9bb600c Introduce Property: Place property before its usages 2015-03-04 23:06:07 +03:00
Alexey Sedunov ada5ffee57 Refactoring: Move AbstractJetExtractionTest 2015-03-04 23:06:06 +03:00
Alexey Sedunov 6ae989e330 Introduce Property: Duplicate search & replace 2015-03-04 23:06:05 +03:00
Alexey Sedunov b78ed32a07 Introduce Property: Implement separate in-place introducer for properties 2015-03-04 23:06:04 +03:00
Alexey Sedunov 5382504306 Extraction Engine: Support lazy properties and properties with initializer 2015-03-04 23:06:03 +03:00
Alexey Sedunov 03fada71d7 Introduce Property: Initial support (properties with getter) 2015-03-04 23:06:02 +03:00
Alexey Sedunov 48914e70ff Refactoring: Introduce ExtractionEngine class 2015-03-04 23:06:00 +03:00
Alexey Sedunov b99c191bb2 Refactoring: Rename AbstractExtractFunctionAction ->AbstractIntroduceAction and move to 'introduce' package 2015-03-04 23:05:59 +03:00
Alexey Sedunov 0a6010ff9d Refactoring: Move selectElements() function to introduceUtil.kt 2015-03-04 23:05:58 +03:00
Alexey Sedunov 997c7f9d6c Refactoring: Extract 'extractionEngine' package 2015-03-04 23:05:57 +03:00
Alexey Sedunov cd2c9f2194 Move package: extractFunction -> introduce 2015-03-04 23:05:56 +03:00
Alexey Sedunov 02bf8368c1 Refactoring: Inline KotlinChangePropertyActions.declareValueOrVariable() method 2015-03-04 23:05:55 +03:00
Alexey Sedunov 6a25cd663e UI: Show file name instead of text fragment in element selection popup 2015-03-04 23:05:54 +03:00
Alexander Udalov 8a42d50d65 Merge pull request #586 from JetBrains/rr/yole/kt3107
Regression tests for some obsolete issues in the JVM backend
2015-03-04 20:00:42 +03:00
Dmitry Jemerov e60aafb18a regression test for KT-3421 2015-03-04 17:43:38 +01:00
Dmitry Jemerov 46e0fdc067 regression test for KT-3442 2015-03-04 17:41:27 +01:00
Dmitry Jemerov 7522eb4032 regression test for KT-3903 2015-03-04 17:32:40 +01:00
Dmitry Jemerov 18e54322b8 regression test for KT-4281 2015-03-04 17:27:55 +01:00