Vladimir Krivosheev
0a61137281
deprecate ContainerUtil.newHashMap()
...
GitOrigin-RevId: c6cc0b27714e90377265aff95c36b5ebdc4487e4
2019-05-03 13:03:35 +03:00
Vladimir Krivosheev
190a5018d5
deprecate ContainerUtil.newTroveMap()
...
GitOrigin-RevId: 09adba096813d93d5c93ddc385c1729bc23bd4a3
2019-05-03 12:05:21 +03:00
Aleksey Pivovarov
322db66a12
Recover after problematic merge
...
This commit reverts 65a557bb38f6ac03afa9aabaf02cb8d99fc68a91
3f5cfd958d9b6b54393c15983ac94f519c37fe61
GitOrigin-RevId: 8fb8ccbb17d0e217a83f265c185a943b0f5a7ed6
2019-05-03 01:52:21 +03:00
Nicolay Mitropolsky
9b850726ee
[uast-groovy] UInjectionHost support
...
GitOrigin-RevId: 49ec454d1831796fa63b77fdc965f61985bf877e
2019-05-03 01:47:46 +03:00
Vladimir Plyashkun
c33e69a545
CPP-16098 - Lags during inplace rename typing
...
- reverted some of the changes
GitOrigin-RevId: c7c07b80a76c29794ef31e0e916e62f7f302917a
2019-05-03 01:47:14 +03:00
Leonid Bushuev
34be4bbf7d
Apply the change from Develar: cleanup - specify UTF_8 charset explicitly
...
GitOrigin-RevId: 3f5cfd958d9b6b54393c15983ac94f519c37fe61
2019-05-03 01:46:11 +03:00
Vladimir Plyashkun
61a3e18b78
Merge branch 'master' into vplyashkun/inplace_rename_lags
...
GitOrigin-RevId: aaecc2a32e4e42de827efb45b8df733874a722e4
2019-05-03 01:41:29 +03:00
Leonid Bushuev
970dc0fe32
Remove unnecessary downcasting
...
GitOrigin-RevId: b91110977db6e5b08d9f4aaffa8496d305d698e2
2019-05-03 01:40:23 +03:00
Vladimir Plyashkun
2d9369d983
CPP-16098 - Lags during inplace rename typing
...
- changed behaviour in safe way by introducing new method to check that particular expression does not depend
on committed PSI
GitOrigin-RevId: f5ec732613cdafdcef8a1d48eb8d04135c634047
2019-05-03 01:39:50 +03:00
Leonid Bushuev
338ad6db56
SQL code style per dialect: UI: fix indent editor
...
GitOrigin-RevId: 3cb00f5c500523717c42f404b2f38fd1822d6db0
2019-05-03 01:39:18 +03:00
Vladimir Plyashkun
d990d75dba
Merge branch 'master' into vplyashkun/inplace_rename_lags
...
GitOrigin-RevId: 5c7f8c478e7328df1646879ede977efd7465adf8
2019-05-03 01:38:45 +03:00
Leonid Bushuev
9f35a30458
SQL code style per dialect: UI
...
GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
2019-05-03 01:36:24 +03:00
Tagir Valeev
884ee2423a
PsiNewExpression#isArrayCreation used
...
GitOrigin-RevId: 2d669600fe6ecbc552ed7e4043314c6a67f3ac8e
2019-04-29 12:34:23 +03:00
peter
28a5a5765f
IDEA-211449 IDEA is unable to find lambda implementations when invoked on library class source
...
GitOrigin-RevId: 8fd904e0dae62c5b15f9b85fe2086860bf89b4d0
2019-04-28 17:13:28 +03:00
peter
d841318606
add LightTreeUtil.processLeavesAtOffsets to speed up indices that walk text occurrences (IDEA-211564)
...
GitOrigin-RevId: cdc48ae3679e43a5ca7b87d0c371ecb6ab78cc19
2019-04-28 16:49:02 +03:00
Tagir Valeev
8f4ed82473
Merge remote-tracking branch 'origin/master'
...
GitOrigin-RevId: 4aa2198b0e40383875028553977a5721ba77766d
2019-04-23 13:19:45 +03:00
Gregory.Shrago
6e9c41dfed
inline FileBasedIndex#ourEnableTracingOfKeyHashToVirtualFileMapping
2019-04-18 17:16:08 +03:00
peter
bd509e9bc3
don't call expensive getResolveScope when searching for all annotations (IDEA-210550)
2019-04-12 19:40:01 +02:00
peter
e252cd0863
remove the remainder of stub hierarchy, not used in known plugins anymore
2019-04-01 16:03:15 +02:00
peter
c00f4154cf
IDEA-209480 Remove stub hierarchy
2019-03-26 09:56:16 +01:00
Tagir Valeev
62bbfeaa3c
JavaFunctionalExpressionIndex: support array initializers
2019-03-15 10:45:43 +07:00
Tagir Valeev
d1c3d866bd
FunExprOccurrence#canHaveType: fix handling of fully-qualified package names
2019-03-14 15:24:30 +07:00
Tagir Valeev
9ea477649c
FunExprOccurrence: fall-back to global members instead of giving up if chain breaks
...
Reduces number of full PSI queries from 3660 to 3143 in performance test
2019-03-14 14:26:30 +07:00
Yann Cébron
a56724ec15
CompilerReferenceService: fix Javadoc reference
2019-03-08 18:43:31 +01:00
Tagir Valeev
1586b90ba9
ApproximateResolver: fixed superclass substitutor handling (IDEA-CR-44055)
2019-02-27 10:41:58 +07:00
Tagir Valeev
0ed3ca68d3
ApproximateResolver: avoid returning type parameter (IDEA-CR-44055)
2019-02-26 18:00:12 +07:00
Tagir Valeev
a2ee1108dc
ApproximateResolver improvements
...
Support of new/this/ternary qualifiers; substitute return type in trivial case
Reduces number of functions fully checked during "test find functional expressions" from 3650 to 2600 (-29%)
2019-02-26 13:55:43 +07:00
peter
cddf6f3c73
speed up functional expression search by caching applicable members by scope
2019-02-25 19:27:59 +01:00
peter
8bb9a4222b
make Query#forEach thread-safe by default
...
We have too many usages which don't suspect the consumer might be called concurrently on different threads and don't guard against that. And in most cases having mutually-exclusive processing is fine.
2019-02-25 11:59:36 +01:00
Tagir Valeev
094a14783a
LambdaUtil#resolveFunctionalInterfaceClass
...
Could be faster than PsiUtil.resolveClassInClassTypeOnly(expression.getFunctionalInterfaceType())
2019-02-25 17:51:51 +07:00
Alexey Kudravtsev
3bf0e69b7a
EA-134680 - CME: JavaDirectInheritorsSearcher.calculateDirectSubClasses
2019-02-16 14:43:56 +03:00
Vladimir Krivosheev
d6f3011893
deprecate ComponentManager.getExtensions
2019-02-08 13:18:45 +01:00
Anna.Kozlova
43148e50fb
direct inheritors search: ensure cached value contains results both from compiler refs and source search
...
if compiler references first produce results, then these results must be included in cache, otherwise, if next time compiler references won't be available, cached value would contain partial (thus invalid) result
2019-01-25 19:52:33 +01:00
Sergey Ignatov
526aa7f91e
remove redundant casts
2019-01-23 19:17:38 +03:00
Anna.Kozlova
65ae73a5b7
don't find classes in resource folders
...
otherwise unpredictable results may occur, e.g. guava has resource root which nearly repeats source root of another module; thus when resolve ends up in resource root, different belongs to checks fail (unpredictably, as there is no well defined order where to resolve in such cases)
2019-01-15 16:34:07 +01:00
nik
d2653869a5
IntelliJ project configuration: rename KotlinJavaRuntime library to kotlin-stdlib-jdk8
...
For clarity and consistency with artifactId and other Kotlin libraries.
2019-01-11 11:59:04 +03:00
Tagir Valeev
2b15589de8
JavaSimplePropertyIndex: checkQulifiers -> checkQualifiers
2018-12-10 18:19:24 +07:00
peter
2a441cc9a1
don't load all java stub element types when all we need is FILE
2018-12-03 08:30:18 +01:00
Dmitry Batkovich
9b3dd15ace
JavaBinaryPlusExpressionIndex: use recursive visitor instead of node resolution by offset (IDEA-202748)
2018-11-30 18:57:32 +03:00
peter
52c5f7e30b
more cancellability in JavaBinaryPlusExpressionIndex (IDEA-202748)
2018-11-22 17:47:00 +01:00
Roman Shevchenko
7bbd35ac3d
[java] fixes exotic case of failing module resolve (IDEA-201231)
...
A module was referenced via both class and source roots, so the filter (incorrectly) rejected it.
2018-10-25 18:36:19 +02:00
peter
a6e563a762
lambda search lightweight checks: handle type parameter named like SAM class (IDEA-CR-38543)
2018-10-25 18:03:44 +02:00
peter
749a7041bc
lambda search lightweight checks: verify class equality, process all type param bounds (IDEA-CR-38543)
2018-10-25 17:22:22 +02:00
peter
2042b1cc28
speedup lambda search: don't check assignability in light applicability check
...
because we already search for all possible SAM inheritors of the main searched class, so we can check exact name match
2018-10-22 20:48:52 +02:00
Alexander Zolotov
f3a104f671
Do not initialize all Java element types on components instantiation
...
we don't need java elements on the IDE start
2018-10-01 19:21:11 +03:00
Vladimir Krivosheev
4d3eb96aae
deprecate Extensions.getExtensions(ExtensionPointName) in favour of ExtensionPointName.getExtensionList()
2018-09-25 15:42:23 +02:00
Alexey Kudravtsev
591a3f67c0
cleanup: replace list.stream().filter.collect(toList()) with ContainerUtil.filter
2018-09-24 12:33:00 +03:00
nik
0be3657ad0
cleanup: remove 'public' modifier from constructors in non-public classes (IDEA-195931)
...
public constructors in non-public classes may be confusing, and removing them makes code shorter.
2018-09-06 16:49:46 +03:00
Alexey Kudravtsev
eec77c6320
notnull various listeners
2018-08-30 14:20:34 +03:00
Alexey Kudravtsev
9f97070926
bounded wildcards in API
2018-08-29 14:42:06 +03:00