Commit Graph

24848 Commits

Author SHA1 Message Date
Pavel V. Talanov ea292fa6d2 Remove some usages of JetElement.analyzeAndGetResult 2015-08-21 21:12:46 +03:00
Pavel V. Talanov 608345df7b Improve ResolutionFacade api: it stores moduleInfo and provides moduleDescriptor
Remove some redundant parameters passed along with ResolutionFacade
2015-08-21 21:11:59 +03:00
Yan Zhulanow a802ab5300 Fix safe delete tests
Relevant intellij-community commit: b696a371747caa9a2be16c482df37e91936f86c6
2015-08-21 18:56:52 +03:00
Nikolay Krasko 230877c1a8 Update to idea 142.4083.2 2015-08-21 18:56:50 +03:00
Nikolay Krasko 90b67eea41 Fix test for kdoc - add processing of new node 2015-08-21 18:56:48 +03:00
Nikolay Krasko 9b5b5bb0ee Drop absent jdk annotation notifier 2015-08-21 18:56:45 +03:00
Dmitry Jemerov 341f09afd3 rename platformStatic to jvmStatic 2015-08-21 16:59:05 +02:00
Dmitry Jemerov 4053c19260 increase codecache size for tests run configuration 2015-08-21 12:59:42 +02:00
Dmitry Jemerov 301e79033d delete the UI for editing Kotlin signatures in Java files 2015-08-21 12:14:25 +02:00
Dmitry Jemerov 482406b0d9 remove descriptor field from LightClassDataForKotlinClass 2015-08-21 12:09:09 +02:00
Dmitry Jemerov c00fbb236f don't perform full resolve and stub building for isInheritor() checks
#KT-8656 Fixed
2015-08-21 12:08:53 +02:00
Dmitry Jemerov 6c32f655f9 KotlinLightClassForExplicitDeclaration: cleanup 2015-08-21 12:08:52 +02:00
Dmitry Jemerov f2ff752dd1 KotlinLightClassForExplicitDeclaration: J2K 2015-08-21 12:08:51 +02:00
Dmitry Jemerov 4b2a662eb3 KotlinLightClassForExplicitDeclaration: rename to .kt 2015-08-21 12:08:51 +02:00
Nikolay Krasko e13d1d3e44 Workaround for exception from analyze (KT-8749) 2015-08-21 13:00:49 +03:00
Nikolay Krasko 5b3c05d039 Don't filter class files and jars from build script. Get a warning about their absence. 2015-08-20 18:48:38 +03:00
Nikolay Krasko ffb9cb0ce0 Cache information about library in file user data (KT-8537)
KT-8537 Kotlin plugin is causing Intellij to freeze during Indexing

 #Fix KT-8537
2015-08-20 15:28:30 +03:00
Nikolay Krasko 0946e1b279 Store on local jar files to have valid timestamp 2015-08-20 15:28:29 +03:00
Nikolay Krasko ee36de9602 Simplify jar-processor framework 2015-08-20 15:28:28 +03:00
Nikolay Krasko 3b14241224 Create background jar-processor that can store meta information for jars 2015-08-20 15:28:27 +03:00
Nikolay Krasko e17908e5c6 Minor: rewrite with Kotlin stdlib 2015-08-20 15:28:26 +03:00
Alexey Sedunov a085c93b5e Light Classes: Fix computation of base type in anonymous light class 2015-08-19 23:30:13 +03:00
Alexey Sedunov d48851ba63 Create From Usage: Fix ClassCastException on local property with delegate
#EA-69707 Fixed
2015-08-19 23:30:10 +03:00
Alexey Sedunov 85f85e85b4 Create From Usage: Quote declaration name if it's not a valid identifier
#EA-70291 Fixed
2015-08-19 23:30:07 +03:00
Alexey Sedunov d18a9f6d8a Create From Usage: Fix StackOverflowException on recursive type parameter bounds
#EA-69240 Fixed
2015-08-19 23:29:55 +03:00
Alexey Sedunov 69218e2647 Find Usages: Fix NPE on constructor with missing name
#EA-69907 Fixed
2015-08-19 23:26:17 +03:00
Alexey Sedunov 06cca689fc Call Hierarchy: Forbid interfaces
#EA-64406 Fixed
2015-08-19 23:26:15 +03:00
Pavel V. Talanov 2432571a8c Get SmartCastManager as a service in ReferenceVariantsHelper 2015-08-19 21:18:47 +03:00
Pavel V. Talanov 6c48c29bf9 Make AnalyzerFacade an abstract class instead of interface
Seems to workaround some compiler bug
2015-08-19 21:18:46 +03:00
Pavel V. Talanov 72710c0318 Fix usages of AnalyzerUtil
Sadly contains some changes that hard to merge into appropriate commits introduced after rebasing repeatedly
2015-08-19 21:18:45 +03:00
Pavel V. Talanov 5cc39e3fb2 GlobalJavaResolverContext -> JavaResolverComponents 2015-08-19 21:18:45 +03:00
Pavel V. Talanov 0101f30261 Drop containerForMacros 2015-08-19 21:18:44 +03:00
Pavel V. Talanov fae6968dda UsePropertyAccessSyntaxIntention: drop usage of containerForMacros 2015-08-19 21:18:44 +03:00
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