Package | Description |
---|---|
com.google.javascript.refactoring | |
com.google.javascript.refactoring.examples |
Modifier and Type | Method and Description |
---|---|
SuggestedFix.Builder |
SuggestedFix.Builder.addGoogRequire(Match m,
java.lang.String namespace)
Adds a goog.require for the given namespace to the file if it does not already exist.
|
SuggestedFix.Builder |
SuggestedFix.Builder.addLhsToGoogRequire(Match m,
java.lang.String namespace) |
java.lang.String |
SuggestedFix.Builder.getRequireName(Match m,
java.lang.String namespace)
If the namespace has a short name, return it.
|
java.util.List<SuggestedFix> |
Scanner.processMatch(Match match)
Processes one
Match at a time. |
com.google.common.collect.ImmutableList<SuggestedFix> |
RefasterJsScanner.processMatch(Match match) |
SuggestedFix.Builder |
SuggestedFix.Builder.removeGoogRequire(Match m,
java.lang.String namespace)
Removes a goog.require for the given namespace to the file if it
already exists.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SuggestedFix> |
Scanner.processAllMatches(java.util.Collection<Match> matches)
Processes every given match at one time.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<SuggestedFix> |
GoogBindToArrow.processMatch(Match match) |
Copyright © 2009-2018 Google. All Rights Reserved.