mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
977 B
977 B
layout, title, parent, nav_order
| layout | title | parent | nav_order |
|---|---|---|---|
| default | StaticImport | Bug Patterns | 1 |
StaticImport
Simplification
${EXTRA_DOCS}
Samples
```java public static void sample() {} ```
View source code on GitHubStaticImport
Identifier should be statically imported
| Severity | SUGGESTION |
| Tags | Simplification |
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("StaticImport") to the enclosing element.