Commit Graph
74 Commits
Author SHA1 Message Date
Alexey Kudravtsev 677a5280eb annotate varargs methods with SafeVarargs or add corresponding external annotation to get rid of yellow callsites 2016-10-24 15:11:30 +03:00
peter 45a73ae1f3 AnnotatedElementsSearch.Parameters.isApproximate false by default (IDEA-161355) 2016-09-16 16:01:00 +02:00
peter e9790ebb6a IDEA-161355 InjectionCache.getAnnoIndex should be faster 2016-09-16 15:54:58 +02:00
peter fa2142d2ea cache effective reference search scopes 2016-08-24 17:53:02 +02:00
Anna.Kozlova 78d1492242 explicit types to diamonds 2016-08-08 17:08:03 +02:00
Anna Kozlova 250c77b260 remove unused (wrong named) EP declaration 2016-07-01 11:02:40 +03:00
Alexey Kudravtsev 7c86c5d7b1 removed confusing checkInheritance parameter 2016-05-27 15:48:07 +03:00
Anna.Kozlova 36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
Alexey Kudravtsev 3b521f997c dangling javadocs removed 2016-04-29 12:13:21 +03:00
Alexey Kudravtsev 9859f39e8c notnull, cleanup 2016-04-04 14:02:59 +03:00
Alexey Kudravtsev ab23f498d1 take nameCondition into account for direct subclass search, deprecations 2016-04-01 14:37:47 +03:00
Alexey Kudravtsev 639aea8f13 deprecate dangerous and useless search(checkInheritance) method 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 3425838d56 typo 2016-03-28 14:59:27 +03:00
Alexey Kudravtsev 6215f811c2 inline parameter, cleanup 2016-03-25 17:18:49 +03:00
Alexey Kudravtsev cf996c91f0 lambdify 2016-03-25 17:18:49 +03:00
Alexey Kudravtsev f6c1a56465 optimisation: use DirectClassInheritorSearcher when deep=false 2016-03-23 13:56:51 +03:00
Alexey Kudravtsev b63f4f58d9 notnull 2016-03-22 19:13:45 +03:00
Alexey Kudravtsev 046b65d3c5 lamdify 2016-03-22 15:40:56 +03:00
Alexey Kudravtsev 6ca5d96d55 notnull 2016-03-18 12:06:16 +03:00
Alexey Kudravtsev 0714e7a97a notnull 2016-03-09 16:29:19 +03:00
peter 7774c07d85 correct typo in PsiShortNamesCache.processAllMethodNames 2015-10-21 11:03:42 +02:00
peter 51f0d89314 add read action to ClassInheritorsSearch mapper (EA-73277 - assert: SmartPointerManagerImpl.createSmartPsiElementPointer) 2015-09-18 19:08:48 +02:00
Dmitry Jemerov d811626884 fix broken code formatting 2015-09-01 21:04:26 +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 e4489cbfba hold no references to PSI (and possibly AST) during long ClassInheritorsSearch (https://youtrack.jetbrains.com/issue/IDEA-144136#comment=27-1096458) 2015-08-20 17:39:33 +02:00
peter 3af3676154 make com.intellij.psi.search.searches.AllClassesSearch.EP_NAME final 2015-08-12 17:07:47 +02:00
peter 5611369cc1 move java class inheritor searcher to a separate class in impl 2015-07-22 15:47:39 +02:00
peter 1cd157c449 ClassInheritorsSearch: remove API not used by kotlin plugin 2015-07-22 15:47:39 +02:00
peter b0d813f26d introduce DumbAwareSearchParameters and delay reference search executors until smart mode by default 2015-03-12 17:36:47 +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 fba1bf4c5b don't search for inheritors of an invalid class (EA-65106 - PIEAE: StubBasedPsiElementBase.getContainingFile) 2015-02-18 19:26:48 +01:00
peter d5a834c2d0 searchers: make public static constants final 2015-02-05 19:10:22 +01:00
peter 302967b3f0 deprecate SearchParameters.getScope 2014-12-02 16:05:07 +01:00
Maxim.Mossienko 8b82c88766 introduced / used MethodReferencesSearch.SearchParameters.getEffectiveUseScope() 2014-10-30 23:47:29 +01:00
Anna Kozlova 1f968cf870 NPE ( IDEA-129841) 2014-09-16 16:04:05 +04:00
Alexey Kudravtsev 489ef4b7dc read action 2014-09-08 15:12:05 +04:00
Alexey Kudravtsev 2bc3f7a024 cleanup: Condition.TRUE 2014-09-02 15:27:55 +04:00
Alexey Kudravtsev e865938524 added read action 2014-08-21 19:17:15 +04:00
Alexey Kudravtsev 690c6343c5 read action 2014-08-21 17:01:56 +04:00
Alexey Kudravtsev bb28346ded notnull 2014-06-18 14:59:02 +04:00
Alexey Kudravtsev c1da4f332c moved away from openapi 2014-05-29 13:22:55 +04:00
Konstantin Bulenkov e5b9d92e7e use Couple 2014-05-08 11:12:32 +02:00
Anna Kozlova 39f354b925 functional expressions: ensure that method to search is functional (not default or static) 2014-04-08 16:45:39 +02:00
Anna Kozlova ec1d4927bd search for functional interface implementations by lambdas and method references: change signature/find usages; to be continued (IDEA-104286; IDEA-90824) 2014-04-07 16:59:16 +02:00
Alexey Kudravtsev 9edcbfe944 reverted SafeVarargs because of Oracle license restrictions 2014-02-13 13:07:43 +04:00
Alexey Kudravtsev 9b585568e9 annotated by SafeVarargs.
The stub of SaveVarargs is put into util module for those old stumps clutching to their precious JDK1.6
2014-02-12 15:56:42 +04:00
Anna Kozlova 93330f855e restore that ClassInheritorsSearch returns unique results (IDEA-119628) 2014-01-22 12:03:15 +04:00
Maxim.Mossienko 86613889e5 cleanup unused import 2013-10-18 12:36:31 +02:00