public static final class Type.Impl.Method extends Type.Impl.FunctionOrMethod implements Type.Method
Type.Impl.Atom, Type.Impl.Conjunctable, Type.Impl.Function, Type.Impl.FunctionOrMethod, Type.Impl.Method, Type.Impl.PositiveAtom, Type.Impl.Primitive, Type.Impl.PropertyType.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 | Field and Description |
|---|---|
protected String[] |
contextLifetimes |
protected String[] |
lifetimeParameters |
parameters, returns| Constructor and Description |
|---|
Method(Collection<String> lifetimeParameters,
Collection<String> contextLifetimes,
Type.Impl[] parameters,
Type.Impl[] returns) |
Method(String[] lifetimeParameters,
String[] contextLifetimes,
Type.Impl[] parameters,
Type.Impl[] returns) |
Method(Type.Impl[] parameters,
Type.Impl[] returns) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
contextLifetimes()
Get the context lifetimes of this function or method type.
|
boolean |
equals(Object o) |
int |
getKind() |
int |
hashCode() |
String[] |
lifetimeParams()
Get the lifetime parameters of this function or method type.
|
String |
toString() |
compareTo, parameter, params, returnsintersectClosedClosedRecord, intersectOpenClosedRecord, intersectOpenOpenRecordclone, finalize, getClass, notify, notifyAll, wait, wait, waitparameter, params, returnsArray, fromString, Function, Intersection, Method, Method, Method, Negation, Nominal, Property, Record, Record, Reference, toImplArrays, toImplOrVoid, toImplRecords, Unionprotected final String[] lifetimeParameters
protected final String[] contextLifetimes
public Method(String[] lifetimeParameters, String[] contextLifetimes, Type.Impl[] parameters, Type.Impl[] returns)
public Method(Collection<String> lifetimeParameters, Collection<String> contextLifetimes, Type.Impl[] parameters, Type.Impl[] returns)
public boolean equals(Object o)
equals in class Type.Impl.FunctionOrMethodpublic int hashCode()
hashCode in class Type.Impl.FunctionOrMethodpublic String[] contextLifetimes()
contextLifetimes in interface Type.Methodpublic String[] lifetimeParams()
lifetimeParams in interface Type.MethodCopyright © 2017. All rights reserved.