Module com.google.googlejavaformat
Package com.google.googlejavaformat.java
Class RemoveUnusedImports
java.lang.Object
com.google.googlejavaformat.java.RemoveUnusedImports
public class RemoveUnusedImports extends Object
Removes unused imports from a source file. Imports that are only used in javadoc are also
removed, and the references in javadoc are replaced with fully qualified names.
-
Constructor Summary
Constructors Constructor Description RemoveUnusedImports() -
Method Summary
Modifier and Type Method Description static StringremoveUnusedImports(String contents)
-
Constructor Details
-
RemoveUnusedImports
public RemoveUnusedImports()
-
-
Method Details