public final class SuggestedFix
extends java.lang.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. |
static class |
SuggestedFix.MatchedNodeInfo
Information about the node that was matched for the suggested fix.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
SuggestedFix.MatchedNodeInfo |
getMatchedNodeInfo()
Returns information about the original JS Compiler Node that caused this SuggestedFix to be
constructed.
|
com.google.common.collect.SetMultimap<java.lang.String,CodeReplacement> |
getReplacements()
Returns a multimap from filename to all the replacements that should be
applied for this given fix.
|
java.lang.String |
toString() |
public SuggestedFix.MatchedNodeInfo getMatchedNodeInfo()
public com.google.common.collect.SetMultimap<java.lang.String,CodeReplacement> getReplacements()
@Nullable public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009-2018 Google. All Rights Reserved.