Java
Assignment can be joined with declaration
Info
New
Last modified: 03 December 2024Reports variable assignments that can be joined with a variable declaration.
Example:
int x;
x = 1;
The quick-fix converts the assignment into an initializer:
int x = 1;
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
JoinDeclarationAndAssignmentJava
New in 2018.3
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?