public class FunctionType extends ConcreteType
| Modifier and Type | Field and Description |
|---|---|
protected TypeSeq |
returnTypes |
protected AbstractType |
supertype |
protected TypeSeq |
typeSeq |
name| Modifier and Type | Method and Description |
|---|---|
TypeSeq |
argumentTypes() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isConsistentWith(Type that) |
boolean |
isSubtypeOf(Type that) |
Type |
join(Type that) |
Type |
meet(Type that) |
Type |
restrict(Type that) |
TypeSeq |
returnTypes() |
String |
toExplicitString()
Deprecated.
|
String |
toString() |
supertypecompareTo, isConsistentSubtypeOf, unionWithprotected final AbstractType supertype
protected final TypeSeq typeSeq
protected final TypeSeq returnTypes
public String toString()
toString in class ConcreteType@Deprecated public String toExplicitString()
public TypeSeq argumentTypes()
public TypeSeq returnTypes()
public boolean isSubtypeOf(Type that)
isSubtypeOf in class ConcreteTypepublic Type join(Type that)
join in class ConcreteTypepublic Type meet(Type that)
meet in class ConcreteTypepublic Type restrict(Type that)
restrict in class ConcreteTypepublic boolean isConsistentWith(Type that)
isConsistentWith in interface GradualTypeLike<Type>isConsistentWith in class TypeCopyright © 2016–2017. All rights reserved.