Andrey.Cherkasov
455a130ac2
IDEA-216120: fixes after review
...
GitOrigin-RevId: 44435772a108dc0a9edad4e56a00a27cc2f91efc
2021-03-26 00:47:47 +00:00
Tagir Valeev
b5f948dd5f
[java-highlighting] IDEA-265053 Highlight not-wellformed statements without semicolon as a "not-a-statement"
...
Also suggest 'introduce local variable' as a quick-fix
GitOrigin-RevId: 2a15a1d35ed1755ab043a40a06136ed946c4a516
2021-03-24 23:54:49 +00:00
Bart
b3a6e7ebd2
[jvm] IDEA-231329 Convert @TestOnly inspection to UAST
...
GitOrigin-RevId: 15230423d944e7b3a236f401bdc251dabb7d5586
2021-03-23 10:35:38 +00:00
Louis Vignier
65b7f80ce4
[java] Fix quotes in inspection descriptions
...
GitOrigin-RevId: e227c0708730b61eae81871bb9b1013853d8b4b2
2021-03-19 12:07:46 +00:00
Tagir Valeev
e3ce663932
[java-inspections] Message update (extends/implements list -> clause)
...
GitOrigin-RevId: 980a0f99b085f621a4928aea4e06362a237954f5
2021-03-19 07:48:21 +00:00
Tagir Valeev
afc371e029
[java-inspections] Quick-fix for missing not-null annotation on type element
...
GitOrigin-RevId: 6c7d91b8f30015eb1b5f51be422951ba8ef6b36b
2021-03-19 07:27:28 +00:00
Andrey.Cherkasov
f75bc6d37a
ConvertInterfaceToClassFix: fixes after review IDEA-216274
...
GitOrigin-RevId: cd0ac910a3e49f5329e34aee2751fd78c133e31f
2021-03-18 10:49:53 +00:00
Ilyas Selimov
f03cf3c54c
ClassGetClass - fix description
...
GitOrigin-RevId: 5b494afe8038ed665cbb8f5f27bf44366f163967
2021-03-17 14:16:28 +00:00
Ilyas Selimov
d7e459acec
JavaModuleNaming - fix description
...
GitOrigin-RevId: 7858d81cec269aa54e73e64132b342802c5d2ba1
2021-03-17 14:16:21 +00:00
Louis Vignier
712fec98d9
[java] Update inspection descriptions
...
GitOrigin-RevId: 17a71e3175e73635bceeff63d0c132b1c89bcbfe
2021-03-16 19:54:03 +00:00
Louis Vignier
170c838207
[java] Update inspection descriptions
...
GitOrigin-RevId: 1c55fac4ca08678e76aee02962ddf12153dd51cd
2021-03-16 14:56:20 +00:00
Louis Vignier
d830ccbf28
[java] Update inspection descriptions
...
GitOrigin-RevId: c9f960eb87b520f47644c31cdfabf03434ee9b59
2021-03-16 14:56:18 +00:00
Bart van Helvert
e321d26a2d
[java] Update inspection description
...
GitOrigin-RevId: b74ce5e0a81dec057cc35df07fc1fee411adf0e7
2021-03-15 20:38:45 +00:00
Andrey.Cherkasov
430ad9a42a
[java-highlighting] IDEA-216120 Provide fix for the "Illegal initializer for ..." error
...
GitOrigin-RevId: edf4f5e72243afe44f0bcbbacd2e753a2e5faf1e
2021-03-12 10:42:19 +00:00
Andrey.Cherkasov
59907581a6
[java-inspections] IDEA-216271 Remove custom priority of CreateConstructorMatchingSuperFix for "Ambiguous method call"
...
GitOrigin-RevId: e07ef70a632f356fa4d9cba92a35128f22ab96ee
2021-03-11 13:23:50 +00:00
Andrey.Cherkasov
de64886d9e
[java-highlighting] IDEA-216271 Provide fixes for the "Ambiguous method call" error
...
GitOrigin-RevId: c2cbd4f561b4d77b43a31d08b3ec8bb58f265f42
2021-03-10 12:24:57 +00:00
Andrey.Cherkasov
c19534589b
[java-highlighting] IDEA-216274 Provide fix for the "Not allowed in interface" error
...
GitOrigin-RevId: 1290ab27997b03c6a75b1c8172a3477722144941
2021-03-10 01:57:16 +00:00
Andrey.Cherkasov
64323d8ab0
[java-highlighting] Change text of fix for duplicate interfaces implemented
...
GitOrigin-RevId: a2b6f39e8722928193ff4c3ea9a65e4a9f041fd8
2021-03-09 15:44:23 +00:00
Tagir Valeev
2642c3d0e3
[java-intentions] RemoveTypeArgumentsFix removed, replaced with DeleteElementFix
...
GitOrigin-RevId: b154c6bcab74ac4bf8ec09cfc3a09b5ab647759d
2021-03-04 11:01:27 +00:00
Andrey.Cherkasov
22fc82203f
[java-highlighting] IDEA-216260 Provide fix for the "The receiver type does not match the enclosing class type" error
...
GitOrigin-RevId: 6c13081a405e2ae1d9bcb8716ae60d777376740e
2021-03-03 15:24:54 +00:00
Andrey.Cherkasov
374febfd1b
[java-intention] IDEA-216266 UnimplementInterfaceAction: solve "caret after last symbol" & refactoring
...
GitOrigin-RevId: d569a61960c0d677527affd56448bf5c501018d8
2021-03-03 15:24:53 +00:00
Artemiy Sartakov
ccc5077467
MemberModel: detect possible out of class definitions and suggest to move them into class (IDEA-258839)
...
GitOrigin-RevId: 7708fdc7b3191bcd0ba46767160c4ec0b5a179da
2021-03-02 05:37:58 +00:00
Andrey.Cherkasov
e6b91363a3
IDEA-216277 Provide fixes for Abstract method cannot be accessed directly
...
GitOrigin-RevId: 6f21975778294ee8ddf8691f633c175c2d441ddb
2021-02-21 01:05:16 +00:00
Andrey.Cherkasov
ef728ffaca
IDEA-216266 Provide fix for duplicate interfaces implemented
...
GitOrigin-RevId: d2cd81109ec67d2bdc55dc85563ba52e547f72c9
2021-02-16 14:40:13 +00:00
Nikolay Chashnikov
2125041499
[java] deprecation: add @ScheduledForRemoval annotation to deprecated elements (IDEA-259329)
...
GitOrigin-RevId: 9e43d4b84ea8860d2caf2928e6cd826597e67611
2021-02-12 16:33:10 +00:00
Tagir Valeev
a6bc8802f1
[java-analysis] Report nullability annotations on enum constants and on locals (for JSpecify)
...
GitOrigin-RevId: 48f21b639a1eaf3ca9c2d75e1cf846bddd726260
2021-02-11 07:05:25 +00:00
Tagir Valeev
ba33ae8bcf
[java] JSpecify: initial strict mode support
...
GitOrigin-RevId: a387d37ac8924b8e63847eb54458424f5f690d9a
2021-02-11 05:23:59 +00:00
Tagir Valeev
aa3b987530
[java-analysis] Report incorrect locations of nullability annotations (JSpecify)
...
GitOrigin-RevId: bc4915321fc45458caa79dc9424467dde05a9957
2021-02-10 10:02:41 +00:00
Tagir Valeev
11771e3ba1
[java-analysis] Better support for unspecified nullness (for jspecify); report some inherently not-null places
...
GitOrigin-RevId: 03fdd34aa1e5d6b591478ccd65ad2279a0e69566
2021-02-10 07:09:32 +00:00
Yuriy Artamonov
162f3f40ca
UAST: use package private access for UastMetaLanguage.Holder
...
GitOrigin-RevId: 215f30656681bbce47e2a5d267c017b0248c4c6d
2021-02-05 07:21:05 +00:00
Yuriy Artamonov
ec9c6c34aa
EA-252604 NPE: UastMetaLanguage.getMatchingLanguages
...
GitOrigin-RevId: f9ee6d56298643ae206cfc789a94508b729149c1
2021-02-03 12:45:43 +00:00
Tagir Valeev
49cd49dfa3
[java-dfa] Revise mutability: MUST_NOT_MODIFY
...
New level 'MUST_NOT_MODIFY' is introduced for parameters inside pure methods to signal that we should not modify these values, but we don't actually know whether they mutable or not (fixes IDEA-257286). Also, MUST_NOT_MODIFY is dropped inside nested closures, so we don't warn if parameter is modified there.
GitOrigin-RevId: f095e72be772eef8324ef2246fb0b7262beae20d
2021-02-01 08:25:58 +00:00
Alexey Kudravtsev
b8c8561b52
fix "do not return nullable collection" blooper
...
GitOrigin-RevId: 93a9f9f0d5ed49c12dd4c8d0a477bc75eede915b
2021-01-24 18:30:05 +00:00
Yuriy Artamonov
e056266026
UAST: Support plugins loading/unloading in UastModificationTracker
...
GitOrigin-RevId: b58014061b23e49f1c51ac37b70a8fe52e50efc2
2021-01-19 13:34:50 +00:00
Nikolay Chashnikov
645a720b58
[java] API cleanup: remove unused API which was deprecated for a long time (IDEA-259329)
...
GitOrigin-RevId: b2f2c85514d360e8d716e6f136f7c11760086f0e
2021-01-15 22:21:07 +00:00
Vladimir Krivosheev
4fc9fa8663
reduce trove usages
...
GitOrigin-RevId: 4dcfdc7c99548901ea1012d844faee04aede245f
2021-01-15 07:41:17 +00:00
Yuriy Artamonov
9374dcffb8
UAST: UastModificationTracker should sum modification counts directly without iterating through all languages
...
GitOrigin-RevId: a7940220347d377b48a402b9ea3eea34e75c90ac
2021-01-12 13:40:56 +00:00
Tagir Valeev
5d20b5dbb9
[java-highlighting] Allow statics inside inner since Java 16 (IDEA-257410)
...
Also remove redundant record tests
GitOrigin-RevId: ce57189891b3df3ba4659e8e3a2ded125234911a
2020-12-25 11:59:29 +00:00
Artemiy Sartakov
7de400f55b
Sealed classes: report permits classes that miss final/sealed/non-sealed modifier at permits list (IDEA-255805)
...
GitOrigin-RevId: 7d1c2c6d8f40302177b369838238858e44427c51
2020-12-22 10:40:52 +00:00
igor.kulakov
547015aee2
IDEA-249856 proofreading resources
...
GitOrigin-RevId: f23d92ca40f25fefadfc2941c77624f4199c29a0
2020-11-30 22:16:44 +00:00
Tagir Valeev
5e6932f3b5
[java-dfa] Check new array length to be non-negative in DFA
...
Fixes IDEA-254545 Inspection for allocation of array with negative size
Tests are contributed by Ivo Smid (PR#1468)
Co-authored-by: Ivo Smid <ivo.smid@gmail.com >
GitOrigin-RevId: b58f281faa6caeeb5a7fbb06b110182994369426
2020-11-19 02:39:59 +00:00
Tagir Valeev
35b14cacc7
[java-inspections] UnnecessaryToStringCall: option to report non-null qualifiers only; enable by default
...
Fixes IDEA-253383 "Redundant string operation" inspection should report use of toString() in string concatenation
GitOrigin-RevId: 935907a0b470503f915399947d3603c9852a440d
2020-11-12 03:28:51 +00:00
Sergey Patrikeev
3957e18003
i18n fixes in the 'execution-impl' module.
...
GitOrigin-RevId: af6604abe0ed2dd606e2362d3f173932ea4c4df8
2020-11-09 19:51:24 +00:00
RedNesto
66b2ceb0c8
IDEA-253543: Include annotations in ChangeParametersRequest
...
(close #1463 )
GitOrigin-RevId: aaac2090c8685717c1796640de511288e0a94844
2020-11-05 13:35:46 +00:00
Vladimir Krivosheev
924abe229c
cleanup (get rid of ServiceManager.get)
...
GitOrigin-RevId: 7f6a905353889c9795e5d40a8aa60f6251000f05
2020-10-16 11:34:52 +00:00
Tagir Valeev
742ad45a22
[java-dfa] Report implicit unboxing of nullable method reference argument
...
Fixes IDEA-250913 Inspection "Constant conditions and exceptions" does not catch "Unboxing may produce NullPointerException" in stream operations
GitOrigin-RevId: 536668db2e1b3bb5307cccff710f3212d07bce2e
2020-09-21 09:44:52 +00:00
Artemiy Sartakov
859a8fa5ba
ExtendSealedClassFix: fix added (IDEA-249603)
...
GitOrigin-RevId: d47a517c15f0a011fae581db7aacf4b1a76bad1b
2020-09-10 09:55:47 +00:00
Yuriy Artamonov
9f45833459
IDEA-CR-66576 UAST: turn UastModificationTracker into project @Service
...
GitOrigin-RevId: 7131296daeaae776548b16bf50ad78f7b5f92536
2020-09-03 17:33:29 +00:00
Anna Kozlova
a29e517758
java shebang outside of source roots;tests (IDEA-205455)
...
GitOrigin-RevId: 571d6c8c5bef490bb933534765a73eb030814182
2020-09-03 10:08:09 +00:00
Tagir Valeev
432a7bbb98
Messages proofreading
...
GitOrigin-RevId: d04913e6771f3405fff73ec814b64df06dc997fc
2020-09-02 04:27:38 +00:00