Tagir Valeev
3521c7ac6c
[java-inspections] EqualsWithItselfInspection: fix description (IDEA-355789)
...
GitOrigin-RevId: ce48c8a535717b2b433078f43909b2f28084d360
2024-07-26 11:03:19 +00:00
Mikhail Pyltsin
0b30038602
[java-highlighting] IDEA-356470 Support jep 455. Generate true and false cases for boolean selector
...
GitOrigin-RevId: fbd879f172639f3db1b0d9c12f98fcb3868fa1a9
2024-07-18 20:11:33 +00:00
Tagir Valeev
d52f6c789f
[java-dfa] IDEA-355908 Add new mutation contract option: io
...
GitOrigin-RevId: 206fae268d8444d475a4feac6ebc5ef96ffc57bb
2024-07-04 21:05:23 +00:00
Tagir Valeev
a90638139a
[java-inspections] IDEA-355789 'equals()' called on itself: disable for comparator contract test
...
GitOrigin-RevId: e378fb4b0a2e76698f09c911bc2cce75abead793
2024-07-02 16:37:40 +00:00
Mikhail Pyltsin
09c7c9e6e8
IJPF-CR-23473 [java-generation] IDEA-344399 generate annotation based on type_use option
...
-fix wording
GitOrigin-RevId: d29bb07acb1c739a3fc5d7563b89b6c52d5bfec2
2024-06-21 18:07:32 +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
Mikhail Pyltsin
7e047434f3
IJ-CR-130369 [java-inspections] IDEA-197280 Non-constant string concatenation as argument" could also be triggered for String.format
...
- change description
GitOrigin-RevId: 0924d1165a47e2d40f3b245adfdc8252f2768f25
2024-05-24 21:18:23 +00:00
Tagir Valeev
5cc297d7ea
[java-inspections] IDEA-353938 Report ignored object allocations inside method references
...
GitOrigin-RevId: 1261b9bdb64bec0269fe7d0ffb2ac634e1494e81
2024-05-23 11:08:49 +00:00
Tagir Valeev
f6abeeb22f
[java-inspections] Rename 'if' statement with identical branches inspection to avoid confusion
...
GitOrigin-RevId: 9bb40bf9b593744130c17c5b0cc14d7c67740729
2024-05-13 13:49:05 +00:00
Bas Leijdekkers
cfbb00fa01
java: improve some inspection texts
...
GitOrigin-RevId: 5a0670e84850599d8107f206b76eee1f8f84de17
2024-04-25 13:49:54 +00:00
Mikhail Pyltsin
0e4caec126
[java-inspections] IDEA-337706 Support conversion System.out to log calls
...
- fix quick-fix message
GitOrigin-RevId: 0e81b3efffaa4af7fb739b72ee232ea68665a40e
2024-04-14 18:41:14 +00:00
Mikhail Pyltsin
d8f8800d93
IJ-CR-131028 [java-inspection] IDEA-310469 Java inspection for "Pattern variable can be used" does not find all cases
...
- rename option
GitOrigin-RevId: 26dc0cfa17c438aa8e41fcc9d52d764573814021
2024-04-14 18:28:41 +00:00
Bas Leijdekkers
0b1872f794
java: report string.toCharArray().length -> string.length() (IDEA-351174)
...
for "Redundant 'String' operation" inspection
GitOrigin-RevId: 96c3b5d310b9639c74241f48348257bbb83dbe93
2024-04-11 09:52:00 +00:00
Mikhail Pyltsin
00351758c5
[java-inspection] IDEA-310469 Java inspection for "Pattern variable can be used" does not find all cases
...
- support more cases
GitOrigin-RevId: 28301b79d4c4acd343a35474d1ab44096dcea8cd
2024-04-09 15:49:16 +00:00
Bas Leijdekkers
bcbd01ca20
[java] ignore non-serializable fields in enums (IDEA-274137)
...
GitOrigin-RevId: 2268d012377931be155463a846f7a257208d7e1d
2024-04-08 09:55:33 +00:00
Mikhail Pyltsin
77cac2bb83
[java-inspections] IDEA-337706 Support conversion System.out to log calls
...
- quickfix for SystemOutErrInspection and ThrowablePrintedToSystemOutInspection
- StringConcatenationArgumentToLogCallInspection now uses String.valueOf for one argument (exception type)
- SystemOutErrInspection has info level
- ConvertSystemOutToLogCallFix doesn't highlight ThrowablePrintedToSystemOutInspection's problems
GitOrigin-RevId: f611e6ccb0e15e5b806ed776b88b12b097d3bb5d
2024-04-03 11:41:32 +00:00
Mikhail Pyltsin
a750ec4eb0
[java-inspections] IDEA-197280 Non-constant string concatenation as argument" could also be triggered for String.format
...
- Support simple cases for String.format
- Support simple cases for MessageFormat.format
GitOrigin-RevId: 50f52f526923950e30746691414bb89ce5fca5ab
2024-03-29 18:34:16 +00:00
Bas Leijdekkers
4352c5247a
[java] add option to ignore single argument substring() calls (IDEA-345335)
...
GitOrigin-RevId: 967ada74b5354561b8a32f00484f21bae2d05d51
2024-03-21 11:05:13 +00:00
Bas Leijdekkers
842f3972ac
[Java] remove "'StringBuilder.toString()' in concatenation" inspection (IDEA-349211)
...
GitOrigin-RevId: 067a8544b08d392bb8f758fd53acd974355c298e
2024-03-18 00:08:43 +00:00
Evgenii Ilichev
69d23200e6
[localization] move QuickFixBundle.properties to the resources root
...
GitOrigin-RevId: f08ba8d00e62099a82ea49e41e933b5a76a98bb6
2024-03-12 00:18:40 +00:00
Tagir Valeev
52f3712ce2
[java-inspections] IDEA-345407 Some actions inside string template with language annotation lead to exceptions
...
GitOrigin-RevId: b14296a9785210511c22281a29f177d9d9ff752b
2024-02-24 12:21:45 +00:00
Tagir Valeev
cd74781a9d
[java-inspections] IDEA-345238 Duplicate conditions: respect mutation signature
...
GitOrigin-RevId: b9271196151e985b5147b9264ea73d8e3118b59a
2024-02-07 00:30:20 +00:00
Bas Leijdekkers
45b7fca0a8
Java: recognize unnecessarily qualified static access when member is from a super class (IDEA-342646)
...
GitOrigin-RevId: d6a64afd32c184ab4556cdfb1a6c5b1a14d37b58
2024-02-03 19:52:26 +00:00
Tagir Valeev
0fec0c3bed
[java-inspections] MismatchedStringCase: make message more technically correct (IDEA-342568)
...
GitOrigin-RevId: 6cf795e29b18e043d7a08a3263c26badd45dbdc7
2024-01-22 10:54:22 +00:00
Bart van Helvert
271d362d14
[junit] Move Java JUnit inspections into JUnit plugin
...
#IDEA-341929 Fixed
GitOrigin-RevId: 7dd42203f64380382b3d39c77a409fe652b09941
2023-12-28 23:17:28 +00:00
Bas Leijdekkers
488935ecea
Java: wording "anonymous inner class" -> "anonymous class"
...
GitOrigin-RevId: f03d7227721f41dc64a19c647762580b6eb9f159
2023-12-28 17:40:19 +00:00
Bas Leijdekkers
06bfde0897
Java: enable "Anonymous class can be replaced with inner class" inspection by default at information level (IDEA-341832)
...
GitOrigin-RevId: 4d5616004282fba912228d4afd082dfd0aeb92eb
2023-12-28 17:40:15 +00:00
Bas Leijdekkers
db953d1a59
Java: add quick-fix to "Local class" inspection and enable by default at information level (IDEA-341832)
...
GitOrigin-RevId: 57c018ee9e1c55031957d06b417cc0e192c83c9b
2023-12-28 17:40:06 +00:00
Bas Leijdekkers
fb29b4a8f5
Java: remove some unused properties
...
GitOrigin-RevId: 5596e0f45c7e187ca2888a2b19c016b8fe74ae35
2023-12-11 15:43:15 +00:00
Karol Lewandowski
ad246cb491
IDEA-337709: Reimplement SuppressionAnnotationInspection to UAST
...
GitOrigin-RevId: 5384975e4786fbc34114065e117f66d930435621
2023-11-27 18:29:28 +00:00
Aleksey Dobrynin
e5b2194515
[java, inspection] new inspection "while can be do-while" IDEA-250650
...
GitOrigin-RevId: bd2bd0053500b98a316330b08481018825e9211f
2023-11-13 17:41:19 +00:00
Tagir Valeev
1a3dd4a6bb
[java-inspections] AutoCloseableResourceInspection.AutoCloseableResourceFix: mod-command, preview, test
...
GitOrigin-RevId: 4cbd950abb071866e6f511b5743372f6d60051be
2023-11-03 18:10:50 +00:00
Mikhail Pyltsin
3d7a18e986
[java-highlighting] IDEA-315469 Quickfixes for switch labels with 'default'
...
- fix to reverse 'case default, null'
- fix to replace 'case default' with 'default'
GitOrigin-RevId: 3762a40c859bb7a13a638614b3200b0005d8e85a
2023-11-01 10:23:57 +00:00
Tagir Valeev
679de5d46d
[java-inspections] ConstantExpression inspection proof-reading
...
GitOrigin-RevId: 5e97937a479a98dd302757d3539703353dc253cc
2023-10-20 19:12:58 +00:00
Georgii Ustinov
883f800574
[Code Analysis. Inspection] IDEA-234302 System.getProperty(str) inspection implementation. Review Refactor
...
GitOrigin-RevId: e793b2306586a3ea6e12691b5d887fe1cf0b2913
2023-09-22 13:59:38 +00:00
Georgii Ustinov
0382910261
[Code Analysis. Inspection] IDEA-234302 System.getProperty(str) inspection implementation.
...
Call to System.getProperty(str) could be simplified for certain predefined constants. Implementation includes inspection and quickfix.
GitOrigin-RevId: 8b7edf6c4a6849062535ded1c49e733b8fed05a8
2023-09-21 19:51:28 +00:00
Aleksey Dobrynin
ef437cfdab
[java, inspections, fix] IDEA-323920 IJ-CR-114719
...
- added check to prevent red code highlighting
- fixed memory leak
- renamed fix a message to be more descriptive
- changed LocalQuickFix to PsiUpdateModCommandQuickFix for consistency
GitOrigin-RevId: 2e96e40fa9e9ddd8596bcf34332d95af785a2ce0
2023-09-13 11:49:01 +00:00
Aleksey Dobrynin
992f81a880
[java, refactorings] reduce number of options in "Type may be weakened" inspection (doNotWeakenToJavaLangObject) IDEA-266696
...
GitOrigin-RevId: 6b10989645bad435b9fb5bdfc30b5e814a19165d
2023-09-13 11:32:04 +00:00
Bas Leijdekkers
22428ccfed
Java: clarify inspection messages (IJ-CR-114769)
...
GitOrigin-RevId: cfb54330013d7d891d97737625612c1bf89c0ab5
2023-09-12 15:26:32 +00:00
Aleksey Dobrynin
39aedbd24b
[java, refactorings] reduce number of options in "Type may be weakened" inspection (useRighthandTypeAsWeakestTypeInAssignments) IDEA-266696
...
GitOrigin-RevId: 6b265f8d1def3689b079b37cca3fa7aa3c46ea56
2023-09-11 20:56:14 +00:00
Aleksey Dobrynin
f9736ee901
[java, refactorings] reduce number of options in "Type may be weakened" inspection (doNotWeakenReturnType) IDEA-266696
...
GitOrigin-RevId: 25006e09863ef69dc9d68e52b614a1b7b4ce1ceb
2023-09-11 20:56:11 +00:00
Aleksey Dobrynin
f2e781aae5
[java, refactorings] reduce number of options in "Type may be weakened" inspection (useParameterizedTypeForCollectionMethods) IDEA-266696
...
GitOrigin-RevId: f6b2c5a1d38f0f80326e08899c3482f1123a9804
2023-09-11 20:56:07 +00:00
Aleksey Dobrynin
7cfbb8bae0
[java, inspections] remove redundant 'STR' processor IDEA-323920
...
GitOrigin-RevId: e3020a69a359f8dee282bb5933a6c3766214e165
2023-09-11 13:38:21 +00:00
Bas Leijdekkers
3e34ffd98e
Java: update inspection texts (IDEA-329817)
...
GitOrigin-RevId: 3b834eb1677496a5a67fb904c1c64cb2be2302cf
2023-09-11 11:10:10 +00:00
Bart van Helvert
cc61bc25c7
[jvm] Convert TestCaseWithNoTestMethods inspection to JVM
...
#IDEA-331938 Fixed
GitOrigin-RevId: 9ecdc3d6e03d52cb54865067483b4c97e29d3236
2023-09-10 16:39:57 +00:00
Tagir Valeev
c3c0d7c172
[java-inspections] Report empty and trivial components of STR template (IDEA-323919)
...
GitOrigin-RevId: b7b184cc957846d3122d11e7266df44cb1c9102e
2023-09-06 18:13:55 +00:00
Bas Leijdekkers
e8506d4d00
Java: warn on cast to incompatible class (IDEA-329817)
...
GitOrigin-RevId: 0ff0e88f40673f196d78877fe7aeb99a2721b67e
2023-09-06 17:58:46 +00:00
Bas Leijdekkers
87a857ddb5
Java: warn about 'instanceof' with incompatible class (IDEA-329817)
...
GitOrigin-RevId: 1dda5c6523509b79dec70fd036431541bce223d3
2023-09-05 20:47:13 +00:00
Bas Leijdekkers
428f94e656
Java: fix replacing unicode escaped tab char replacement and quick-fix text (IDEA-329685)
...
GitOrigin-RevId: c8a1201c2c4355175c53a0844a1e7b998134b7b9
2023-08-18 15:30:04 +00:00
Tagir Valeev
13cf92eb7f
[java-inspections] ConstantExpressionInspection: minor fixes
...
1. Disable for literals
2. Checkbox description moved to the form
GitOrigin-RevId: 48303e0c704ef9db5e09f64f34d3ee32d2743194
2023-08-04 15:20:12 +00:00