src/com/google/javascript/jscomp/NodeUtil.java
/**
   * @return Whether the node represents a prototype method.
   */
@return Whether the node represents a prototype method.
@return Whether the node represents a prototype method .
static boolean isPrototypeMethod(Node n) {
    if (!n.isFunction()) {
      return false;
    }
    Node assignNode = n.getParent();
    if (!assignNode.isAssign()) {
      return false;
    }
    return isPrototypePropertyDeclaration(assignNode.getParent());
  }
static boolean isPrototypeMethod ( Node n ) { if ( ! n . isFunction ( ) ) { return false ; } Node assignNode = n . getParent ( ) ; if ( ! assignNode . isAssign ( ) ) { return false ; } return isPrototypePropertyDeclaration ( assignNode . getParent ( ) ) ; }
@return Whether the node represents a prototype method.
@return Whether the node represents a prototype method .