Pavel V. Talanov
ea8c17adeb
Pass ResolutionFacade into ReferenceVariantsHelper and ShadowedDeclarationsFilter
2015-08-19 21:18:43 +03:00
Pavel V. Talanov
d7c1798ee6
Move ResolutionFacade to ide-common module
2015-08-19 21:18:42 +03:00
Pavel V. Talanov
dd0823010f
Refactor: Make ResolutionFacade.getFileTopLevelScope an utility
2015-08-19 21:18:42 +03:00
Pavel V. Talanov
0d78c8acb5
Refactor: Make ResolutionFacade.resolveImportReference an utility
2015-08-19 21:18:41 +03:00
Pavel V. Talanov
06b96c2b12
Drop CacheExtension
2015-08-19 21:18:40 +03:00
Pavel V. Talanov
e041042328
Minor: move getResolveScope out of ResolutionFacade
2015-08-19 21:18:40 +03:00
Pavel V. Talanov
d09f4a4dbb
Merge ResolutionFacadeImpl and KotlinResolveCache, rewrite JavaResolveExtension
2015-08-19 21:18:39 +03:00
Pavel V. Talanov
94431bc3fa
Move ResolutionFacadeImpl to a separate file
2015-08-19 21:18:39 +03:00
Pavel V. Talanov
e88ea1f807
Improve naming
2015-08-19 21:18:38 +03:00
Pavel V. Talanov
1a3886f9b7
Inject TypeResolver into HeuristicSignatures
2015-08-19 21:18:37 +03:00
Pavel V. Talanov
f98cb74d53
Make HeuristicSignatures an IDE service
2015-08-19 21:18:37 +03:00
Pavel V. Talanov
87f826d1b8
Refactor: IterableTypesDetector into an IDE component
2015-08-19 21:18:36 +03:00
Pavel V. Talanov
5836fd39e4
Refactor: Move AnalyzerUtil to "idea-analysis" module and rewrite using new api
2015-08-19 21:18:36 +03:00
Pavel V. Talanov
6802973743
Refactor: merge duplicated code for code fragment analysis
...
Introduce CodeFragmentAnalyzer
2015-08-19 21:18:35 +03:00
Pavel V. Talanov
7130e9f881
"container" module exports "javax.inject" dependency
2015-08-19 21:18:34 +03:00
Pavel V. Talanov
f38abd5258
Refactor Descriptor renderer test to avoid creating ResolveElementCache explicitly
2015-08-19 21:18:34 +03:00
Pavel V. Talanov
ddbf4c18d3
Minor: inject targetPlatform into ResolveElementCache
2015-08-19 21:18:33 +03:00
Pavel V. Talanov
7cbac51018
Refactor: merge ElementResolver into ResolveElementCache
...
This is a bit questionable since there are plans to use it in eclipse plugin, but we do it for now
It's possible that we can come up with a better abstraction later
2015-08-19 21:18:32 +03:00
Pavel V. Talanov
0a40b375a1
Minor: get SmartCastManager as a service in CompletionSession and KotlinIndicesHelper
2015-08-19 21:18:32 +03:00
Pavel V. Talanov
2b9d49e787
Remove a couple of usages of createContainerForMacros
2015-08-19 21:18:31 +03:00
Pavel V. Talanov
0c2650c86c
Provide API to get frontend services from plugin code via resoltion facade
...
API to create ide-side services using frontend services (for now "ide services" cannot be injected into other ide services)
2015-08-19 21:18:31 +03:00
Pavel V. Talanov
84ebc7a0f8
Rename SmartCastUtils -> SmartCastManager and make it a component
2015-08-19 21:18:30 +03:00
Pavel V. Talanov
da025475a8
Make TypeIntersector a component and inject it into some points of usage
2015-08-19 21:18:29 +03:00
Pavel V. Talanov
f393ce598d
Extract TypeIntersector from TypeUtils
2015-08-19 21:18:29 +03:00
Pavel V. Talanov
52bc84cb5f
Introduce LocalDescriptorResolver which handles differences in local declaration resolution between compiler and ide environments
2015-08-19 21:18:28 +03:00
Pavel V. Talanov
2ef5e03f27
Introduce TargetEnvironment and CompilerEnvironment
2015-08-19 21:18:27 +03:00
Valentin Kipyatkov
b3adf27b81
Don't invoke applicabilityRange twice for each highlighting
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
4bf20d747a
Changes on code review
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
4876668716
Correct read/write access detection in case of plusAssign etc
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
97bf6f820a
Fix in read/write detection
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
5e97387e8d
Public utility to detect read/write access for an expression
...
Implemented ReadWriteAccessDetector which gives read/write access in Highlight Usages and Find Usages
+ More correct UsageType detection
2015-08-19 20:46:37 +03:00
Valentin Kipyatkov
1fd0578b9e
Fixed deprecated symbol usage fix for functions with optional parameters from libraries
...
#KT-8525 Fixed
2015-08-19 18:06:31 +03:00
Dmitry Jemerov
d53b990655
add missing read actions for Find Usages (EA-66822)
2015-08-19 16:58:10 +02:00
Valentin Kipyatkov
30a9a8787e
Optimize imports to use "packages to import with *" setting
2015-08-19 17:27:47 +03:00
Valentin Kipyatkov
9b4e3b15c4
KT-8822 Override Members: do not show private members from java classes
...
#KT-8822 Fixed
2015-08-19 17:26:44 +03:00
Michael Nedzelsky
f42a589ddc
enable testKotlinOnlyDaemonMemory
2015-08-19 09:02:07 +03:00
Stanislav Erokhin
ec43f49ab4
Fixed completion for extension function after removing members for implicit receiver from scope.
2015-08-18 21:28:28 +03:00
Stanislav Erokhin
a1274f91ba
Minor. Inline NO_RECEIVER_PARAMETER = null
2015-08-18 21:28:06 +03:00
Stanislav Erokhin
2ee8f1c454
Change outer scope for nested class and object -- removed implicit outer class receiver.
...
#KT-5362 Fixed
#KT-8814 Fixed
2015-08-18 21:26:42 +03:00
Stanislav Erokhin
b83b298f68
Minor. move static scope from ClassResolutionScopesSupport to LazyClassDescriptor
2015-08-18 21:26:42 +03:00
Stanislav Erokhin
17d8424cee
Remove member scope from scopeForMemberDeclarationResolution
2015-08-18 21:26:41 +03:00
Stanislav Erokhin
0d8ae8f949
Use member scope for declaration instead resolution scope in LazyDeclarationResolver
2015-08-18 21:26:41 +03:00
Stanislav Erokhin
d762d75942
Created LexicalScope and FileScope.
2015-08-18 21:26:35 +03:00
Stanislav Erokhin
f5c6e8cb77
Minor. Removed unused code.
2015-08-18 21:26:34 +03:00
Valentin Kipyatkov
947db74b62
Minor
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
275299f5e2
Merged 2 tests
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
ba8c2f1084
Refactored RemoveModifierFix + some psi API refactoring
...
#EA-69237 Fixed
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
fd517d41d1
Converted to Kotlin
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
aaaf033338
Added diagnostic for EA-69526 - assert: JavaToKotlinConverter.checkReferenceValid
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
fdf7e483b0
Added diagnostic for EA-70090 - assert: PsiUtilPackage$psiUtils$bbf.getElementTextWithContext
2015-08-18 18:50:00 +03:00