static FunctionType.Builder |
FunctionType.builder(JSTypeRegistry registry) |
|
FunctionType.Builder |
FunctionType.Builder.copyFromOtherFunction(FunctionType otherType) |
Copies all the information from another function type.
|
FunctionType.Builder |
FunctionType.Builder.forConstructor() |
Make this a constructor.
|
FunctionType.Builder |
FunctionType.Builder.forInterface() |
Make this an interface.
|
FunctionType.Builder |
FunctionType.Builder.withClosurePrimitiveId(ClosurePrimitive id) |
|
FunctionType.Builder |
FunctionType.Builder.withConstructorTemplateKeys(java.lang.Iterable<TemplateType> constructorOnlyKeys) |
Specifies a subset of the template keys that only apply to the constructor, and should be
removed from the instance type.
|
FunctionType.Builder |
FunctionType.Builder.withInferredReturnType(JSType returnType) |
Sets an inferred return type.
|
FunctionType.Builder |
FunctionType.Builder.withIsAbstract(boolean isAbstract) |
Mark abstract method.
|
FunctionType.Builder |
FunctionType.Builder.withName(java.lang.String name) |
Set the name of the function type.
|
FunctionType.Builder |
FunctionType.Builder.withParameters() |
Set the function to take zero parameters.
|
FunctionType.Builder |
FunctionType.Builder.withParameters(java.util.List<FunctionType.Parameter> parameters) |
Set the parameters of the function type.
|
FunctionType.Builder |
FunctionType.Builder.withPrototypeBasedOn(ObjectType setPrototypeBasedOn) |
Set the prototype property of a constructor.
|
FunctionType.Builder |
FunctionType.Builder.withReturnType(JSType returnType) |
Set the return type.
|
FunctionType.Builder |
FunctionType.Builder.withReturnType(JSType returnType,
boolean inferred) |
Set the return type and whether it's inferred.
|
FunctionType.Builder |
FunctionType.Builder.withSourceNode(Node sourceNode) |
Set the source node of the function type.
|
FunctionType.Builder |
FunctionType.Builder.withTemplateKeys(com.google.common.collect.ImmutableList<TemplateType> templateKeys) |
Set the template name.
|
FunctionType.Builder |
FunctionType.Builder.withTemplateKeys(TemplateType... templateKeys) |
Set the template name.
|
FunctionType.Builder |
FunctionType.Builder.withTypeOfThis(JSType typeOfThis) |
Set the "this" type.
|