Tagir Valeev
2758aadfab
[java-indexing] JavaFunctionalExpressionSearcher: fallback to reindex if restoring fragment failed
...
Supersedes EA-261675 - AE: JavaParserUtil.parseFragment
GitOrigin-RevId: 4ca90da3b550a3041572399e7cf38dca9a0d5751
2022-06-27 13:22:04 +00:00
Alexey Kudravtsev
3f2a2eaf34
JavaElementVisitor: notnull
...
GitOrigin-RevId: e4b356ce28796e2631b0a631b5108e0348b77baf
2022-06-11 23:31:48 +00:00
Anna Kozlova
61e72943a3
EA-534308 - NPE: JavaAutoModuleFilterScope.contains
...
GitOrigin-RevId: d0ac5e2a40ffcaf1e78efc011b4925cb9dff7251
2022-06-08 08:32:19 +00:00
Florian Kistner
6b13ec47a5
KMA-432 Provide mechanism that inheritor searchers can use to avoid unnecessary work for participating queries
...
GitOrigin-RevId: 84cb945d4f6e979de56adcb50e3642bda80b9ab6
2022-05-31 13:30:51 +00:00
Daniil Ovchinnikov
3b8a970c87
deprecate PsiResolveHelper$SERVICE
...
GitOrigin-RevId: 85081ddd627298396d389f1d45f97ac23ec155ce
2022-05-19 15:33:24 +00:00
Anna Kozlova
5840073672
[java] avoid traversing vfs during indexing to check for automatic module name in MANIFEST.MF(IDEA-293456)
...
review comments
GitOrigin-RevId: 6b9ca21c02e896782a0bdffc94bca235a99bf474
2022-05-13 10:00:15 +00:00
Anna Kozlova
a69b28077f
[java] avoid traversing vfs during indexing to check for automatic module name in MANIFEST.MF(IDEA-293456)
...
GitOrigin-RevId: db5ee5c486ac4fc57c7c8a30a2002ec1295fd93f
2022-05-11 17:20:13 +00:00
Anna Kozlova
914bb33096
[search] start non-blocking read action for access (IDEA-292724)
...
GitOrigin-RevId: 6b7894773886e9b0e1014c85fbf660c133f668e2
2022-04-22 18:58:40 +00:00
Roman Ivanov
2aeceafd59
[java, usages] search record component method references in other files IDEA-291753
...
GitOrigin-RevId: 0dd837183b67f8a25ff1c35a71bc796414b2d8a7
2022-04-08 11:56:43 +00:00
Alexey Kudravtsev
9493da7062
EA-476002 IAE: JavaClassInheritorsSearcher.$$$reportNull$$$0
...
GitOrigin-RevId: 08b0c9a377283954c4978bad963d2d78f5331cc7
2022-04-01 15:07:05 +00:00
Alexey Kudravtsev
28716cba33
prefer VisibleForTesting from jetbrains-annotation to avoid unnecessary Guava dependency
...
GitOrigin-RevId: 81134246cde73fb3205064bef8c888c1fa0c44a9
2022-03-22 18:02:22 +00:00
Anna Kozlova
5d5412de4f
EA-389337 T: SharedImplUtil.findFileElement
...
GitOrigin-RevId: 313fa6aab59c6c8529d0add9ac53e14e62f77670
2022-03-14 18:24:07 +00:00
Tagir Valeev
090f452ab0
Remove unnecessary boxing
...
GitOrigin-RevId: 5b7d8fbfca9d58fcde762c01e564b16be44d9c1f
2022-02-17 05:40:22 +00:00
Gregory.Shrago
1c61e531af
IDEA-288818 make index check hashed key equality for all clients
...
GitOrigin-RevId: f4900beb1828322740ca955afc7e771f164cf62e
2022-02-16 10:51:02 +00:00
Gregory.Shrago
8f8e8ba3e5
IJ-CR-18672 extract CharSequenceHashStubIndexExtension
...
GitOrigin-RevId: 3e16c095659bba47916bc076978bed3c510916c3
2022-02-07 21:59:09 +00:00
Alexey Kudravtsev
d91c72c6af
add more javadoc
...
GitOrigin-RevId: 1d20b851f2eba13236e4ae16f38562d39b27324b
2022-02-03 15:08:03 +00:00
Alexey Kudravtsev
64b65d2542
cleanup
...
GitOrigin-RevId: 6318779922a84841f760815b02bc340fe3218d93
2022-02-01 15:28:26 +00:00
Dmitry Avdeev
ce0f0b675f
IDEA-280487 Inlay hints settings: hints are not displayed in preview
...
enabling hints for inheritors
GitOrigin-RevId: 2383c9a9e19e8d07384afe51edac9fe3c8ae5b4f
2022-01-22 12:53:12 +00:00
Dmitry Batkovich
f4dae2224f
enable JavaNullMethodArgumentIndex even in online mode
...
GitOrigin-RevId: f550b3d1426fe9b6b1f6d7b3ad97aa50fc09fb38
2022-01-20 19:37:39 +00:00
Vladimir Krivosheev
5418193f18
CompilerReferenceService as a preloaded service - this index is important is used right after the project opening to highlight
...
GitOrigin-RevId: ea5b6b03cd1ea5f4e8f7a8b6c7dff1f51d2a3567
2021-12-31 12:06:52 +00:00
Dmitry Batkovich
d21c8dd1ae
revert index version changes
...
GitOrigin-RevId: ace3c132a74bc011a03718f01882628a329363d0
2021-12-17 00:39:22 +00:00
Gregory.Shrago
12c74c9d89
make java fqn index use string keys
...
GitOrigin-RevId: 637d790f739944841efe199888666d2fe300dbf2
2021-12-14 12:42:07 +00:00
Anna Kozlova
2e4ea1b5d4
EA-389337 (plugin) - T: SharedImplUtil.findFileElement
...
GitOrigin-RevId: 366560ce9a30c3bb52defe2ab32980f31fd57c52
2021-11-15 11:53:48 +00:00
Anna Kozlova
05f2dbfda9
NPE
...
GitOrigin-RevId: 4054a3a3248f3c06924b9b94fb89a4f487504f51
2021-11-09 08:19:01 +00:00
Anna Kozlova
e8cc225191
[java] add external annotations in batch when roots are configured
...
IJ-CR-16418
GitOrigin-RevId: ad4d8aef04eaa61250e7e0bc59930b8e3edfb064
2021-11-08 20:58:13 +00:00
Dmitry Gridin
eff8240ca2
[java] MethodTextOccurrenceProcessor: add annotations
...
GitOrigin-RevId: ab0c00a6f40f47a0491c632146207b8962f9e35d
2021-11-03 13:46:18 +00:00
Alexey Kudravtsev
908de66f0e
replace error-prone start/finishBatch API with runBatchFilesProcessing(Computable)
...
GitOrigin-RevId: c3169602fa6cdc6c82d6323538cc3caefa9c378f
2021-10-28 18:49:56 +00:00
Andrey.Cherkasov
631b9ae393
[java] Check for PsiQualifiedExpression instead of checking for both PsiThisExpression and PsiSuperExpression
...
GitOrigin-RevId: 8ec9b9cc3f255218bed65ace1a2613e34609f251
2021-10-26 15:06:39 +00:00
Alexey Kudravtsev
b03472d8ca
optimizations: do not calculate containing file too often, do not traverse list unnecessarily, to alleviate some of IDEA-275798 IDE causes high CPU load (after some time)
...
GitOrigin-RevId: cd891346ca7fb3de8e6af0817f9c5ff74a6091ad
2021-09-30 12:29:54 +00:00
Anna Kozlova
3d09081188
javadoc
...
GitOrigin-RevId: cd960f4d74f1243a3a2453cd4c1bed759239231e
2021-09-21 15:18:37 +00:00
Alexey Kudravtsev
a897b7c13c
optimization: return LocalSearchScope.EMPTY instead of GlobalSearchScope.EMPTY_SCOPE explicitly to avoid unnecessary FileBasedIndex accesses during search
...
GitOrigin-RevId: b7cf8f4b4dec2f79f2231b97b091cc0ed7978473
2021-09-15 16:28:39 +00:00
Anna Kozlova
f33a1f5426
[functional expressions search] check method equality when applicable (IDEA-276298)
...
otherwise unrelated lambdas/method references may land in results when intermediate inheritors contain default methods
GitOrigin-RevId: aa5baae37ff676ca477ca41d82b782c42d5fda6c
2021-08-18 15:11:51 +00:00
Alexey Kudravtsev
1b3d93480f
remove more Trove4j usages, mark CaseInsensitiveStringHashingStrategy/CharSequenceHashingStrategy deprecated in favor of CollectionFactory, remove trove4j dependencies from some platform modules
...
GitOrigin-RevId: 3cdbc41f14e83b940dbed488d4edeedcc400a9b7
2021-08-03 14:27:54 +00:00
Anna Kozlova
ab2594d5e5
[java] skip function expression search for empty scopes
...
GitOrigin-RevId: 55f025962c4ef6718d003b33095a0380db07a0e8
2021-07-30 11:33:03 +00:00
Dmitry Gridin
2fde23347a
[java] javac index: transform scope from 'without' to 'with' references
...
^KTIJ-16709
GitOrigin-RevId: 0c8da8494e51fc1412cf5d1c3a9cfa6c45e19a6c
2021-06-22 10:58:18 +00:00
Dmitry Batkovich
999b8331d6
do not use IdFilter if possible (substitute project id filter on index side)
...
GitOrigin-RevId: 91d1ff7320ea2aafa9013651494c2d36ba6dae6d
2021-06-07 11:55:54 +00:00
Alexander Zolotov
60a3a3b416
[core] move some maps to intellij.platform.util.collections
...
GitOrigin-RevId: 95bb9adb56b90436b707a55ec4960aed1a41f6c7
2021-05-27 09:44:38 +00:00
Nikita Eshkeev
17d84a1681
[freeze][dataflow from here] IDEA-268322 Freeze when Analyze Data Flow from Here
...
This patch restores the blocking read computation in JavaOverridingMethodsSearcher because the "nonBlocking()" call changes semantics of JavaOverridingMethodSearcher. Nonblocking made it be interrupted by write actions and everything became invalid in the middle of a computation, which might have affected the clients.
The analyze from/to here panel should be rewritten to the async model with the help from AsyncTreeModel.
GitOrigin-RevId: ed6864ba098724487f9836ecf880bbed60da0545
2021-05-25 12:25:21 +00:00
Nikolay Chashnikov
37379d931d
[java] provide registry option to attach external annotations to all modules (IDEA-269932)
...
GitOrigin-RevId: 29180902a8af0250c6e3151184e796fa617bf102
2021-05-24 08:01:59 +00:00
Nikita Eshkeev
dee3add870
[freeze][dataflow from here] IDEA-268322 Freeze when Analyze Data Flow from Here
...
The "Analyze DataFlow from" panel used to hang, when a user expanded nodes quickly. It occurred due to long read actions that prevents EDT from accepting new events. This patch converts blocking read actions to non-blocking ones which significantly reduces the possibility of freezes.
Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com >
GitOrigin-RevId: 8ff3c66b63fb9f8b07c4376f26ea7c65ca2381c7
2021-05-05 15:16:40 +00:00
Dmitry Jemerov
749ce8a332
Cleanup: remove @author tags
...
GitOrigin-RevId: 9174eb8d77215b16f9f6c6074e6aced654d95ef1
2021-05-03 13:07:48 +00:00
Vladimir Krivosheev
48bd57bce5
reduce classloading - don't load trove on start-up
...
GitOrigin-RevId: c6a074deba57ba77d5936c2bddd1f71db8abd9ce
2021-05-02 06:10:27 +00:00
Alexey Kudravtsev
415ca39535
EA-265492 (plugin) - T: SmartPointerManagerImpl.createSmartPsiElementPointer
...
GitOrigin-RevId: 6b8ba71732d3b68eb8be02835688d1fd8150f5b6
2021-04-16 17:02:07 +03:00
Alexey Kudravtsev
0aa57644d1
cleanup
...
GitOrigin-RevId: 09b8bebc1170b9c14bfd1d9e1d4841d561e8edbc
2021-04-16 17:02:06 +03:00
Vladimir Krivosheev
28e62af65b
cleanup (reduce usages of deprecated Getter interface)
...
GitOrigin-RevId: 4d916ad1e868a8eed7793a7cf22965a2096e38e8
2021-03-26 20:22:17 +00:00
Alexey Kudravtsev
edc3109a3a
EA-259156 (plugin) - CCE: JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$0
...
GitOrigin-RevId: 0c3ec5914903fb03875afb0b5592a1de565bcf49
2021-03-22 13:01:42 +00:00
Dmitry Batkovich
7e4672a42f
run read-action in smart mode EA-261262
...
GitOrigin-RevId: a4f3527ea5e9e8b8ccf69363f741ef75dae16e14
2021-03-19 05:21:04 +00:00
Dmitry Batkovich
2a61facfbf
partially revert "take into account use scope enlarger while inheritors/functional expression searches" (do not create functional expression index for java classes inside jars)
...
GitOrigin-RevId: 74c8f52760ed86a68edb4f34bba4dada53a0244e
2021-02-09 05:06:18 +00:00
Brian McNamara
ca35b63d33
take into account use scope enlarger while inheritors/functional expression searches
...
GitOrigin-RevId: 8b62d47f2aef69308f891e2e537c76ece7d5e5ca
2021-02-04 12:49:15 +00:00
Vladimir Krivosheev
99528c07c6
cleanup
...
GitOrigin-RevId: 4bed85d2ab8d0a138370632f14266944d2766e33
2021-02-03 20:06:42 +00:00