public interface Fix
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getImportsToAdd() |
Collection<String> |
getImportsToRemove() |
Set<Replacement> |
getReplacements(com.sun.tools.javac.tree.EndPosTable endPositions) |
default String |
getShortDescription()
A short description which can be attached to the Fix to differentiate multiple fixes provided
to the user.
|
boolean |
isEmpty() |
String |
toString(com.sun.tools.javac.tree.JCTree.JCCompilationUnit compilationUnit) |
String toString(com.sun.tools.javac.tree.JCTree.JCCompilationUnit compilationUnit)
default String getShortDescription()
Empty string generates the default description.
Set<Replacement> getReplacements(com.sun.tools.javac.tree.EndPosTable endPositions)
Collection<String> getImportsToAdd()
Collection<String> getImportsToRemove()
boolean isEmpty()
Copyright © 2021 Google LLC. All rights reserved.