Commit Graph
188 Commits
Author SHA1 Message Date
peter e9801d81e3 overriding method search: remove costly and completely useless check 2016-04-23 18:59:51 +02:00
Anna.Kozlova f7f379e5e6 EA-80364 - PIEAE: StubBasedPsiElementBase.getContainingFile 2016-04-22 17:02:00 +02:00
Alexey Kudravtsev 6fc425441f IDEA-155014 Incorrect usage highlighting 2016-04-21 19:45:14 +03:00
Alexey Kudravtsev 50977167cc cleanup 2016-04-21 19:45:14 +03:00
Alexey Kudravtsev 4244cc4fd0 comment 2016-04-21 19:45:14 +03:00
Alexey Kudravtsev a3f044d3ad Identifier highligthing pass shows crazy ranges for util.Ref constructor 2016-04-21 15:11:34 +03:00
Anna.Kozlova b701c29875 do not generate invalid ranges for light psi (IDEA-154614) 2016-04-15 18:43:24 +02:00
Alexey Kudravtsev a3caef0360 cleanup 2016-04-13 14:18:52 +03:00
Alexey Kudravtsev df56889047 changed Collection to Iterable 2016-04-12 15:25:42 +03:00
Alexey Kudravtsev fb73401214 comment added 2016-04-08 17:19:24 +03:00
Alexey Kudravtsev b9e88ff810 optimisations: now two threads iterating over all subclasses of the same class can be busy searching direct inheritors in parallel. 2016-04-06 18:36:46 +03:00
Alexey Kudravtsev e98ae76fa3 cancelable collection processor: more cancelability where CollectProcessor is used 2016-04-06 18:36:46 +03:00
Alexey Kudravtsev b4aeb4becc fixed deadlock caused inconsistent lock order: read action, lock 2016-04-05 13:24:06 +03:00
Alexey Kudravtsev 6c0fe6f53c nested read action removed 2016-04-05 13:24:06 +03:00
Alexey Kudravtsev 4548c575fe ClassInherotSearcher returns lazy collection of sub classes, to reduce up-front computations and avoid duplicate work by concurrent threads 2016-04-04 14:02:59 +03:00
Alexey Kudravtsev 50bc5739fc extracted methods 2016-04-04 14:02:59 +03:00
Alexey Kudravtsev 9859f39e8c notnull, cleanup 2016-04-04 14:02:59 +03:00
Alexey Kudravtsev 7d95ff4d86 local scope optimisation 2016-04-01 14:37:47 +03:00
Alexey Kudravtsev a9deb438f6 lambdify 2016-04-01 14:37:47 +03:00
Alexey Kudravtsev 1e1eccd78e read action 2016-03-31 13:08:11 +03:00
Alexey Kudravtsev aa913502c7 optimisation: iterate the whole LocalSearchScope instead of iterate all inheritors and filter out by scope 2016-03-31 12:33:55 +03:00
Alexey Kudravtsev fbcb107ad6 make maps weak 2016-03-31 12:33:55 +03:00
Alexey Kudravtsev 14e866598a cache repeated requests for class inheritors and method overriders to speedup highlighting of heavily subclassed library classes to fix IDEA-152346 Syntax highlighting takes 45 seconds 2016-03-28 14:59:27 +03:00
Alexey Kudravtsev cf996c91f0 lambdify 2016-03-25 17:18:49 +03:00
Alexey Kudravtsev b5a87dd8c1 cleanup 2016-03-11 13:29:53 +03:00
Alexey Kudravtsev 35dfe0a4d8 notnull 2016-03-09 16:29:19 +03:00
Alexey Kudravtsev 2c52eb3033 lambdify 2016-03-09 16:29:19 +03:00
Alexey Kudravtsev 22956ea9b5 EA-73546 - assert: AbstractProgressIndicatorBase.popState 2016-01-11 14:57:19 +03:00
Anna Kozlova 371774131e avoid access stubs during processing file based index values:
Accessing 'Stubs' during processing 'java.functional.expression'. Nested different indices processing may cause deadlock java.lang.Throwable
2015-11-25 12:25:02 +01:00
Anna Kozlova e484d54fb8 missed usages of method references (IDEA-147828) 2015-11-12 12:36:59 +01:00
Maxim.Mossienko 56be13d0c3 performance: avoid psi creation if we should not build stubs for the file 2015-10-23 17:44:50 +02:00
Max Medvedev 9bd13829b8 EA-74274: remove unnecessary error. All works as designed 2015-10-08 17:28:57 +03:00
Ilya Klyuchnikov 251acc2fd5 stub hierarchy draft 2015-10-06 14:26:30 +03:00
Alexey Kudravtsev bb36070eef EA-73712: SOE because the "ignoreInjections" flag in SearchScope was incorrectly set which caused repeated injection->findUsages (in VIICSearcher)->injection (in LowLevelSearchUtil)->findUsages 2015-10-01 14:46:39 +03:00
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