Valentin Kipyatkov
bf38da7bb1
Made private things private
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
4ca6c611f8
JetScope.Empty must be public
2014-11-12 21:25:00 +03:00
Valentin Kipyatkov
c040c53f51
Optimization to not fetch objects in separate pass
2014-11-12 21:25:00 +03:00
Valentin Kipyatkov
19f9f27675
No double-filtering
2014-11-12 21:25:00 +03:00
Valentin Kipyatkov
fe5dbbf9b3
More efficient code completion + fixed a few bugs
2014-11-12 21:25:00 +03:00
Valentin Kipyatkov
f31832dea9
Smart completion optimization
2014-11-12 21:25:00 +03:00
Valentin Kipyatkov
6f2da4930a
Descriptor kind filter replaced with bit mask
2014-11-12 21:24:59 +03:00
Valentin Kipyatkov
43df891515
More precise descriptor kind filtering (preparing to optimize smart completion)
2014-11-12 21:24:59 +03:00
Valentin Kipyatkov
5f4220427f
Smart completion does not need SAM-constructor in declarations from scope + it's present even when not imported
2014-11-12 21:24:59 +03:00
Valentin Kipyatkov
a8bd7caed1
Added filtering in subpackages scope
2014-11-12 21:24:59 +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
d744575000
DeserializedPackageMemberScope uses kind and name filters
2014-11-12 21:24:58 +03:00
Valentin Kipyatkov
ad9bb5c2a5
Removed stuff not used anymore
2014-11-12 21:24:58 +03:00
Valentin Kipyatkov
ccb7ba5517
More efficient treatment of single class imports
2014-11-12 21:24:58 +03:00
Valentin Kipyatkov
e14529eff7
LazyImportScope to filter by name and kind filters
2014-11-12 21:24:58 +03:00
Valentin Kipyatkov
059deb3c88
Added use of nameFilter to one of the implementations of DeclarationProvider
2014-11-12 21:24:58 +03:00
Valentin Kipyatkov
ed2a50ffcb
Minor
2014-11-12 21:24:58 +03:00
Valentin Kipyatkov
c7ba03f76a
DeclarationProvider.getAllDeclarations() -> getDeclarations(kindFilter, nameFilter)
2014-11-12 21:24:58 +03:00
Valentin Kipyatkov
169b082fff
LazyMemberScope refactoring in progress
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
d2d7529d9f
Split file with 3 classes into 3 files
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
e51993d339
LazyPackageFragmentScopeForJavaPackage uses name filter in getDescriptors() for methods and properties as well
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
c7527e4a4d
Name filters filter by Name instead of String
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
8b2f6007c2
Minor
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
Valentin Kipyatkov
5059ae5182
Removed kotlin.Boolean qualification
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
78169f73a6
Completion to pass nameFilter to getDescriptors() calls
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
2f9b8a21ce
LazyPackageFragmentScopeForJavaPackage uses filters in getDescriptors() and does not cache it
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
f8b278464e
Minor code editings
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
0472eb57a1
Refactored WritableScopeImpl to not cache result of getDescriptors() but use filters
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
a2dbf68286
Code simplifications
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
6d90a7a8d9
Minor code simplifications
2014-11-12 21:24:55 +03:00
Valentin Kipyatkov
164a8798f8
Chained scope to not cache result of getDescriptors() but uses filters
2014-11-12 21:24:55 +03:00
Valentin Kipyatkov
1983a9f3da
Replaced usages of JetScope.getAllDescriptors() with JetScope.getDescriptors() (where makes sense)
2014-11-12 21:24:55 +03:00
Valentin Kipyatkov
2dd41028fd
Removed explicit invoke()
2014-11-12 21:24:55 +03:00
Valentin Kipyatkov
760b9c4389
Added JetScope.getDescriptors(nameFilter, kindFilter) but the filters are never used yet
2014-11-12 21:24:55 +03:00
Nikolay Krasko
e8a2039396
Use JetTestUtils.assertEqualsToFile in usages tests to simplify fixing test data
2014-11-12 20:37:45 +03:00
Nikolay Krasko
c2a544d475
Remove syntax error from java files in usage test data
2014-11-12 20:37:43 +03:00
Nikolay Krasko
ccb6aec5ee
Fix changing files after running Generated Test configuration
2014-11-12 20:35:01 +03:00
Evgeny Gerashchenko
6bf0c9f4ae
Updating Kotlin incremental caches and Java mappings only for Java modules.
2014-11-12 17:56:48 +03:00
Evgeny Gerashchenko
ab09ffa4a4
Minor. Renamed property for disambiguation.
2014-11-12 16:25:02 +03:00
Evgeny Gerashchenko
1bab0e5d04
Unified downloading IDEA for main and continuous branches.
2014-11-12 16:25:02 +03:00
Evgeny Gerashchenko
20b1c6e910
Removed redundant macro parameter. It was never used since introduced.
2014-11-12 16:25:02 +03:00
Evgeny Gerashchenko
1a374efcd1
Fixed KNPE when inline functions/constants are completely removed.
2014-11-12 16:25:01 +03:00
Natalia Ukhorskaya
c9e5099307
Add test for KT-6240: create custom renderer for generic class
...
#KT-6240 Open
2014-11-12 15:17:21 +03:00
Natalia Ukhorskaya
12b4fc7ad9
Resolve codeFragments with context of JetClass
2014-11-12 15:13:37 +03:00
Natalia Ukhorskaya
a86e0336c9
Fix EA-60377 - readAccess for isSubclass
2014-11-12 11:52:41 +03:00
Natalia Ukhorskaya
e82eb38ec3
Debugger: make KotlinRenderer inapplicable if at least one of custom renderer is defined
2014-11-12 11:52:40 +03:00
Evgeny Gerashchenko
868a8dbc84
Fixed paths unification in tests on some Windows machines.
2014-11-12 11:09:35 +03:00
Alexander Udalov
b39d34ca8d
Prepend zeros to SAM wrapper hash code
...
To make its length always 8 characters as is already done for package parts.
This fixes some test on incremental compilation because it relies that hashes
are eight characters long
2014-11-11 19:59:20 +03:00