Denis Zharkov
bdd2756bd1
Rename ThisReference -> ConstructorDelegationReference
2015-03-11 17:45:22 +03:00
Pavel V. Talanov
a701cb2bd9
Add quick fix to replace all 'class object's in project
2015-03-10 18:21:33 +03:00
Pavel V. Talanov
81f9d34d1a
Add quick fix for deprecated 'class object' syntax
2015-03-10 18:21:33 +03:00
Pavel V. Talanov
3cfcef9da4
Render warning on 'class object' as deprecated
2015-03-10 18:21:32 +03:00
Pavel V. Talanov
9ecf95532e
Replace 'class object' with default object in project code
2015-03-10 18:07:46 +03:00
Alexander Udalov
71a3f35b7e
Rename LocalClassFinder -> DirectoryBasedClassFinder
...
It was never related to local classes
2015-03-07 02:30:28 +03:00
Alexander Udalov
e136025ac5
Show "kotlin.Any" in decompiled text for local/anonymous types
2015-03-07 02:30:28 +03:00
Andrey Breslav
bbb59773aa
filesToAnalyzeCompletely removed
2015-03-06 21:59:05 +03:00
Pavel V. Talanov
b51368a5e5
Fix cls builder for new decompiler
2015-03-06 19:36:58 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Evgeny Gerashchenko
c6352ec699
KT-6920 Reference this marked as deprecated if extension function is deprecated
...
#KT-6920 fixed
2015-03-06 13:43:03 +03:00
Evgeny Gerashchenko
8ba15937f9
KT-6820 Find usages doesn't find delegated properties when searching get/set/propertyDelegated functions
...
#KT-6820 fixed
2015-03-05 18:42:18 +03:00
Evgeny Gerashchenko
0a824edace
KT-6821 Go to reference on "by" keyword in delegated property doesn't navigate to propertyDelegated
...
#KT-6821 fixed
2015-03-05 18:42:18 +03:00
Evgeny Gerashchenko
9a17bce179
Removed redundant getOriginal()
2015-03-05 18:42:17 +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
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
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
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
350864b22f
Drop some of explicit ClassKind.CLASS_OBJECT and OBJECT usages
2015-03-05 13:05:56 +03:00
Pavel V. Talanov
f507af15c0
Rename in descriptors.proto: class_object_name -> default_object_name
2015-03-03 20:57:13 +03:00
Pavel V. Talanov
48fbce9582
Refactor: process mentions of class object
...
Rename usages that refer to "default object" concept now
Test data file names are left as is
2015-03-03 20:57:08 +03:00
Dmitry Jemerov
cbb8df954c
Merge remote-tracking branch 'upstream/master'
2015-03-03 12:42:25 +01:00
Dmitry Jemerov
ff3cb27c8f
EA-65705 - ISE: KDocReference.getTargetDescriptors
2015-03-03 12:31:40 +01:00
Valentin Kipyatkov
5b4afa140b
Fixed bug in reference shortening related on on the fly import optimization
2015-03-03 13:41:32 +03:00
Pavel V. Talanov
989f07962b
Write to trace in case class qualifier is a short reference to default object
...
This allows to fix some cases when there is a difference between explicit and short reference to default object
Fix shorten reference, optimize imports and import insert helper for default objects
ShortenReferences always transforms default object references to shorter form for now
Fix DescriptorUtils#getFqName() for default objects (affects test data mostly)
Fix DescriptorUtils#getImportableDescriptor()
2015-03-03 13:04:30 +03:00
Yan Zhulanow
ccbbaba7cd
Rename jet to kotlin in Android JPS plugin
2015-02-26 15:26:01 +03:00
Yan Zhulanow
d35f36da06
Rename jet to kotlin in Kotlin compiler infrastructure
2015-02-26 15:26:00 +03:00
Yan Zhulanow
c756cfef86
Codebase update
2015-02-26 15:25:57 +03:00
Yan Zhulanow
9f66777185
KotlinIsReferenceToExtension was renamed to SimpleNameReferenceExtension
2015-02-26 15:25:53 +03:00
Yan Zhulanow
3f0118c88c
KotlinIsReferenceToExtension extracted
2015-02-26 15:25:45 +03:00
Mikhail Mutcianko
d310b2021c
add android xml reference and rename handling to JetSimpleNameReference
2015-02-26 15:25:27 +03:00
Alexey Sedunov
97b0f50d35
Create from usage (function/property): Suggest separate actions for extensions and non-extension declarations
...
#KT-6023 Fixed
2015-02-20 17:28:36 +03:00
Alexey Tsvetkov
180272e4cb
JS: underline js() errors for non-string-literal constants
2015-02-20 16:01:26 +03:00
Dmitry Jemerov
a030585566
EA-64906 - NPE: KdocPackage$KDocReference$c.getParamDescriptors
2015-02-19 14:01:00 +01:00
Valentin Kipyatkov
84027124db
Made code more clear
2015-02-19 11:07:03 +03:00
Valentin Kipyatkov
8c034d4ac7
New optimize imports algorithm supports *-imports code style
2015-02-19 11:07:02 +03:00
Valentin Kipyatkov
03f7c265d7
Initial implementation of new optimize imports algorithm
2015-02-19 11:07:02 +03:00
Valentin Kipyatkov
63182a53c6
Fixed getFileTopLevelScope implementation
2015-02-19 11:07:02 +03:00
Valentin Kipyatkov
371e0baed1
Dropped methods not used anymore
2015-02-19 11:07:02 +03:00
Valentin Kipyatkov
20cf100714
Shorten references inserts imports for global functions and properties too
2015-02-19 11:07:01 +03:00
Pavel V. Talanov
5c9554e703
Minor: remove redundant class object
2015-02-18 19:34:02 +03:00
Pavel V. Talanov
d6a942a574
Remove all deprecated OBJECT$ usages from project code
2015-02-18 19:33:56 +03:00
Evgeny Gerashchenko
a8179a497e
KT-5146 "Remove explicit type arguments" should highlight type arguments as unused (not as warning)
...
#KT-5146 fixed
2015-02-18 13:37:36 +03:00
Evgeny Gerashchenko
b1840ebd99
Suppressing unused parameter annotation when function is entry point.
2015-02-18 13:37:36 +03:00
Alexander Udalov
6ce8d6bd2e
Serialize descriptors for local/anonymous classes on JVM
...
Reflection needs this information to work for local classes and anonymous
objects
2015-02-16 21:46:21 +03:00
Alexander Udalov
cd9898fc43
Minor, rename and invert meaning of ClassId.isTopLevelClass
...
Also use a simpler constructor and simplify ClassDeserializer.ClassKey
2015-02-16 20:19:50 +03:00
Alexander Udalov
e812c4e67f
Introduce KotlinSyntheticClass.Kind.LOCAL_TRAIT_IMPL
2015-02-16 20:19:50 +03:00