Tagir Valeev
320de07c32
IDEA-231900 Support TYPE_USE Nls
...
GitOrigin-RevId: 40c7aedb9cc07d0a1902c2c5f6b46056fe8e34ad
2020-02-19 07:09:55 +00:00
Tagir Valeev
3667540bc6
IDEA-233117 Nullability gutter always present for @NotNull on inner class type annotations
...
GitOrigin-RevId: 5079867f722ad4d16f22f9b46ce28f4e02a37923
2020-02-18 11:42:56 +00:00
Tagir Valeev
11d0a4d5cd
PsiType#getPresentationText: fixed annotation mode
...
GitOrigin-RevId: 0b2384658c121a23020c1e868e02364ade4dae0e
2020-02-18 04:12:37 +00:00
Anna.Kozlova
d947f4662f
recognize jdk 15 builds (IDEA-231664)
...
GitOrigin-RevId: 5c79e87b39022acd07dcc9676d16c6ad56cb298b
2020-02-17 10:41:06 +00:00
Tagir Valeev
4597d02316
getTarget moved from AddAnnotationPsiFix to AnnotationTargetUtil
...
Review ID: IDEA-CR-58440
GitOrigin-RevId: 8c10e501668c5679fb4501120427ba503d2190dd
2020-02-17 03:08:45 +00:00
Dmitry.Krasilschikov
5761fe3429
IDEA-CR-58342 a better key name
...
GitOrigin-RevId: 159b94fb9d4f0adb0792a05b0167d280257515b5
2020-02-16 16:47:10 +00:00
Anna.Kozlova
3d01bca39d
i18n: find usages for local or anonymous
...
GitOrigin-RevId: 34de2c119c209c222f0c977bb2fcf19f4650f434
2020-02-14 11:12:16 +00:00
nik
952d7a15ea
[platform] move properties used in java.psi* modules to JavaPsiBundle (IDEA-209382)
...
GitOrigin-RevId: bb845bfcca5563227b02947d28913b5070ed03f5
2020-02-14 07:51:31 +00:00
nik
b93dcd1d1a
[java] sort properties in JavaPsiBundle and use visibility.presentation as prefix instead of suffix
...
This is needed to ensure that newly added properties will also be sorted.
GitOrigin-RevId: d27033d73c7a3a1246fb02589defdde8878452b9
2020-02-14 07:51:31 +00:00
Tagir Valeev
267e9538b6
Cleanup
...
GitOrigin-RevId: b09f066f15c4ce0f1a356a1e41f256ce34298b1d
2020-02-14 04:19:28 +00:00
Tagir Valeev
f167b12e65
ExternalAnnotationsManager: typo fixed (IDEA-CR-58317)
...
GitOrigin-RevId: dc3b145d4a9cecb3aad1d3004779912fc7aa312d
2020-02-14 04:19:28 +00:00
Tagir Valeev
9aaae5e16f
LambdaUtil cleanup
...
GitOrigin-RevId: 9cc3c427b49da00955b5926461ac16d7ba0ab98c
2020-02-13 07:10:21 +00:00
Tagir Valeev
ca4cd28b82
AddAnnotationPsiFix: support annotating lambda parameter without a type
...
GitOrigin-RevId: 11fe3fdfa77f1d52c1e122dd790b3375488496f6
2020-02-13 06:33:23 +00:00
Dmitry.Krasilschikov
516c22d0c1
lazyMessage() for actions
...
Replace actions' `message()` with `lazyMessage()` for actions' text/description localization on enabling language plugin w/o IDE restart
GitOrigin-RevId: 6eabd22bc237f2c531e9dc34e3a6e9e03ce3c940
2020-02-12 17:11:31 +00:00
Alexey Kudravtsev
332ca6d5cf
deprecate EmptyIterable in favor of standard Collections.emptyList()
...
GitOrigin-RevId: e0e211241eb48f665a3117627c81f0c67fff0883
2020-02-12 11:40:58 +00:00
Tagir Valeev
2c486b2d0a
Improved type annotation support
...
PsiTypeElementImpl#addAnnotation implemented
AddAnnotationPsiFix, NullableNotNullManager adjusted
Fixes IDEA-232258 "Annotate overridden method parameters @NotNull" erroneously adds notNull to the param, not its type
Fixes IDEA-232565 Intention "Annotate overriding methods as NotNull" doesn't respect "type use"
Also, AddAnnotationPsiFix can be applied in batch now when annotations are not external.
GitOrigin-RevId: 0b652d3b032ed0d1c701beeda102c5e3c841762c
2020-02-12 06:13:13 +00:00
nik
9b43e8ddc6
[platform] move java-specific visibility properties from PsiBundle to JavaPsiBundle
...
It makes no sense to have them in the platform. Also this is needed for IDEA-210732.
GitOrigin-RevId: 5576888118121a3368c827b595033a1165668d7b
2020-02-11 15:08:03 +00:00
Dmitry.Krasilschikov
72766d161e
localize "Java" messages
...
GitOrigin-RevId: ab00100183ddeda8ffeb8af8e06bc88160d4441d
2020-02-11 14:47:01 +00:00
Vladimir Krivosheev
bac2b6d2f8
use java 7 API — get rid of home grown assertNotNull and notNull
...
GitOrigin-RevId: 4df1569fc01d15cfbe42b00a5b5edf7c1ea0f5b3
2020-02-11 10:36:25 +00:00
nik
d5944cf325
[java] rename JavaCoreBundle to JavaPsiBundle for consistency with the module name (IDEA-229829)
...
And move the corresponding properties file to a resource root for consistency with other modules.
GitOrigin-RevId: 10b8cd635e496f744f4c8c519ff9046ead78e07e
2020-02-10 14:20:15 +00:00
Dmitry.Krasilschikov
b9fb76d7b9
Properly arrange CommonBundle keys
...
GitOrigin-RevId: ad67152d90ee76d5fad0942c882d31e43a718b3d
2020-02-10 11:03:00 +00:00
Alexey Kudravtsev
e81af0f0cf
cleanup: remove hostile Nullable, add NotNull
...
GitOrigin-RevId: 802c30ee41436359655e5018667720a7a7c6890a
2020-02-05 11:06:08 +00:00
Alexey Kudravtsev
d9110f31cc
cleanup: correct type signature
...
GitOrigin-RevId: 15001019860f517cbec6f63fed4aca5734f652bd
2020-02-05 11:06:08 +00:00
Tagir Valeev
ba6a8727a8
InstanceOfUtils#typeCompatible: null-check
...
GitOrigin-RevId: 50f63ac3761f605ed61d8594c22c584b446defbd
2020-02-05 06:09:40 +00:00
Alexey Kudravtsev
4d37023815
cleanup
...
GitOrigin-RevId: 73afd8d210cef657b29f7ef2695277ea6a941169
2020-02-04 14:11:02 +00:00
Dmitry.Krasilschikov
6dbcbb1a25
rollback: localize hardcoded literals
...
GitOrigin-RevId: 843e3ca4640e15b0ca1e2a8d328e31e5a6f817c1
2020-02-04 13:10:56 +00:00
Tagir Valeev
520c89b052
PsiSubstitutorFactory: NotNull annotations
...
GitOrigin-RevId: e6b75393e69d1e8ee63c773bdba60630bf13bb51
2020-02-04 12:37:14 +00:00
Dmitry.Krasilschikov
e2eb9e2505
localize "Java Types" hardcoded literals
...
GitOrigin-RevId: c35c931485a21c8c7faa88e9c6d717a0a644dbf5
2020-02-03 16:02:37 +00:00
Tagir Valeev
e31d15867a
Code-analysis: bound annotation should win over default annotations
...
GitOrigin-RevId: 6c3630239906f333c4fc12c4482ecddfa60a0e40
2020-02-03 09:39:27 +00:00
Dmitry.Krasilschikov
d4c5ac8854
API for lazy localized messages
...
Use `XBundle.lazyMessage()` API a string to be changed to its localized variant on a language plugin enabling w/o restart
`public static Supplier<String> lazyMessage() {...}` added into many bundle classes
GitOrigin-RevId: 8c6ef21c8bc774614e6bb94dad27ff5db6cbff07
2020-02-03 09:39:27 +00:00
Dmitry Jemerov
1bd0ed0834
Dynamic queryExecutor EPs
...
GitOrigin-RevId: bde157c3f47d2084b11bd1178d62d8b9595f6a13
2020-01-29 19:34:36 +00:00
Artemiy Sartakov
5136d5999f
TextBlockMigration: support two new escape sequences (IDEA-230758)
...
GitOrigin-RevId: ab4d06cd4d6c198fcfc94d67e1e758de291648c1
2020-01-29 04:45:09 +00:00
Tagir Valeev
7d8e164b38
IDEA-231428 Extract variable after old instanceof could introduce a pattern variable
...
GitOrigin-RevId: f4ada449f5345bd442949611e736a3cf75c55480
2020-01-28 10:37:03 +00:00
Tagir Valeev
87cb8f4dd2
JavaElementKind: javadoc typo fixed
...
GitOrigin-RevId: 2f19506babf0b77ca12643fbf795f29f1bb01b2a
2020-01-22 06:03:40 +00:00
Tagir Valeev
6bd95c28cc
JavaElementKind methods renamed; more CommonQuickFixBundle and JavaElementKind usages
...
GitOrigin-RevId: 93f5b6e974986efb0de86566875d77dc821ffea5
2020-01-22 06:03:40 +00:00
Tagir Valeev
dbc4ff53e2
JavaElementKind; more usages
...
GitOrigin-RevId: 03b93ab6274c6f94faab483529b08d6a7876342b
2020-01-22 05:13:16 +00:00
Tagir Valeev
8f8464d394
JavaElementKind; usage example
...
GitOrigin-RevId: 1a511ad4611acebbe4b54edbf568560f72ead6df
2020-01-22 05:13:16 +00:00
Peter Gromov
021d6b9444
IDEA-230899 Wrong lambda-completion type inference
...
GitOrigin-RevId: 185f1a9f35895a5c891ac0586e4c46959f98f342
2020-01-21 19:03:18 +00:00
Vladimir Krivosheev
ba98224912
remove author (only some, where it is ok)
...
GitOrigin-RevId: 7dbab7524fe4efc5d17a04b95dee88b6f80fbe8d
2020-01-21 17:36:52 +00:00
nik
5dff73ead7
cleanup: remove useless '@author nik' from javadoc comments
...
The fact that I created these files in the past doesn't mean that I still actively maintain them, or that I still the best person to ask about them, or that one should ask for my confirmation before editing them, etc. If there are questions about some code in these files one should use git history to find the real author of that code anyway, so these '@author' tags are useless and just occupy space.
GitOrigin-RevId: ae6081fafe19481c51c9032939b4dcaca0ec9a3b
2020-01-17 06:42:32 +00:00
Tagir Valeev
a7e892e866
Exclude annotations from Java inference
...
GitOrigin-RevId: d3f8fc57ede5fd9579d3e15d0f43e717c438df29
2020-01-16 08:11:51 +00:00
Artemiy Sartakov
9388320e76
ExpressionUtils#findStringLiteralRange: text blocks support
...
GitOrigin-RevId: b85c4c6e3968196f137010d9273458654ac7fbea
2020-01-16 08:11:51 +00:00
Alexey Kudravtsev
0ac6e724c9
refine Processor type in method signatures in platform
...
GitOrigin-RevId: 7e66fa0f044e1f31a67cb2ab7ff3665a234efb79
2020-01-16 08:11:51 +00:00
Tagir Valeev
78a91459c4
Array annotations changed to type-use style (not compilable now)
...
GitOrigin-RevId: 68aa4ba200618083684599228e13dfdba35967a4
2020-01-16 08:11:51 +00:00
Alexey Kudravtsev
9c61620823
fix IDEA-230545 'Search Accessors' dialog is shown simultaneously with 'Show Usages' results popup
...
GitOrigin-RevId: 7ba3dfafc77c5ef1c18bd3dff6d82ee1ea2b5dfd
2020-01-14 11:39:51 +00:00
Yuriy Artamonov
a89677cf35
Java PSI: PsiParameterPattern.ofMethod for any parameter index
...
GitOrigin-RevId: 6f65a258ec487319e0bf9998610539c9991ef30a
2020-01-10 16:03:19 +00:00
Anna Kozlova
04a9d681c9
external annotations: support annotations on package (IDEA-230307)
...
GitOrigin-RevId: 3500b5e9b6534232da84c473906b95b7a4f82878
2020-01-09 16:10:01 +00:00
Tagir Valeev
41aed1b9f0
PsiPatternVariable as PsiParameter
...
GitOrigin-RevId: 342b383b1769a15b288b0515bb892c43d796dbe1
2020-01-09 08:35:04 +00:00
Tagir Valeev
c6057afa02
JavaPsiRecordUtil#getComponentForField (IDEA-CR-56873)
...
GitOrigin-RevId: 21e4134777640a5cfc807009f833f4eb36d6bd7c
2020-01-09 07:05:05 +00:00
Anna.Kozlova
3c6b2f5519
java applicability checks: do not calculate type when it won't be used
...
GitOrigin-RevId: 65e177cf43a5c4d81b888079bb280f38599604a8
2020-01-08 08:01:20 +00:00