[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
This commit is contained in:
Mikhail Pyltsin
2024-06-10 19:18:09 +02:00
committed by intellij-monorepo-bot
parent f57df70730
commit 2023228d8c
26 changed files with 681 additions and 142 deletions

View File

@@ -1344,6 +1344,8 @@ unwrap.switch.statement=Unwrap 'switch' statement
usage.target.exception=Exception
usage.target.package.in.directory={0} (in {1})
use.external.annotations=Use &external annotations
generate.type.use.before.type=Generate annotations allowed for TYPE_USE directly &before a type
generate.type.use.before.type.description=Annotations, containing TYPE_USE as target, will be placed right before a type. Otherwise, it will be tried to place before all modifiers.
wrapping.annotation.enums=Enum field annotations
wrapping.annotation.parameters=Annotation parameters
wrapping.record.components=Record components