Commit Graph
154 Commits
Author SHA1 Message Date
peter c70ab42653 fix finding lambdas implementing JDK interfaces 2015-09-23 13:48:55 +02:00
Alexey Kudravtsev cfc0226642 more checkCanceled 2015-09-21 16:32:28 +03:00
Eugene Zhuravlev de535511f8 configure limited resolve scope for out-of-sources java classes via ResolveScopeProvider instead of hacking PsiJavaFileImpl (IDEA-143728) 2015-09-21 09:56:15 +02:00
peter 8463342b69 remove dfa ConditionCheckManager mortal remains 2015-09-08 11:28:50 +02:00
peter bf3bbf9746 IDEA-144278 IAE at com.intellij.psi.impl.search.PsiSearchHelperImpl.processElementsWithWord 2015-08-25 13:11:09 +02:00
Dmitry Jemerov ca0abe3b24 pass search parameters to ScopedQueryExecutor.getScope() (IDEA-CR-4486) 2015-08-20 20:12:42 +02:00
Dmitry Jemerov 0f00d84755 API for more efficient search of test classes (KT-8557) 2015-08-20 18:59:59 +02:00
peter d96cd208d8 JavaFunctionalExpressionSearcher: skip methods with names not used in indexed functional expressions 2015-07-31 13:25:34 +02:00
peter c24126b5a5 JavaFunctionalExpressionSearcher: skip methods not visible from the candidate files 2015-07-31 13:25:33 +02:00
peter d783bbb075 JavaFunctionalExpressionSearcher: less different scopes and less read actions 2015-07-31 13:25:33 +02:00
Alexey Kudravtsev faade4233f optimisation: dequadratisation 2015-07-30 14:56:44 +03:00
peter 9ec258fb42 JavaFunctionalExpressionSearcher: in small scopes, don't bother with method stub index
non-call usages are included, don't search for them again
2015-07-30 08:37:16 +02:00
peter facc905e38 JavaFunctionalExpressionSearcher: in small scopes, don't bother with method stub index
but include non-call usages
2015-07-29 22:57:25 +02:00
peter 98705046f5 JavaFunctionalExpressionSearcher: in small scopes, don't bother with method stub index 2015-07-29 22:06:23 +02:00
Anna Kozlova 7e749b581e functional expressions searcher: extract methods 2015-07-29 10:04:10 +02:00
peter 3d317b6157 use read action for PSI access in JavaFunctionalExpressionSearcher 2015-07-29 09:28:48 +02:00
Anna Kozlova ad4cd70b3e AIOOBE 2015-07-28 19:15:16 +02:00
Anna Kozlova 79ec3b6b88 function expression search optimization: index for method names with function expression argument 2015-07-28 18:34:48 +02:00
Anna Kozlova 3dc2887a84 read action 2015-07-27 13:12:39 +02:00
Anna Kozlova c8f0ee28e9 find functional: do not process all project scope when initial interface is private and use scope is local 2015-07-27 08:00:32 +02:00
peter b4ebd444e7 JavaClassInheritorsSearcher: use PsiAnchor for stack, cleanup 2015-07-22 15:47:40 +02:00
peter 5611369cc1 move java class inheritor searcher to a separate class in impl 2015-07-22 15:47:39 +02:00
Anna Kozlova ab501ddd34 read action (EA-69034 - assert: FileBasedIndexImpl.ensureUpToDate) 2015-07-22 12:34:12 +02:00
peter 93be085a46 don't resolve from android classes to android source (IDEA-141587) 2015-07-12 23:25:21 +02:00
peter b02eab3f0a AllClassesSearchExecutor: wait for smart mode (IDEA-CR-3480) 2015-07-03 14:23:55 +02:00
Alexey Kudravtsev 863eeb1898 IDEA-141330 Find Usages cannot find valid usage from abstract class 2015-07-02 12:48:38 +03:00
peter 40183cb6d5 wait for smart mode in JavaDirectInheritorsSearcher (EA-70282 - INRE: FileBasedIndexImpl.handleDumbMode) 2015-07-01 16:35:51 +02:00
peter d8918743c7 don't search for methods in empty scope (EA-66886 - assert: JavaSourceFilterScope.<init>) 2015-06-26 18:40:59 +02:00
peter e5170f8c54 JavaOverridingMethodsSearcher: be shorter and more explanatory 2015-06-03 17:13:45 +02:00
peter 2846f01914 faster overriding method search 2015-06-03 10:21:31 +02:00
peter d3246c38d6 JavaDirectInheritorsSearcher: invoke getJarFile less frequently 2015-05-27 16:44:38 +02:00
peter fe18f46534 when searching for methods on EDT, don't wait for smart mode (EA-67196 - assert: DumbServiceImpl.waitForSmartMode) 2015-05-21 15:31:41 +02:00
peter f55451a2b1 JavaFileManagerImpl: remove Object class cache, it's not needed now 2015-05-08 08:07:00 +02:00
Anna Kozlova 13363b7be5 spi read access (EA-66139 - assert: FileDocumentManagerImpl.getDocument) 2015-03-25 20:05:01 +01:00
peter 4ddd214f43 don't do psi.getProject each time a searcher needs it to run a read action via dumb mode, because getProject itself requires a read action 2015-03-11 14:49:37 +01:00
peter 9f9112e856 search for method usages in smart mode (EA-65599) 2015-03-10 16:59:16 +01:00
peter b3de04a09f wait for smart mode when searching for constructor usages (EA-65617) 2015-03-10 16:59:15 +01:00
Dmitry Jemerov 4901d7676c register MethodsSuperSearch in JavaCoreEnvironment 2015-02-20 18:19:13 +01:00
Anna Kozlova a8be778da0 disable incomplete rename on non-physical elements 2014-12-29 11:24:50 +01:00
Anna Kozlova 5da3bc1687 rename failure fixed: incomplete references on fields are now processed by VariableInIncompleteCodeSearcher 2014-12-24 20:26:33 +01:00
peter 619c2df766 java & python: use effective search scope instead of the user-defined one
add read action
2014-12-02 18:31:06 +01:00
peter 81dec7e4d7 java & python: use effective search scope instead of the user-defined one 2014-12-02 16:05:08 +01:00
peter ae03dd9be7 java method usage search: use effective scope 2014-12-01 19:10:35 +01:00
Anna Kozlova bf2f3f84ee function expressions search: accept functional functional interfaces inheritors (IDEA-128086) 2014-11-25 19:23:27 +01:00
Alexey Kudravtsev 87f5480c97 instantiate ConcurrentHashMap via factory only 2014-11-17 14:55:44 +03:00
Alexey Kudravtsev e02fa3c43a use interface where possible 2014-11-17 14:54:32 +03:00
Alexey Kudravtsev cd6229f945 removed cacheOrGet 2014-11-17 14:54:30 +03:00
Anna Kozlova d5506ea9fc functional expressions search: merge same files 2014-11-07 11:57:08 +01:00
Anna Kozlova 237f36c3ed functional expressions search: process all files with ->/:: as there are about 400 methods in jdk with type parameter as parameter type which all should be processed on each functional expression search (IDEA-132407) 2014-11-06 15:29:58 +01:00
Anna Kozlova ef0844d837 search for functional interfaces in java 8 modules only 2014-11-05 21:39:01 +01:00