Replace static imports with non-static imports
Open
enhancement
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 559
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 34
Description
Hi is it possible to setup spotless to replace static imports with non-static imports in Java?
Example:
Static import:
```
import static org.enums.Value.SOME_ENUM_VALUE;
public class Test {
public void method() {
var example = SOME_ENUM_VALUE;
}
}
```
Replace with
```
import org.enums.Value.SOME_ENUM_VALUE;
public class Test {
public void method() {
var example = Value.SOME_ENUM_VALUE;
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.