public FunctionType createConstructorType ( String name , Node source , Node parameters , JSType returnType , ImmutableList < TemplateType > templateKeys , boolean isAbstract ) { checkArgument ( source == null || source . isFunction ( ) || source . isClass ( ) ) ; return FunctionType . builder ( this ) . forConstructor ( ) . withName ( name ) . withSourceNode ( source ) . withParamsNode ( parameters ) . withReturnType ( returnType ) . withTemplateKeys ( templateKeys ) . withIsAbstract ( isAbstract ) . build ( ) ; }
Creates a constructor function type .