UAST
Using new Color(a,a,a)
Warning
Code Style
New
Last modified: 03 December 2024 Reports usages of java.awt.Color
to create gray colors.
The Convert to 'Gray' quick fix replaces it using com.intellij.ui.Gray
constants instead.
Examples:
// bad:
Color gray = new Color(37, 37, 37);
// good:
Color gray = Gray._37;
- 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.
InspectionUsingGrayColors
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Plugin DevKit, 243.23126 |
Thanks for your feedback!
Was this page helpful?