public class RemoveUnusedImports
extends java.lang.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 java.lang.String |
removeUnusedImports(java.lang.String contents) |
static java.lang.String |
removeUnusedImports(java.lang.String contents,
RemoveUnusedImports.JavadocOnlyImports javadocOnlyImports)
Deprecated.
use
removeUnusedImports(String) instead. |
@Deprecated
public static java.lang.String removeUnusedImports(java.lang.String contents,
RemoveUnusedImports.JavadocOnlyImports javadocOnlyImports)
throws FormatterException
removeUnusedImports(String) instead.FormatterExceptionpublic static java.lang.String removeUnusedImports(java.lang.String contents)
throws FormatterException
FormatterExceptionCopyright © 2015-2018 Google Inc.. All Rights Reserved.