Class GoogBindToArrow

java.lang.Object
com.google.javascript.refactoring.Scanner
com.google.javascript.refactoring.examples.GoogBindToArrow
All Implemented Interfaces:
Serializable

public final class GoogBindToArrow extends Scanner
Replaces goog.bind(..., this) with arrow functions. The pretty-printer does not do well with arrow functions, so it is recommended that you run 'g4 fix' to invoke clang-format on the CLs created by this refactoring. TODO(tbreisacher): Handle (function(){}).bind(this); as well.
See Also: