public final class SuggestedFix extends Object
SuggestedFix.Builder
class and helper
functions.Modifier and Type | Class and Description |
---|---|
static class |
SuggestedFix.Builder
Builder class for
SuggestedFix that contains helper functions to
manipulate JS nodes. |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
Node |
getOriginalMatchedNode()
Returns the JS Compiler Node for the original node that caused this SuggestedFix to
be constructed.
|
com.google.common.collect.SetMultimap<String,CodeReplacement> |
getReplacements()
Returns a multimap from filename to all the replacements that should be
applied for this given fix.
|
String |
toString() |
public Node getOriginalMatchedNode()
public com.google.common.collect.SetMultimap<String,CodeReplacement> getReplacements()
Copyright © 2009-2016 Google. All Rights Reserved.