Tagir Valeev
1f14021ad5
[java-inspections] VisibilityInspection: OptPane
...
GitOrigin-RevId: 881f40c6f944eed3d80df25d95e99c7cf9d0ec35
2022-12-19 20:05:53 +00:00
Tagir Valeev
3fc334a23a
[inspections] Improve OptDropdown; use in ConstantOnWrongSideOfComparisonInspection, ParametersPerConstructorInspection
...
GitOrigin-RevId: a89fe782d0c462e7dacf65c6f6eddde9ce332d1f
2022-12-14 18:37:50 +00:00
Bas Leijdekkers
c19f14ef94
global inspections: rename registry key and remove obsolete registry key
...
GitOrigin-RevId: a612f123413ddacf09fb47dfc670f5ff03dc5396
2022-12-01 00:13:14 +00:00
Bas Leijdekkers
a6e0a31447
global inspections: minor optimization
...
GitOrigin-RevId: f80c17fd8cba7dd5434a3caf11c48611239016ae
2022-11-30 11:20:12 +00:00
Andrey Cherkasov
8d8c2f125d
IJ-CR-98117 Fixes after review
...
IDEA-298829
GitOrigin-RevId: 973ebc9ea23341ac96d42fe79385d6fb32679f36
2022-11-15 16:51:00 +00:00
Andrey Cherkasov
2b7e0f0708
[java-highlighting] Incorrect number of nested patterns: provide quick-fixes if it is possible
...
IDEA-298829
GitOrigin-RevId: 7a7da446d502a89ba3040e3558929bd918111de9
2022-11-08 17:52:21 +00:00
Alexey Kudravtsev
6a373228b7
IDEA-305450 HighlightInfo must be shown immediately
...
Change HighlightInfo.Builder API to add "registerFix" method;
Port (almost) all usages of the old HighlightInfo.registerFix() to the new API;
Display HighlightInfo immediately after it's added to the HighlightInfoHolder in GeneralHighlightingPass to reduce latency between creating various HighlightInfos and showing them onscreen
GitOrigin-RevId: 9dca70b2198d346bf738895f8373f839b53aa940
2022-11-07 17:45:52 +00:00
Bart van Helvert
50621a78d4
[jvm] IDEA-305464 Add support for changing override
...
GitOrigin-RevId: 9d6869095aca612a93267b81abf743d70ccbf62d
2022-11-07 15:59:33 +00:00
Konstantin Aleev
3f2c382262
IDEA-217927 [uast] set language display name
...
GitOrigin-RevId: 38e144d9593f1889afa2e3a69e524c4c7fbdc671
2022-10-18 00:06:14 +00:00
Alexey Kudravtsev
9023b5b416
move ModuleUtilCore.projectContainsFile() call to background to fix EA-659439 T: DirectoryIndexImpl.getInfoForFile
...
GitOrigin-RevId: 6576011f064b34fe8c3d27c282a89896dbae5209
2022-10-03 16:37:46 +00:00
pyltsin
561e2d81d0
[java-dfa] IDEA-300181 Report when the same stream is consumed more than once.
...
Co-authored-by: Tagir Valeev <tagir.valeev@jetbrains.com >
GitOrigin-RevId: 929f69d8e22285cae8906761df6b39ec46ce985c
2022-09-30 12:10:32 +00:00
Anna Kozlova
c0d88a703e
[java] java 19 is released; update since 19 api-s
...
GitOrigin-RevId: 60933f28fb32fc98889f9bed31b33d9583de81c0
2022-09-22 20:32:17 +00:00
Bas Leijdekkers
50dda1fccf
quick fix name tweak
...
GitOrigin-RevId: 40f0291b698a357f4cfb2dea429f6b516e105550
2022-09-12 20:49:43 +00:00
Tagir Valeev
24511394c3
[java-intentions] IDEA-301288 Suggest to make variable effectively final moving assignment to the branch without assignment
...
GitOrigin-RevId: c9953f2df87f2fa35ed97be97e48cd6240ee8fae
2022-09-09 15:06:38 +00:00
Nikolay Chashnikov
07946fb1dd
[java] cleanup: remove unused deprecated API (IDEA-295370)
...
GitOrigin-RevId: c8370b89546b74bf94c6c6d249d7cdd34233c7a4
2022-09-06 12:45:03 +00:00
Andrey.Cherkasov
600967c68e
[java-highlighting] Provide Split values of 'switch' branch quick-fix for "Illegal fall-through from/to a pattern" error
...
IDEA-273885
GitOrigin-RevId: 49ea03660bc8079eb93b76c2ace9264ae1c2cc7a
2022-09-01 09:52:26 +00:00
Bart van Helvert
afd09dde1c
[jvm] Code and documentation improvements to Java API inspection
...
GitOrigin-RevId: 752f3ac5b9bea956323585f75327149582dfbf3f
2022-08-22 15:14:26 +00:00
Tagir Valeev
430cdc18db
[java-analysis] JavacQuirksInspectionVisitor: cosmetic
...
GitOrigin-RevId: c1ea48d2f4c185b8b24736b322b78ed034ba38bb
2022-08-17 18:22:16 +00:00
Tagir Valeev
ce4e1e9bef
[java-intentions] IDEA-299879 Anonymous class cannot be sealed: add a quick-fix to convert to inner class
...
GitOrigin-RevId: fd48ed7596686b652374fa2b1bcceeda7d96e78c
2022-08-12 16:04:29 +00:00
Bart van Helvert
2a3095a5e1
[jvm] IDEA-298984 Fix false positive in Java API usage inspection
...
Don't report when `@since` tagged API is detected with a higher language level compared to the current SDK level.
GitOrigin-RevId: f7e001d0ac81cba3372159d83fd0084a77cd6f8c
2022-08-09 17:40:08 +00:00
Alexey Kudravtsev
714d26edd8
remove unused method
...
GitOrigin-RevId: b89f0c7f61bd58f9ed6e9fd15d4981e5227c105f
2022-08-09 12:00:39 +00:00
Tagir Valeev
ff07590cb2
Fix javadoc problems
...
GitOrigin-RevId: 0329ac7a2caf87296ca8474b3437974361a1505b
2022-08-09 10:55:59 +00:00
Bart van Helvert
2a86552363
[java-inspections] Add quotes to annotations in inspection messages
...
GitOrigin-RevId: a2d102bb75c6f0f213cfe79928909f8501be6ca7
2022-08-04 13:39:06 +00:00
Alexey Kudravtsev
5145671442
split UnimplementInterfaceAction to two fixes with immutable text for clarity (boolean parameter considered harmful) and for stability
...
GitOrigin-RevId: 3942585b2071cb81733080dee122913cdac001f1
2022-08-03 08:34:18 +00:00
Tagir Valeev
8a9959167b
[java-intentions] IDEA-299075 Better quick-fixes when generic method call has mismatched type
...
GitOrigin-RevId: 6fa73efcfb43cd7da05f95ef66c2cd40a3dc1a14
2022-08-01 18:23:39 +00:00
Bart van Helvert
342c8033b4
[java-inspections] Improve ChangeNullableDefaultsFix warning message
...
GitOrigin-RevId: c1a55bc8cd7249425fac57493487413b044a4cb0
2022-07-29 14:24:29 +00:00
Bart van Helvert
780a373547
[java-inspections] IDEA-298846 Add preview to ChangeNullableDefaultsFix
...
GitOrigin-RevId: 785aaba03830dc91498d384f03800d191c089bcb
2022-07-29 14:24:26 +00:00
Bas Leijdekkers
50350c4170
Java: improve inspection messages
...
for "Duplicated delimiters in 'StringTokenizer'" inspection
GitOrigin-RevId: 1c6b058704b9d612b058f774d779dc9eca6f48ac
2022-07-25 12:19:28 +00:00
Dmitry Gridin
5e1fade9d2
[java] MarkerType: fix i18n capitalization
...
GitOrigin-RevId: e0284bbf8928ed1ead4419915180fcac7309f133
2022-07-21 12:10:28 +00:00
Bas Leijdekkers
f0f3f4098c
Simplify unsupported features warning
...
GitOrigin-RevId: 5295c833018bbbc23f8087ae52edcb7702aa8e0b
2022-07-18 23:37:50 +00:00
Tagir Valeev
6c3dab6a9e
[java-intentions] MethodThrowsFix: support preview in all cases
...
GitOrigin-RevId: 0331f694a3a16d037fb25ea339af047a59653922
2022-07-15 17:08:44 +00:00
Bart van Helvert
687189f40e
[jvm] IJ-CR-26705 Optimize last incompatible language level retrieval for methods
...
Only check supers if the last incompatible language level is higher than the current language level. Also exclude constructors and do an early return when a compatible API is found.
GitOrigin-RevId: d99b1ba8751535f1379f85d9a644a6df6ffd7898
2022-07-08 11:05:00 +00:00
Tagir Valeev
2ceda3f922
Unused properties removed
...
GitOrigin-RevId: 5aefe1253c623a4d9029d6454a0f1d6ae46ad3fe
2022-07-07 15:47:41 +00:00
Bart van Helvert
0a12e23ace
[java] IDEA-297182 Consider overrides when finding last incompatible language level
...
GitOrigin-RevId: 84893f943abbeaf7585253873291b46859754898
2022-07-01 17:14:43 +00:00
Anna Kozlova
a80ea26ea8
[unused declaration] recognize uast based extensions (IDEA-288190)
...
GitOrigin-RevId: dade4299418f75f234f9e992464442a7818e4cba
2022-06-29 14:37:34 +00:00
Roman Ivanov
4c02fc85a9
[java] check pattern guards and record patterns feature in HighlightVisitorImpl
...
GitOrigin-RevId: 691663582652efe8e54bcc50a5f99ae51da81a72
2022-06-28 15:41:21 +00:00
Anna Kozlova
c9235ea982
[inspections] allow to include groovy/scala in references graph via registry key
...
GitOrigin-RevId: 34927e5aeba456afa49cd1340a939e26c7b26b26
2022-06-28 15:33:55 +00:00
Tagir Valeev
11595f3956
Fix most of JavaDoc <-> code mismatch warnings
...
GitOrigin-RevId: 9a87a8b90993b56cd045722734c5c5f466601ae3
2022-06-20 12:02:27 +00:00
Alexey Kudravtsev
3f2a2eaf34
JavaElementVisitor: notnull
...
GitOrigin-RevId: e4b356ce28796e2631b0a631b5108e0348b77baf
2022-06-11 23:31:48 +00:00
Alexey Kudravtsev
3119d7238f
java UAST performance: avoid allocating arrays, avoid lambdas in critical path
...
GitOrigin-RevId: cbd0e66a1f13029fdac2ff7e2fa4e154918209f8
2022-06-11 00:38:10 +00:00
Bart van Helvert
13b35e5ecf
[java] Remove unused imports
...
GitOrigin-RevId: 2bed87a0ce45a60dca6b652a5b3bf15401647ca5
2022-06-09 11:07:56 +00:00
Anna Kozlova
c403588017
[java] provide upcoming language levels stubs
...
GitOrigin-RevId: 248663a45a425f5afa63abef913f2566a6f2c78c
2022-05-30 20:31:01 +00:00
Yuriy Artamonov
b618a1ea14
[java] IDEA-294990 Simplify PsiMemberReference naming
...
GitOrigin-RevId: 209fea2acab2116a68dcae77c916d6d45c4f4f05
2022-05-30 13:40:25 +00:00
Yuriy Artamonov
9af72882c7
[java] IDEA-294990 Clarify PsiMemberUsageReference JavaDoc
...
GitOrigin-RevId: a3deca473ce1400b393d6001e7a26b1be7563432
2022-05-30 12:56:05 +00:00
Yuriy Artamonov
f94aead572
[java] IDEA-294990 Java HighlightVisitorImpl tries to resolve all references inside String literals
...
GitOrigin-RevId: f8b5872f56cfbfd768b417ece32061eee2e80fb2
2022-05-30 12:16:25 +00:00
Bas Leijdekkers
7537121a6e
global inspections: waitForInitialized() -> initializeIfNeeded()
...
GitOrigin-RevId: ff6f801191e0028b285b87099a6fe73bc2343238
2022-05-29 13:35:30 +00:00
Tagir Valeev
8fd79a665c
[java-inspections] IDEA-294900 Remove repeating call fix on unresolved call error
...
GitOrigin-RevId: 220979068250f873c725310dc8cf38a36d1e7fdf
2022-05-27 13:26:35 +00:00
Bas Leijdekkers
310e3b8f2e
Global inspections: track if class is enum to simplify code a bit
...
(will also be used in the future for better "Unused declaration" inspection messages)
GitOrigin-RevId: a24d1d2e01fc7e0644ad06c506bac9d89e39fab3
2022-05-23 15:45:45 +00:00
Bas Leijdekkers
cb390d5287
Global inspections: safe a bit of memory in RefFunctionalExpressionImpl
...
no need for extra fields
GitOrigin-RevId: 380cff138838ef5d1305789c102f5bfd10e14c15
2022-05-23 15:45:42 +00:00
Bas Leijdekkers
a3dd583ed6
Global inspections: no need to have separate parameters field in RefMethod
...
GitOrigin-RevId: ec362918bcc4aa0fc24544423d6de650a3a15e22
2022-05-23 15:45:39 +00:00