Pavel V. Talanov
d2fc7c7fd3
Inline BaseDescriptorLoader#getPackagePartClassName utilities
2014-11-27 21:17:15 +03:00
Alexander Udalov
60662e5831
Fix double laziness of annotations introduced in 149a90d
2014-11-25 23:16:21 +03:00
Alexander Udalov
5907df92db
Drop secondary DeserializedPackageMemberScope constructor
...
Create package context only once
2014-11-25 23:15:49 +03:00
Alexander Udalov
e1a1c06c3e
Rename deserialization context for Java to "components"
...
Simplify its injection to DeserializedDescriptorResolver
2014-11-25 23:15:49 +03:00
Alexander Udalov
673c15a23d
Simplify component injection in annotation/constant loaders
2014-11-25 23:15:48 +03:00
Alexander Udalov
149a90d7bf
Make annotations on deserialized descriptors truly lazy
2014-11-25 23:15:47 +03:00
Alexander Udalov
4df7cb4e72
Major refactoring of deserialization contexts: merge two into one
2014-11-25 23:15:47 +03:00
Alexander Udalov
cb5c21e831
Merge DeserializationGlobalContext with DeserializationComponents
2014-11-25 23:15:47 +03:00
Nikolay Krasko
722624f0a4
Add test about platform static checks in ide
2014-11-25 17:16:15 +03:00
Valentin Kipyatkov
ddc60ac5dd
Better injecting of partial body resolve filter
2014-11-24 20:11:28 +03:00
Nikolay Krasko
9809e4fd0a
Replace direct usages of TopDownLazyResolveForJava with facade
2014-11-24 19:19:35 +03:00
Pavel V. Talanov
bce399f5fd
Rename: AnalyzeExhaust -> AnalysisResult
2014-11-21 15:56:05 +03:00
Michael Bogdanov
2cc9d8e29b
Support platformStatic for properties
...
#KT-5766 Fixed
2014-11-20 10:20:31 +03:00
Stanislav Erokhin
eb50e4adb3
Inject StorageManager to ResolutionTaskHolder
2014-11-17 17:38:52 +03:00
Nikolay Krasko
cb2a9168a7
Dropped redundant interface
2014-11-17 16:15:23 +03:00
Alexander Udalov
93696ff9bd
Make Array.indices extension property, move to stdlib
...
This is not something that needs to be intrinsified. Note that compiler
optimizations are still possible and the fact whether 'indices' is a member or
an extension is irrelevant to the optimizer
2014-11-17 15:20:44 +03:00
Denis Zharkov
b3691b7358
Frontend changes for reified type parameters
...
Allowing reified only for inline functions and Intrinsics
2014-11-13 20:56:09 +03:00
Valentin Kipyatkov
25d8db37db
Completion optimizations: do not search classes in java package when no SAM-constructors needed or when only singleton classifiers needed
2014-11-12 21:25:02 +03:00
Valentin Kipyatkov
95b3885aa5
Refactored filtering by descriptor kind so that no knowledge about SAM-constructors required in core
2014-11-12 21:25:02 +03:00
Valentin Kipyatkov
048d34b964
Minor changes after code review
2014-11-12 21:25:01 +03:00
valentin
6729a72ef8
Completion optimization to not search classes across all modules for each modules
2014-11-12 21:25:01 +03:00
Valentin Kipyatkov
fe5dbbf9b3
More efficient code completion + fixed a few bugs
2014-11-12 21:25:00 +03:00
Valentin Kipyatkov
8d02c58e0a
Added name filter to PackageFragmentProvider.getSubPackagesOf but do not know how to use it actually
2014-11-12 21:24:59 +03:00
Valentin Kipyatkov
c7527e4a4d
Name filters filter by Name instead of String
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
b08e444aa0
LazyPackageFragmentScopeForJavaPackage uses name filter in getDescriptors() for classes
2014-11-12 21:24:57 +03:00
Alexander Udalov
eb96b97bc8
Get rid of underscores in private property names
...
They were used to workaround duplicate signature errors, but this is no longer
relevant since no accessors are generated for private properties with backing
fields
2014-11-11 18:35:37 +03:00
Alexander Udalov
bb96a8e1fb
Rename JavaResolverPsiUtils -> JavaResolverUtils
2014-11-11 18:10:44 +03:00
Alexander Udalov
66d27fad13
Move utilities out of 'core' to where they are used
2014-11-11 18:10:42 +03:00
Alexander Udalov
d3f210f73c
Move SAM resolution to frontend.java
2014-11-11 18:10:42 +03:00
Alexander Udalov
0b6bb38bb3
Move SAM function type calculation to SamConversionResolver
2014-11-11 18:10:42 +03:00
Alexander Udalov
344c6f0b3f
Move SAM adapter resolution logic to SamConversionResolver
2014-11-11 18:10:41 +03:00
Alexander Udalov
4350da5f24
Extract SAM constructor resolution logic to a component
2014-11-11 18:10:40 +03:00
Nikolay Krasko
43eb94726c
Make single decompiler be responsible for compiled Kotlin files
...
IDEA caches link between a virtual file and correspondent FileViewProvider.
This breaks navigation to decompiled sources for the library that has been
just updated because of outdated ABI version.
Also IDEA don't allow to change language for decompiled files.
#KT-6016 Fixed
2014-11-11 17:34:56 +03:00
Andrey Breslav
4892369cf4
Diagnostic tests are logging their lazy activity
2014-11-10 17:24:04 +02:00
Andrey Breslav
7d9be42969
LazinessTokens introduced to enable/disable building lazy types
2014-11-08 15:51:41 +02:00
Andrey Breslav
2334bf4c70
Resolution of type constructors in TypeResolver is now lazy (for types in declarations)
2014-11-08 15:51:41 +02:00
Andrey Breslav
266262df68
TypeResolver converted to Kotlin
2014-11-08 15:51:40 +02:00
Valentin Kipyatkov
72e0546fde
Converted JavaPackage and its implementation to Kotlin
2014-11-05 21:42:15 +03:00
Valentin Kipyatkov
e2e7210b37
Converted DeserializedPackageMemberScope to Kotlin
2014-11-05 21:42:14 +03:00
Valentin Kipyatkov
c2a3fde969
Converted JetScope to Kotlin
2014-11-05 21:42:12 +03:00
Nikolay Krasko
b58c5f7df4
Don't spam warning when file is empty
...
IDEA produces such files when class file had been removed from jar but indexes haven't been not fully reconstructed yet.
2014-10-22 18:18:03 +04:00
Andrey Breslav
f06e5581aa
Support creating flexible types in tests
...
Flexible types can not be created in normal user code, but if there's a special classifier `kotlin.internal.flexible.ft` with two type parameters,
its occurrences are replaced by flexible types, e.g. `ft<Int, Int?>` becomes `Int!`
2014-10-22 00:41:18 +04:00
Alexander Udalov
51fd654802
Regenerate injectors and keyword strings
...
After recent changes to Printer
2014-10-21 00:16:08 +04:00
Alexander Udalov
91105b8183
Minor, fix some warnings in DeclarationsChecker
2014-10-21 00:16:06 +04:00
Evgeny Gerashchenko
e9880e6787
Clarified assertion for EA-50536.
2014-10-15 11:50:59 +04:00
Evgeny Gerashchenko
73f3db5cf8
Clarified assertion for EA-50657.
2014-10-15 11:50:59 +04:00
Andrey Breslav
fd3f929a11
Guessing class ids for external annotations
2014-10-13 15:38:08 +04:00
Andrey Breslav
fe2fb60daf
Approximating flexible types in descriptor renderer
2014-10-13 15:38:07 +04:00
Andrey Breslav
bd21e487fc
Unused class removed
2014-10-13 15:38:06 +04:00
Andrey Breslav
d25a76e044
Disabling @KotlinSignature checks in PLATFORM_TYPES mode
2014-10-13 15:38:05 +04:00