Bartek Pacia
beb8e062e9
cleanup [java-impl]: remove unused class HighlightUtils
...
GitOrigin-RevId: 9bb2196a71eadb6912a29ce3a4f1a84fb3215cf1
2026-02-12 17:26:40 +00:00
Bartek Pacia
5f8c225c21
cleanup IDEA-382376: move com.siyeh.ig.performance package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 4c868558a579c35517733bb6ffdec476cfb212ba
2026-02-12 17:26:40 +00:00
Bartek Pacia
cf426f0cfc
cleanup IDEA-382376: move com.siyeh.ig.naming package from java-impl to java-impl-inspections
...
GitOrigin-RevId: b9a43121223c211cf1fdf6f3edcebcebbb84a21a
2026-02-12 17:26:39 +00:00
Bart van Helvert
265ec5fb37
[java] Add chooser fix for division that could change semantics
...
Adds a chooser to `ReplaceShiftWithMultiplyIntention` which allows to choose between regular division that changes semantics and floor division. By default floor division is chosen. This changes also makes it so regular division is suggested when the language level is lower than 8. #IDEA-384124
(cherry picked from commit 3e5c5bb4852098ba7b8639c2d887f7cf1298cd93)
IJ-MR-189843
GitOrigin-RevId: db19634d66f5a91282536b4c1b41fb0f8ccfcd5e
2026-02-12 15:57:26 +00:00
Bart van Helvert
ee88699fd4
[java] Don't suggest replacing with Math.floorDiv for positive values
...
If we can be sure that the left hand side is positive, we can sugget replacing with `/` the semantics shouldn't change and the code will look simpler. #IDEA-384124
(cherry picked from commit 193313137372a53b206040bba4644909174a6215)
IJ-MR-189843
GitOrigin-RevId: 9fab82a7bb2dd400938994ac2fb011711d1e2577
2026-02-12 15:57:26 +00:00
Bart van Helvert
2cfa7cbe36
[java] Improve intention description
...
#IDEA-384124
(cherry picked from commit 48c77f4699b3a974e1aa5e7a6768ebef265ffb7c)
IJ-MR-189843
GitOrigin-RevId: 83322da32b1eef0bada7db46fab6aeb44bdfadf4
2026-02-12 15:57:26 +00:00
Bart van Helvert
4608011210
[java] Make Replace multiply with shift intention round towards -inf
...
#IDEA-384124 Fixed
(cherry picked from commit bc3e3ddc66db0c7b06f8ad5d281fe594a1c092db)
IJ-MR-189843
GitOrigin-RevId: 04f72906c4b22476b1c45644b097abeacd556c93
2026-02-12 15:57:26 +00:00
Marcin Mikosik
afdcd299a3
IDEA-381552 [java]: Override method: do not add redundant @NonNull under @NullMarked
...
Merge-request: IJ-MR-190042
Merged-by: Marcin Mikosik <marcin.mikosik@jetbrains.com >
GitOrigin-RevId: 2e35a6c573d175a66b09cf8894954f0f90b7b61f
2026-02-12 14:53:59 +00:00
Bartek Pacia
c4f9ba47d3
cleanup IDEA-382376: move com.siyeh.ig.inheritance package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 6ac8e5a9c13fcb5f26d8719020affcaf064bd429
2026-02-12 12:49:55 +00:00
Bartek Pacia
2a72828cba
cleanup IDEA-382376: move com.siyeh.ig.logging package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 58a24da795ae1b8a3a9875cd687a8c47abb67a27
2026-02-12 12:49:55 +00:00
Bartek Pacia
b924d3dcc4
cleanup IDEA-382376: move com.siyeh.ig.bugs package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 0d2e3640f64ba91bcc6869a430e45e52d01a2e2e
2026-02-12 12:49:55 +00:00
Bartek Pacia
b7ee3ca172
cleanup IDEA-382376: move com.siyeh.ig.controlflow package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 0db60d5893bb4e3f4bd439db6be197a30c8ac4e4
2026-02-12 12:49:55 +00:00
Bartek Pacia
06bd38ff19
cleanup IDEA-382376: move com.siyeh.ig.classlayout package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 43fa93fe7181a996cfaa0afa12fc9dc66962fcb5
2026-02-12 12:49:55 +00:00
Bartek Pacia
9e67625fe7
cleanup IDEA-382376: move com.siyeh.ig.errorhandling package from java-impl to java-impl-inspections
...
GitOrigin-RevId: dea1e3e663131f9b0507bd50f0227ff4710a76df
2026-02-12 12:49:55 +00:00
Bartek Pacia
17d7d54da8
cleanup IDEA-382376: move com.siyeh.ig.visibility package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 23ef8e8d4c15c922686d1e8b61f7614886a10925
2026-02-12 12:49:55 +00:00
Bartek Pacia
c50fb40472
cleanup IDEA-382376: move com.siyeh.ig.javadoc package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 1a0322717a91efe3fd7e2ceda63145dee1c9f68d
2026-02-12 12:49:55 +00:00
Bartek Pacia
ea742cb1fb
cleanup IDEA-382376: move com.siyeh.ig.style package from java-impl to java-impl-inspections
...
GitOrigin-RevId: f844882b7df62ac35bf4a3f9e98ac447b5bfbebb
2026-02-12 12:49:55 +00:00
Bartek Pacia
97ca6af257
cleanup IDEA-382376: move com.siyeh.ig.serialization package from java-impl to java-impl-inspections
...
GitOrigin-RevId: dcedd5990c624dea45849a341d438c1e5e1c2e21
2026-02-12 12:49:55 +00:00
Bartek Pacia
b30a267174
cleanup IDEA-382376: move com.siyeh.ig.numeric package from java-impl to java-impl-inspections
...
GitOrigin-RevId: f4aa31528dd01c9c5711c42f055bfece652ef4df
2026-02-12 12:49:55 +00:00
Bartek Pacia
584ecdb8f3
cleanup IDEA-382376: move com.siyeh.ig.resources package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 5d2103400123e5843c4622e9cd50c6e77cb4f5c7
2026-02-12 12:49:55 +00:00
Bartek Pacia
6e02aaf0db
cleanup IDEA-382376: move com.siyeh.ig.whileloop package from java-impl to java-impl-inspections
...
GitOrigin-RevId: c177625b46bafb4481fed51693f34d89c2d75d83
2026-02-12 12:49:55 +00:00
Bartek Pacia
cfde600d32
cleanup IDEA-382376: move com.siyeh.ig.threading package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 34fd9cacb7d37a798ac21e2c7709bb15cb99feb6
2026-02-12 12:49:55 +00:00
Bartek Pacia
92f41f07c1
cleanup IDEA-382376: move com.siyeh.ig.security package from java-impl to java-impl-inspections
...
GitOrigin-RevId: eb1ade13e50943587290f4609c60b51f5c97c2ca
2026-02-12 12:49:55 +00:00
Bartek Pacia
ca5085d0df
cleanup IDEA-382376: move com.siyeh.ig.migration package from java-impl to java-impl-inspections
...
GitOrigin-RevId: c296377df8c5b8c0f62cacf6577fd77298e72837
2026-02-12 12:49:55 +00:00
Bartek Pacia
00893da210
cleanup IDEA-382376: move com.siyeh.ig.methodmetrics.impl package from java-impl to java-impl-inspections
...
GitOrigin-RevId: eabdaaaf6203273f707cf312bd007a4850e508c1
2026-02-12 12:49:55 +00:00
Bartek Pacia
3c94faef3d
cleanup IDEA-382376: move com.siyeh.ig.memory package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 24d3ca0a34664e5863a24d9120988b9ac94b7caf
2026-02-12 12:49:55 +00:00
Bartek Pacia
8e973743aa
cleanup IDEA-382376: move com.siyeh.ig.maturity package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 2cbe57ad0bf93c5136f4b29b1596cd01b007fc6d
2026-02-12 12:49:55 +00:00
Bartek Pacia
815f10d448
cleanup IDEA-382376: move com.siyeh.ig.jdk package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 4cca6a09300043e236304ad1ccaf3277124174a7
2026-02-12 12:49:55 +00:00
Bartek Pacia
e00ec05243
cleanup IDEA-382376: move com.siyeh.ig.j2me package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 547d8ae6f50494db3e963a25d4acd5c8b3dc691e
2026-02-12 12:49:55 +00:00
Bartek Pacia
2eb2e32739
cleanup IDEA-382376: move com.siyeh.ig.internationalization package from java-impl to java-impl-inspections
...
GitOrigin-RevId: fd067d2df1870593026be633f22971d313555cae
2026-02-12 12:49:55 +00:00
Bartek Pacia
839c713b47
cleanup IDEA-382376: move com.siyeh.ig.initialization package from java-impl to java-impl-inspections
...
GitOrigin-RevId: d452fc9ff5e007bb23565f2feb53403392954e3d
2026-02-12 12:49:55 +00:00
Bartek Pacia
2ef1b8fee6
cleanup IDEA-382376: move com.siyeh.ig.imports package from java-impl to java-impl-inspections
...
GitOrigin-RevId: df51f2409427a324e39220cf49723f573e0b929f
2026-02-12 12:49:55 +00:00
Bartek Pacia
0c4a03602c
cleanup IDEA-382376: move com.siyeh.ig.exceptions package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 583e47427d80d1b465e3b658229cfaac23e5ea99
2026-02-12 12:49:55 +00:00
Bartek Pacia
d2a91e6abe
cleanup IDEA-382376: move com.siyeh.ig.encapsulation package from java-impl to java-impl-inspections
...
GitOrigin-RevId: ad5bc3e6b7ab7d19a244f054d6814b5c311a6728
2026-02-12 12:49:55 +00:00
Bartek Pacia
2f6de3e0e8
cleanup IDEA-382376: move com.siyeh.ig.dependency package from java-impl to java-impl-inspections
...
GitOrigin-RevId: bf4850539a1d83809b5bea496ada33cc7906c96f
2026-02-12 12:49:55 +00:00
Bartek Pacia
cbfb61b02e
cleanup IDEA-382376: move com.siyeh.ig.classmetrics.impl package from java-impl to java-impl-inspections
...
GitOrigin-RevId: b381a04ec21ba4e549856ac450a8593442941f8d
2026-02-12 12:49:55 +00:00
Bartek Pacia
69d8d28e71
cleanup IDEA-382376: move com.siyeh.ig.cloneable package from java-impl to java-impl-inspections
...
GitOrigin-RevId: f54f0a23d80cbfae36fd805e16fa5968ad1bec76
2026-02-12 12:49:55 +00:00
Bartek Pacia
fea5ca7f3e
cleanup IDEA-382376: move com.siyeh.ig.assignment package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 4bbb8ae0a1853f9edf6b55aae83b0d96c36c46e5
2026-02-12 12:49:55 +00:00
Bartek Pacia
c741482c24
cleanup IDEA-382376: move com.siyeh.ig.asserttoif package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 370eb2d447aabf7be85116bf23ad134c07272870
2026-02-12 12:49:55 +00:00
Bartek Pacia
b257f53a3b
cleanup IDEA-382376: move com.siyeh.ig.annotation package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 63dab72ca4f707994da070e57c50923013ef7a6d
2026-02-12 12:49:55 +00:00
Bartek Pacia
16adf8cb8b
cleanup IDEA-382376: move com.siyeh.ig.redundancy package from java-impl to java-impl-inspections
...
GitOrigin-RevId: 2eb5097dd6fc3b000cb146d564ac8b358ddb1024
2026-02-12 12:49:55 +00:00
Tagir Valeev
a05d47ca37
IJPL-233853 [mod-completion] Support TemplateOptionalProcessor
...
GitOrigin-RevId: c732af958dcfbe97a4922dac68c7832fd7e43bfc
2026-02-12 12:08:20 +00:00
Mikhail Pyltsin
c6ca035622
[java-inspections] IDEA-349198 IJ-CR-190983 Catch deconstruction on null value
...
- use dfa
GitOrigin-RevId: 19cdc3be30263c4b3dbbfff173c557c62c376d67
2026-02-11 14:51:17 +00:00
Max Medvedev
13a1755839
IJPL-207762 deprecate CompletionType.CLASS_NAME
...
it's not used in IntelliJ anymore.
GitOrigin-RevId: 75c8806a8eebb666bf74b03c0ee9a74f3aec26a0
2026-02-10 20:25:04 +00:00
Bartek Pacia
57c2badd46
cleanup [java-impl]: delete for removal BlankFiller
...
GitOrigin-RevId: 26b6132b2109270dceacca3b4e3aea4e4f4976b2
2026-02-10 12:19:22 +00:00
Bartek Pacia
d1ab8457bb
cleanup [java-impl]: deprecate for removal UiUtils
...
GitOrigin-RevId: 2112b1c25272b7222ac95cffe68847f032ba9981
2026-02-10 11:29:40 +00:00
Mikhail Pyltsin
8601ac6b7e
[java-completion] IDEA-385709 ArrayIndexOutOfBoundsException when deconstruction components are more than record components
...
- clean-uo
GitOrigin-RevId: 6f2ee59e3a41b1d9538814078fd319241b9028b5
2026-02-09 19:50:58 +00:00
Mikhail Pyltsin
535279c971
[java-completion] IDEA-385709 ArrayIndexOutOfBoundsException when deconstruction components are more than record components
...
GitOrigin-RevId: 811a66177c5ae2b05e2e5e6373d87b8be8cb337c
2026-02-09 19:50:58 +00:00
Mikhail Pyltsin
6d178d8680
[java-inspections] IDEA-349198 Catch deconstruction on null value
...
GitOrigin-RevId: 6eac3a29ad4cefa69c3a7fa69a85c46d98187eb6
2026-02-09 19:50:58 +00:00
Tagir Valeev
be7778c654
IJPL-233832 [code-templates] Create ExpressionContext.getPsiFile and reduce Editor use
...
GitOrigin-RevId: 85b01b3ebc73539881eb61ab63f83f55402a0630
2026-02-09 15:05:22 +00:00