Tagir Valeev
42ce63523e
[java-highlighting] checkModuleReference migrated to ModuleChecker and JavaModuleDefinitionInspection
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: b801fdbe22df163a4f0db153016ae50671ccc866
2025-02-19 20:42:37 +00:00
Tagir Valeev
cb626d5749
[java-highlighting] checkSwitchSelectorType migrated
...
Error messages unified; do not list allowed switch types anymore
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 69675af87ac8866fb5ba1475094b93af07aa1ad5
2025-02-18 09:36:18 +00:00
Tagir Valeev
e6691d9ea8
[java-highlighting] SwitchBlockHighlightingModel.checkSwitchBlockStatements migrated
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 463b1549d45bf98586e6ae9dafb4bc4b330bbe52
2025-02-18 09:36:18 +00:00
Tagir Valeev
a0f777069b
[java-highlighting] move module-related warnings to JavaModuleDefinitionInspection
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 66179a41da5e02b759f07f9d6638b87711181348
2025-02-17 12:04:21 +00:00
Tagir Valeev
2350d69472
[java-highlighting] JavaCompilationErrorBundle.properties proofreading (DOC-34381)
...
GitOrigin-RevId: 05bdca159a63027ea0d1e3d767d4adb9b258f47e
2025-02-14 12:45:24 +00:00
Tagir Valeev
4408629488
[java-highlighting] JavaErrorBundle.properties: unused properties removed
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 45cca1bddd32665c8db684aa6457d5b7dc594829
2025-02-14 12:45:24 +00:00
Tagir Valeev
61f7252105
[java-highlighting] same erasure problems migrated
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 052d3bf8a26c376c7dfc5b1e370e583cf6236138
2025-02-12 20:34:11 +00:00
Tagir Valeev
3cc5f493dd
[java-highlighting] JavaErrorBundle.properties: unused properties removed
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 426a4ad67359142cfc19259cc81e734b1b0e4031
2025-02-11 15:54:30 +00:00
Tagir Valeev
24109ba397
[java-highlighting] remove unused code
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 75fe65ba5b62f9ba11c3f47a644f9533d86dd82a
2025-02-06 10:35:32 +00:00
Tagir Valeev
caef43a5e5
[java-highlighting] Incompatible lambda parameter types moved
...
Also: report every incompatible parameter, not only the first one
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: a9d75a78207d0910f0bcbb6060e38acedc3f07d3
2025-02-04 19:21:50 +00:00
Tagir Valeev
e985705e03
[java-highlighting] JavaErrorBundle.properties: migrated properties removed
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 0f50893e525ea81ed43e90503f4ab7514cb11979
2025-01-31 15:31:12 +00:00
Tagir Valeev
de680b834f
[java-highlighting] JavaErrorBundle.properties: migrated properties removed
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 8de87670a2c88828e0114cfc9966d1a5d2b254a2
2025-01-31 15:31:12 +00:00
Tagir Valeev
be747e6461
[java-highlighting] variable errors migrated; some improvements in incompatible type fixes
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: b8531f50c89b009e852e1fdcc9efce1c29dcf4e1
2025-01-29 11:35:29 +00:00
Tagir Valeev
a157ee801e
[java-highlighting] type-related errors, lvti-related errors, TypeChecker introduced
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 126dfbfe5a1046072d520e9a8f57261ff7add384
2025-01-29 11:35:29 +00:00
Tagir Valeev
9dbf2ace73
[java-inspections] UnreachableCatchInspection extracted from highlighter
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: b2e389aa89d75c63969a3884a495b3771d2712b2
2025-01-27 18:53:10 +00:00
Tagir Valeev
7f391af965
[java-highlighting] Finish checkMethodCall migration
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 68d3ae802d6340854838c680979aba531a778488
2025-01-22 12:50:33 +00:00
Mikhail Pyltsin
c28f1d89cc
[java-highlighting] IDEA-365996 Constructor in an implicitly declared class is not highlighted as error
...
GitOrigin-RevId: 2de45c452608cea2ab314511060ac733259a8c18
2025-01-22 10:29:22 +00:00
Tagir Valeev
d46f522700
[java-highlighting] Unused properties removed
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 441fc6adec85f6aaa7b4d4bbb944b5aeab7dcb8d
2025-01-20 16:39:03 +00:00
Tagir Valeev
aea97243cf
[java-highlighting] More generics stuff and switch stuff migrated
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 70990f955de96df8d98ee3097ca01d9b4f529d4b
2025-01-17 16:02:19 +00:00
Tagir Valeev
19b4123fe6
[java-highlighting] Remove unused properties
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 7bed460c32e4b8dfcd07e37e4ef13c1692655acd
2025-01-15 19:19:41 +00:00
Tagir Valeev
9450c1bf37
[java-highlighting] More class-related stuff and implicit class stuff -> ClassChecker
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: aa4e9711952175cbd0677b50d7486efaa19113fc
2025-01-13 09:44:55 +00:00
Bas Leijdekkers
8e8c2b726d
Java: match javac from jdk 24 in error highlighting for Flexible Constructor Bodies - JEP 492 (IDEA-364189)
...
GitOrigin-RevId: 686bd65963483f93acd22ae8956681f889105409
2025-01-11 17:53:23 +00:00
Bas Leijdekkers
67f8acad93
Java: fix error message (IDEA-364189)
...
GitOrigin-RevId: 6ddc29ca9af9523ac8597bc00b920b872a4250b6
2025-01-11 17:53:23 +00:00
Tagir Valeev
bca4f75501
[java-highlighting] checkMustNotBeLocal, checkClassAndPackageConflict, checkPublicClassInRightFile, checkWellFormedRecord, checkSealedClassInheritors, checkSealedSuper -> ClassChecker
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 96d04cbf95d1c92486090997d527b05f929169db
2025-01-09 18:51:18 +00:00
Tagir Valeev
388f3deac0
[java-highlighting] checkClassMustBeAbstract, checkDuplicateNestedClass, checkCyclicInheritance -> ClassChecker
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: ac39c3d4a1198d9ea32c27fc9d3dfe6eee4ed251
2025-01-09 18:51:18 +00:00
Tagir Valeev
d016a592c8
[java-highlighting] Finish moving annotation-related errors
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 21317f34d9e16b4169c56ad957c90fb07d943355
2025-01-09 12:30:34 +00:00
Tagir Valeev
f036b08d09
[java-highlighting] Remove unused code and properties
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: 801074fccdff129683089fa96c2f4a0d01f07bf3
2025-01-09 12:30:34 +00:00
Tagir Valeev
e1eb2882a6
[java-highlighting] JavaErrorBundle.properties: remove unused properties
...
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)
GitOrigin-RevId: e1d515c4bb55f1b9147ae6e031487b804edb3106
2025-01-08 16:42:47 +00:00
Tagir Valeev
d57fac1920
[java] Message fixed
...
GitOrigin-RevId: 0d4835cfe430c37dafca828ba825a9afc95a103d
2025-01-03 19:17:43 +00:00
Bas Leijdekkers
24557b8338
Java: fix inappropriate quick-fix for bodyless methods in record (IDEA-299166)
...
fixes error message as well
GitOrigin-RevId: 2b9d54fa48b282dc003753645237ebfdb50c0d01
2024-12-29 13:41:59 +00:00
Bas Leijdekkers
2b32d9bb56
Java: basic support for Valhalla Value Classes (IDEA-364548)
...
GitOrigin-RevId: 93b0394866aae35772ccc90e7de822af8a94c6ce
2024-12-18 18:05:29 +00:00
Bas Leijdekkers
ed768499e2
Java: don't report error on qualified reference if the type of the qualifier is unknown (IDEA-240047)
...
GitOrigin-RevId: c5c197eca630832e9f96d1cbee1a1ed545e0212f
2024-11-11 20:27:58 +00:00
Bas Leijdekkers
a016f884d3
Java: add error for class extending sealed class from another package (IDEA-358672)
...
GitOrigin-RevId: d7b0c68100ddc60f42bfedc1f3b88e54cbd3ce74
2024-10-29 01:52:20 +00:00
Mikhail Pyltsin
a55780f84d
[java-highlighting] IDEA-345960 fix unnecessary java error messages
...
- there are doubles with JavaPsiBundle but all of that are suppressed due to external usages
GitOrigin-RevId: 656f3187c12d8d19025b58c43afa25293b4975e6
2024-10-07 11:42:34 +00:00
Mikhail Pyltsin
cd14483af8
[java-highlighting] IDEA-357866 Spurious "Different case kinds used in the switch" error on incomplete code
...
- improve error message
GitOrigin-RevId: 2a8da472e07dd10bdb0ae75e679b6056ab884b72
2024-08-22 16:03:56 +00:00
Bas Leijdekkers
891e3e3702
Java: restore property used in external plugin
...
GitOrigin-RevId: 7a36d4aa3299a65f22ac5f81210a3a909edc368c
2024-08-04 12:09:08 +00:00
Aleksey Dobrynin
44e14f0283
[java, highlighting, import-module] Check access module names for Module Import Declarations DEA-356710
...
GitOrigin-RevId: 819c182488bd0b4aeffb8518373da35aabf311ca
2024-07-31 17:00:00 +00:00
Bas Leijdekkers
a35a9f91ba
Java: improve error highlighting for unknown annotation method
...
GitOrigin-RevId: 6fdb6e2f397280cf4795cbd09ddcc1461a5897ff
2024-07-30 22:37:25 +00:00
Bas Leijdekkers
7f47f19875
Java: support for JEP 382: Flexible constructor bodies (IDEA-355054)
...
GitOrigin-RevId: f6146f9e06b0f618f1512b7b864532e126d7beda
2024-07-19 20:23:55 +00:00
Bas Leijdekkers
5b1dbe4383
Java: fix and improve error message (IDEA-356573)
...
GitOrigin-RevId: 0b3ff17ed8d439ff99ce1e2294a6fac2dcb83770
2024-07-19 20:23:55 +00:00
Bas Leijdekkers
291bb89726
Java:Highlight "Recursive constructor invocation" error on the constructor call (IDEA-356563)
...
GitOrigin-RevId: ec04cb0aa5b234ea9814d78400c83fa70e6bd29b
2024-07-19 20:23:55 +00:00
Bas Leijdekkers
3b9377a54b
Java: better error message on duplicate reference in extends/implements list (IDEA-354856)
...
GitOrigin-RevId: 0ba4eed5966c273f94552d7fe623a69bb6eb6c95
2024-06-14 13:20:40 +00:00
Mikhail Pyltsin
ce5a0d65c2
IJ-CR-135655 [java-highlighting] S IDEA-286130 annotations are not allowed in permitted list
...
- fix text
- fix test
GitOrigin-RevId: 87072c9561528bd04a27c03293f926a33a2519f9
2024-06-13 10:54:53 +00:00
Mikhail Pyltsin
687ea8c03c
[java-highlighting] IDEA-286130 annotations are not allowed in permitted list
...
GitOrigin-RevId: 921ad24be3586a17a6e393d73687ddc36ce539ac
2024-05-30 17:07:51 +00:00
Mikhail Pyltsin
41c184cc13
Revert "IJ-CR-134196 [java-highlighting] IDEA-352727 Incomplete model with lombok"
...
This reverts commit 1c5fc12a0f4dd70c8899a807dc03925680c68ab9.
GitOrigin-RevId: dd3bcd03cf5dd5d1b3ef8958805579283cbcca37
2024-05-24 21:18:26 +00:00
Mikhail Pyltsin
153827e5e4
IJ-CR-134196 [java-highlighting] IDEA-352727 Incomplete model with lombok
...
- add a more accurate message for non-initialized fields
GitOrigin-RevId: 1c5fc12a0f4dd70c8899a807dc03925680c68ab9
2024-05-23 14:11:43 +00:00
Bas Leijdekkers
5f42212d1e
[java] unused symbol messages for records and annotation types
...
GitOrigin-RevId: caf22949ba07b7644244865dcbd6b780494a4e6e
2024-05-23 12:46:43 +00:00
Tagir Valeev
deb33bbc1d
[java-highlighting] IDEA-353117 Error highlighting in the incomplete project model
...
First draft
GitOrigin-RevId: e9dbfd1d6c42fe92f43686e465c11201b07cf3d4
2024-05-07 18:33:41 +00:00
Mikhail Pyltsin
45160db0df
[java-highlighting] IDEA-352588 Support JEP 455: highlighting for switch with primitives
...
GitOrigin-RevId: 06636352b202037ec3400b2f9763e101d8ed6042
2024-04-29 21:17:42 +00:00
Bas Leijdekkers
89c8dc03ed
[java] better error message on @interface throws/extends list not allowed (IDEA-350501)
...
GitOrigin-RevId: 1f89c42ac5ffda1d026f6e40cb922b08a095d1dc
2024-04-08 09:54:38 +00:00