Mikhail Pyltsin
638393e895
[java] IDEA-354964 Migrate standard descriptors like JAVA_21 to TYPE_USE annotations
...
GitOrigin-RevId: d13187d41d214bd2ccadecb4cadc925f7d787d60
2024-06-26 20:34:48 +00:00
Bart van Helvert
2fb679f5e4
[java] Remove test runner icon hiding for classes with only disabled tests
...
This feature can cause confusion to users, didn't work correctly and if implemented correctly can be fairly expensive to compute so it was decided that it was better to remove it. #IDEA-355402 Fixed
GitOrigin-RevId: 38e4fb787c41a55967811de9994708459da5e778
2024-06-26 18:23:10 +00:00
Bart van Helvert
a67965fce8
[java] Support go to test for implicit classes
...
#IDEA-353532 Fixed
GitOrigin-RevId: 5692c6d30579b3ca48aa875220a343c1040bbd6b
2024-06-26 18:23:10 +00:00
Bart van Helvert
0232d76e56
[java] Implement getName for implicit classes
...
GitOrigin-RevId: 069362cff5ebee9eaf5e75d566097a2deaed8e8f
2024-06-26 18:23:10 +00:00
Aleksey Dobrynin
f3c3d74a8e
[java, jigsaw] fix: flaky test. the test needs a read action IDEA-353200
...
GitOrigin-RevId: 4ebdc4ef92b9a1c317a0480533ced694a9714d05
2024-06-26 16:22:25 +00:00
Alex Plate
8b228031a3
[Workspace Model] Refresh code by getting rid of the deprecated test function
...
GitOrigin-RevId: 67a80f51df0af4f081b0fd58d87f6cef1c306b08
2024-06-26 12:37:27 +00:00
Tagir Valeev
1ddafbe011
[java-refactoring] IDEA-354116 Make Static refactoring erroneously qualifies calls inside the anonymous inheritor of the outer class
...
GitOrigin-RevId: 732a36ab1c1577909e66175ac94efc4597121fe0
2024-06-26 11:52:02 +00:00
Vladimir Krivosheev
e82400eb49
IJPL-155974 cleanup
...
GitOrigin-RevId: bd620ecf4a6ded0e385353723bb80b3941280a65
2024-06-26 08:01:10 +00:00
Vladimir Krivosheev
314683bdb4
IJPL-155974 cleanup
...
GitOrigin-RevId: 82f959e3edca705548b4e1c22eafc4cf1efa0aa5
2024-06-25 18:42:48 +00:00
Tagir Valeev
2c31e99a77
[java-inspections] Use latest mockJDK instead of mocking individual classes
...
GitOrigin-RevId: 5bdde04b83f4a66e373724bc40ea5d129467bf25
2024-06-25 16:42:40 +00:00
Mikhail Pyltsin
114a8907cf
[java-completion] IDEA-354763 IJ-CR-137494 Don't suggest protected/transient and so on the top file level
...
- skip `strictfp` according to language level
- more accurately determine position
- refactoring
GitOrigin-RevId: 2d660d7f4fd86bed089da62f4ca746c6f2348aec
2024-06-25 15:47:02 +00:00
Tagir Valeev
838cf2d73c
[java-incomplete-model] Assume that any unresolved class-type is assignable to java.lang.Object
...
Partially improves inference in incomplete mode
GitOrigin-RevId: 1d9c7c75afd524ea02980be8f96c19fba1eaaf54
2024-06-25 13:54:11 +00:00
Louis Vignier
46881c21ab
[javadoc] Add tests for inheritDoc tag navigation
...
GitOrigin-RevId: 8027c88e263bbcd2c2cc4f17eba3cf68871d715e
2024-06-22 21:42:51 +00:00
Yuriy Artamonov
b333fe8ad9
[codevision] IJPL-156683 Simplify changing the default alignment of inlay hints in IDE
...
GitOrigin-RevId: e18312174ae63c4bfcf00941963628a748ade580
2024-06-21 22:13:16 +00:00
Georgii Ustinov
41cf8f6fe3
[Java. Code Formatting] Add check to TypeAnnotationUtil that language level is at least 8
...
IDEA-353192
GitOrigin-RevId: e8d2d8270dbc1c39300d5a2d55ef993e433ccdbc
2024-06-21 15:13:57 +00:00
Mikhail Pyltsin
7fe1e933e6
[java-completion] IDEA-354763 Don't propose protected/transient and so on the top file level
...
GitOrigin-RevId: b8bdcc7329a0a26ef6260c56097c5994ee4e94b6
2024-06-21 15:13:08 +00:00
Tagir Valeev
e573732e7c
[java-inspections] Extract method recommender: do not include initial comment into the length
...
Fixes IDEA-354492 "Method can be extracted" includes comments as minimum code length
GitOrigin-RevId: 3d4e34e6726f7917fe3b0224653b89f07cd2ae42
2024-06-21 13:49:43 +00:00
Tagir Valeev
3b45af56a7
[java-dfa] IDEA-354336 Java DFA fails to report nullable var passed to notnull arg after instanceof
...
GitOrigin-RevId: 2fada677a054fbd049e12e9b585a5f08711a5b26
2024-06-21 13:49:37 +00:00
Dmitry Avdeev
6f5ebf0d46
[workspace] convert to plugin
...
GitOrigin-RevId: c1682d99eeb8526db7176deade6dbcc97bfbfe8e
2024-06-21 10:53:45 +00:00
Roman Shevchenko
36367cddfe
[tests] fixing inspection warnings in Src*RepositoryUseTest
...
GitOrigin-RevId: 94ad0e92db595aae799ae7184e6769e138b612e1
2024-06-21 10:51:45 +00:00
Bas Leijdekkers
774c6c6d42
Java: fix "Variable assigned to itself" inspection quick-fix operator assignment bug (IDEA-306674)
...
GitOrigin-RevId: 92f5ab3b782cd0a2e6af8f83ff80de64f000c3bf
2024-06-21 09:13:06 +00:00
Mikhail Pyltsin
73bbc5d00d
[java-completion] IDEA-355252 Don't suggest deconstruction with incorrect name
...
GitOrigin-RevId: 9bdb1273f507054c479eaa86597eadaf4568a9dd
2024-06-20 17:53:33 +00:00
Mikhail Pyltsin
fc86f137ca
[java-inspections] EA-1288620 record deconstruction can be broken in inspections
...
- check that record deconstructions have correct numbers of components
- optimize `unwrapSealedTypes` a bit
GitOrigin-RevId: 167dabb1a5e6dd156e8d5772373c6f059e209257
2024-06-20 17:53:33 +00:00
Louis Vignier
70cc5359e6
[javadoc] Add a F-bound type parameter test for JavaDocInfoGenerator
...
IJ-CR-132677
GitOrigin-RevId: cac811c8e5d74358a45a362ac12fc0a1046077e2
2024-06-20 17:46:18 +00:00
Alexandr Suhinin
ac42764da7
[extract method] IDEA-262123: return default variable value on unconditional exits
...
GitOrigin-RevId: eaf46751769ecddd3711de96c48b62f209878b27
2024-06-20 16:21:05 +00:00
Tagir Valeev
0c576e7a4d
[java] SwitchStatementPostfixTemplate: ModCommand surrounder
...
GitOrigin-RevId: 8949927faaa1cc4592287671d0eb077ab6b3816f
2024-06-20 11:51:01 +00:00
Georgii Ustinov
581dfa8bd3
[Java. Code Formatting] Add test for preserving line breaks in TypeAnnotationFormatterTest
...
IDEA-353192
GitOrigin-RevId: a57c5ed2713711663acbab2560ed150645309609
2024-06-19 17:37:28 +00:00
Georgii Ustinov
009e515c58
[Java. Code Formatting] Disable KEEP_LINE_BREAKS by default in TypeAnnotationFormatterTest
...
IDEA-353192
GitOrigin-RevId: cdefb444214d19fcfa762e2ab00fb0e236882d14
2024-06-19 17:37:28 +00:00
Alexandr Suhinin
0baf44b97e
[extract method] IDEA-354122: make static should pass local variables as method parameters
...
GitOrigin-RevId: e1c14880358479e7c6b151f0ece7ab6cdd8ac87e
2024-06-19 15:37:48 +00:00
Tagir Valeev
6acadcb4f0
[java-inspections] IDEA-355111 "Parameter annotated @Nonnull should not receive 'null' as an argument" can support records
...
GitOrigin-RevId: a3f557fe842cc7c57cdae150d87f474eab07315e
2024-06-19 15:08:14 +00:00
Tagir Valeev
f3a9cdfdab
[java-psi] Static interface method accessible through inheritance should not shadow static import
...
Fixes IDEA-355152 Good code red when static import collides with static interface method from the hierarchy
GitOrigin-RevId: f6f68cc372928d98bb1f66f2c3ddfaaf63d69702
2024-06-19 15:08:14 +00:00
Tagir Valeev
df1679571e
Some 'Result of method call ignored' warnings fixed or suppressed
...
GitOrigin-RevId: 757e7bc0b1d7cb7cbf4a13c35e4f5c1fc375e0a4
2024-06-18 20:08:54 +00:00
Bas Leijdekkers
b0b4e53ad2
Java: strip trailing whitespace from text-block string template end correctly (IDEA-354777)
...
GitOrigin-RevId: fa0266faeeaf63b04451b4f068550e22e2cdf8ee
2024-06-18 19:20:03 +00:00
Bas Leijdekkers
19bcdae73f
Java: quick fix should insert empty string when need to convert expression to string concatenation (IJ-CR-136837)
...
GitOrigin-RevId: aab43eb95b7bd05f70d1b187f2b0619a437bc21e
2024-06-18 19:20:03 +00:00
Louis Vignier
38c8e76b7d
[refactoring] Migrate change signature gutter icon tests to inlay provider tests
...
#IJPL-10790
GitOrigin-RevId: c55dfc9d42dc0e1c14239c92b4dfca94a8005bc2
2024-06-18 12:06:00 +00:00
Alexandr Trushev
1e4e505e16
IJPL-797 intellij.platform.editor review internal API
...
GitOrigin-RevId: 514591f43e57749b752d8399d08b2cfd79fb34ea
2024-06-17 22:06:02 +00:00
Mikhail Pyltsin
9bf2727703
[java-generation] IJ-MR-136429 IDEA-344399 generate annotation based on type_use option
...
- fix non-standard-root-packages
- introduce project descriptors
GitOrigin-RevId: 41db7240e29fbfed81957df2d68e2de29c573ef2
2024-06-17 21:14:57 +00:00
Mikhail Pyltsin
2023228d8c
[java-generation] IDEA-344399 generate annotation based on type_use option
...
- extracted new option
- reuse this option in MissortedModifiersInspection
- override uses this option too
GitOrigin-RevId: 39f3f72991240753c86c7f80df865728aa9743ad
2024-06-17 21:14:57 +00:00
Tagir Valeev
20c7b3400a
[java-refactoring] MoveInstanceMethod: moving abstract method to interface should not change the 'default' modifier
...
GitOrigin-RevId: db6aca91eed8c0d7bebe6bb86dd398a3a372bfab
2024-06-17 13:22:21 +00:00
Dmitry Avdeev
1cc78a8d57
IJPL-156448 Run Configuration is produced in EDT
...
tuning ActionGroupWrapper
GitOrigin-RevId: 2c77669f4a0976ac083312a16192e253e5c2f522
2024-06-17 09:52:44 +00:00
Vladimir Krivosheev
e725a62891
IJPL-796 refactor HighlightingMarkupGrave
...
GitOrigin-RevId: ff1087bac8b556dd801bf75b63c986741e3c0c47
2024-06-17 08:18:07 +00:00
Dmitry Avdeev
9e0d76f66d
IJPL-156448 Run Configuration is produced in EDT
...
wrapping CreateRunConfiguration action spoils ConfigurationContext cache, so it's removed
hopefully this won't break scenarios described in IDEA-144385 (When JUnit run configuration exists it's hard to run main method in the same class)
GitOrigin-RevId: 4cf9d044c0e74a5fb2ccb134c379918181a8883f
2024-06-15 23:25:40 +00:00
Vladimir Krivosheev
28a4004c72
IJPL-796 store DaemonCodeAnalyzerImpl in PRODUCT_WORKSPACE_FILE
...
GitOrigin-RevId: 936619ce815ba0f31a6e5c117f9e18102e143aca
2024-06-15 19:18:55 +00:00
Vladimir Krivosheev
a2b39c12f4
IJPL-796 reduce calls to isEditorLoaded
...
GitOrigin-RevId: c89f849d5cd98b542435ed9e069cf71011ed3596
2024-06-15 19:18:55 +00:00
Vladimir Krivosheev
e5475bc39c
move service.kt to core-api
...
GitOrigin-RevId: 496653a5afebb1d32ffccd8c7c3e9f6d1d3f60fd
2024-06-15 18:11:52 +00:00
Georgii Ustinov
1df6b52d4b
[Java. Code Formatting] Add settings of configuring spaces for simple one-line methods to JavaFormattingStyleCollector
...
IDEA-270369
GitOrigin-RevId: 671d77f7828c7932bddf67fe507f56086c0b5887
2024-06-14 19:38:46 +00:00
Tagir Valeev
9766de10a4
[java-analysis] NullableNotNullManagerImpl: more robust tracking of updated defaults
...
GitOrigin-RevId: bb75619bbd246d8dcbd3538f5e99122a9da25fe4
2024-06-14 18:18:48 +00:00
Tagir Valeev
567e0b0d05
[java-intentions] IDEA-270206 Nullability annotation at type parameter/wildcard: add a quick-fix to move it to the bound
...
GitOrigin-RevId: e8e56c2d27a77414045064c784f48ff712ad0d2d
2024-06-14 16:05:02 +00:00
Louis Vignier
25c62a75fc
[refactoring] Disable change signature refactoring availability tests
...
GitOrigin-RevId: 30247e5c025ab680e0493062fcc701d6c15ea332
2024-06-14 08:36:17 +00:00
Tagir Valeev
267d56619e
[java-stubs] TypeInfo.innerDepth: take into account whether the type is static (IDEA-354780)
...
GitOrigin-RevId: 2f3e781bea91ab738db46507b050a267da51a9d1
2024-06-13 18:36:49 +00:00