Package | Description |
---|---|
com.google.javascript.refactoring | |
com.google.javascript.refactoring.testing |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.SetMultimap<String,CodeReplacement> |
SuggestedFix.getReplacements()
Returns a multimap from filename to all the replacements that should be
applied for this given fix.
|
Modifier and Type | Method and Description |
---|---|
static String |
ApplySuggestedFixes.applyCodeReplacements(Iterable<CodeReplacement> replacements,
String code)
Applies the provided set of code replacements to the code and returns the transformed code.
|
Modifier and Type | Method and Description |
---|---|
static void |
SuggestedFixes.assertReplacement(SuggestedFix fix,
CodeReplacement expectedReplacement) |
Copyright © 2009-2015 Google. All Rights Reserved.