public static interface Type.FunctionOrMethod extends Type
Type.Array, Type.EffectiveArray, Type.EffectiveRecord, Type.EffectiveReference, Type.Function, Type.FunctionOrMethod, Type.Impl, Type.Intersection, Type.Leaf, Type.Method, Type.Negation, Type.Nominal, Type.Primitive, Type.Property, Type.Record, Type.Reference, Type.Union| Modifier and Type | Method and Description |
|---|---|
Type |
parameter(int i)
Get the ith parameter type
|
Type[] |
params()
Get the list of parameter types which are accepted by this function
or method.
|
Type[] |
returns()
Get the list of types which are returned by this function or method.
|
Array, fromString, Function, Intersection, Method, Method, Method, Negation, Nominal, Property, Record, Record, Reference, toImplArrays, toImplOrVoid, toImplRecords, UnionType[] params()
Type[] returns()
Type parameter(int i)
i - Copyright © 2017. All rights reserved.