Commit Graph
235 Commits
Author SHA1 Message Date
Roman Shevchenko 25610a8713 [java] module stub, module name index, module-info.class files reading 2016-07-12 18:30:57 +02:00
peter da07daf5ce stub hierarchy: use less memory when reading from index 2016-07-05 08:58:07 +02:00
peter a95a5c1afe "test stub hierarchy" action should find non-indexed classes in files reported as 'covered' 2016-07-04 19:37:30 +02:00
Maxim.Mossienko adba44ddf4 advance index version 2016-07-04 12:57:00 +02:00
Alexey Kudravtsev 8621622cd3 duplicate methods united 2016-06-30 14:45:47 +03:00
Alexey Kudravtsev 03cdb63b4b IDEA-157666 Type Hierarchy scope doesn't work - always shows all subtypes 2016-06-30 14:37:19 +03:00
Alexey Kudravtsev cf53206875 cleanup 2016-06-30 14:37:19 +03:00
peter 0870d8dcad stub hierarchy: search for compiled elements, even if invoked from library source 2016-06-29 15:07:22 +02:00
peter 20c0a7e5a9 on goto implementation, search for cheap class inheritors before expensive functional expressions 2016-06-29 15:07:22 +02:00
peter b4a2271239 stub hierarchy: serialize hashes instead of names for faster reading, smaller index data and a very unlikely collision probability 2016-06-24 17:02:24 +02:00
peter 95b3d482d9 more efficient use of indices in stub hierarchy 2016-06-24 14:57:56 +02:00
peter 36fc41902e make DumbService.runReadActionInSmartMode work in read action in dumb mode, add some invocations 2016-06-16 17:31:59 +02:00
peter 0515817da4 JavaFunctionalExpressionSearcher to tolerate suddenly invalid files (EA-83783 - assert: FileManagerImpl.findFile) 2016-06-14 16:27:04 +02:00
Alexey Kudravtsev be3519d145 PCE left classesBeingProcessed dirty fixed 2016-06-14 14:21:14 +03:00
Alexey Kudravtsev 38e3fa645b visit local classes too in case of local search scope 2016-06-14 14:21:14 +03:00
Alexey Kudravtsev 54d16a96ff for nonphysical elements use supplied scope instead of project since they are uncached anyway 2016-06-14 14:21:14 +03:00
peter 2257393d89 stub hierarchy searcher: honor includeAnonymous parameter 2016-06-10 10:32:32 +02:00
peter 9f1fc46385 cleanup the old stub hierarchy index 2016-06-10 09:05:12 +02:00
peter d412c4d972 use a dedicated file-based index for stub hierarchy 2016-06-10 09:04:34 +02:00
peter 8f51b87597 use stub hierarchy in DirectClassInheritorsSearch 2016-06-09 18:34:58 +02:00
peter 0ac464856f stub hierarchy: extract API 2016-06-09 18:34:57 +02:00
Alexey Kudravtsev 3d149f44ff read action added 2016-06-08 21:40:34 +03:00
Alexey Kudravtsev 927d11c391 rewritten to explicit classesProcessed sets instead of global class user data, extracted LazyConcurrentCollection into separate class 2016-06-08 11:52:53 +03:00
Alexey Kudravtsev 345d4098f4 IDEA-156984 Deadlock in inheritor search 2016-06-07 14:51:59 +03:00
Alexey Kudravtsev 04156f7b31 read action 2016-06-02 14:23:09 +03:00
Alexey Kudravtsev ae98a51b5a use getUseScope() 2016-06-02 14:23:09 +03:00
peter 4ed2ed2db2 simplify and speed up JavaAllOverridingMethodsSearcher by reusing overriding methods search checks whether a class has methods with a given name 2016-06-02 08:24:17 +02:00
Anna.Kozlova 9d6477485d anonymous -> lambda 2016-06-01 09:00:47 +02:00
Alexey Kudravtsev 7c86c5d7b1 removed confusing checkInheritance parameter 2016-05-27 15:48:07 +03:00
Alexey Kudravtsev 1f2fb7f51d direct inheritors optimisations: checking inheritors in parallel, simplify data structures 2016-05-27 15:48:07 +03:00
Alexey Kudravtsev 6e91d83881 merged sequential read actions 2016-05-27 15:48:07 +03:00
Alexey Kudravtsev 4d4be1e490 all class inheritors optimisation (do not try to analyze the base class concurrently) and proper handling of PCE (do not lose the element currently being analyzed) 2016-05-24 15:23:25 +03:00
Anna.Kozlova 43673ee4bd block lambda -> expr lambda 2016-05-24 12:27:58 +02:00
peter 05ea6e7d8b [^ann] show implemented methods popup faster (part of IDEA-155949) 2016-05-18 18:07:48 +02:00
Anna.Kozlova 36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
Anna.Kozlova 3457915069 functional interface searcher: optimization to distinguish by return type 2016-05-17 17:41:48 +02:00
Alexey Kudravtsev 1cb06120d5 reverted 2016-05-17 14:20:36 +03:00
Alexey Kudravtsev 4821248d09 notnull 2016-05-17 14:20:36 +03:00
Anna.Kozlova 738aa64287 suggest to rename lambda parameters if the class is not 'overused' (IDEA-153148) 2016-05-13 20:39:19 +02:00
Alexey Kudravtsev 36a399c55f for non-physical elements ignore the cache completely because non-physical elements created so often/unpredictably so I can't figure out when to clear caches in this case 2016-05-10 14:57:31 +03:00
peter bebf30bd46 JavaClassInheritorsSearcher lazy collection: release semaphore on exceptions from PsiAnchor.retrieve 2016-05-07 21:36:46 +02:00
Anna.Kozlova fce599603a read action 2016-05-02 18:11:58 +02:00
Alexey Kudravtsev 59e2d9dd9e minor performance: removed redundant initializers in java analysis 2016-04-29 12:13:21 +03:00
Alexey Kudravtsev 739fd0cf33 PsiManagerEx.getInstanceEx 2016-04-29 12:11:34 +03:00
Alexey Kudravtsev d6f7d82727 memory optimisation: had to replace collection of PsiClass with collection of PsiAnchor because the former retained AST when somebody accessed psi nodes during iterating. It's all Peter's fault. 2016-04-28 13:59:14 +03:00
Alexey Kudravtsev d1b492ffba duplicate code extracted 2016-04-27 13:31:03 +03:00
peter de85cf5d59 fix ReplaceInaccessibleFieldWithGetterSetterFixTest by not searching for incomplete usages in cls file 2016-04-26 17:14:42 +02:00
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