src/com/google/javascript/rhino/jstype/FunctionType.java
/** Create a new constructor with the parameters and return type stripped. */
Create a new constructor with the parameters and return type stripped.
Create a new constructor with the parameters and return type stripped .
public final FunctionType forgetParameterAndReturnTypes() {
    FunctionType result =
        new FunctionBuilder(registry)
            .withName(getReferenceName())
            .withSourceNode(source)
            .withTypeOfThis(getInstanceType())
            .withKind(kind)
            .build();
    result.setPrototypeBasedOn(getInstanceType());
    return result;
  }
public final FunctionType forgetParameterAndReturnTypes ( ) { FunctionType result = new FunctionBuilder ( registry ) . withName ( getReferenceName ( ) ) . withSourceNode ( source ) . withTypeOfThis ( getInstanceType ( ) ) . withKind ( kind ) . build ( ) ; result . setPrototypeBasedOn ( getInstanceType ( ) ) ; return result ; }
Create a new constructor with the parameters and return type stripped.
Create a new constructor with the parameters and return type stripped .