public class RemoveUnusedImports extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoveUnusedImports.JavadocOnlyImports
Deprecated.
This configuration is no longer supported and will be removed in the future.
|
| Constructor and Description |
|---|
RemoveUnusedImports() |
| Modifier and Type | Method and Description |
|---|---|
static String |
removeUnusedImports(String contents) |
static String |
removeUnusedImports(String contents,
RemoveUnusedImports.JavadocOnlyImports javadocOnlyImports)
Deprecated.
use
removeUnusedImports(String) instead. |
@Deprecated public static String removeUnusedImports(String contents, RemoveUnusedImports.JavadocOnlyImports javadocOnlyImports) throws FormatterException
removeUnusedImports(String) instead.FormatterExceptionpublic static String removeUnusedImports(String contents) throws FormatterException
FormatterExceptionCopyright © 2015-2019 Google Inc.. All Rights Reserved.