public class ParamInstance_c extends polyglot.types.VarInstance_c implements ParamInstance
ParamInstance interface.ParamInstance.KindconstantValue, constantValueSet, decl, flags, isConstant, name, typeCOVARIANT_LABEL, INVARIANT_LABEL, PRINCIPAL| Constructor and Description |
|---|
ParamInstance_c(JifTypeSystem ts,
polyglot.util.Position pos,
JifClassType container,
ParamInstance.Kind kind,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
JifClassType |
container() |
ParamInstance |
container(JifClassType container) |
boolean |
equalsImpl(polyglot.types.TypeObject o) |
java.lang.String |
fullName() |
boolean |
isCovariantLabel() |
boolean |
isInvariantLabel() |
boolean |
isLabel() |
boolean |
isPrincipal() |
ParamInstance.Kind |
kind() |
ParamInstance |
kind(ParamInstance.Kind kind) |
ParamInstance |
name(java.lang.String name) |
protected void |
readObject(java.io.ObjectInputStream in) |
void |
setType(polyglot.types.Type t) |
java.lang.String |
toString() |
protected void |
writeObject(java.io.ObjectOutputStream out) |
constantValue, constantValueSet, declaration, flags, hashCode, isCanonical, isConstant, name, setConstantValue, setDeclaration, setFlags, setName, setNotConstant, typeclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ParamInstance_c(JifTypeSystem ts, polyglot.util.Position pos, JifClassType container, ParamInstance.Kind kind, java.lang.String name)
public JifClassType container()
container in interface ParamInstancepublic boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl in interface polyglot.types.TypeObjectequalsImpl in class polyglot.types.VarInstance_cpublic ParamInstance container(JifClassType container)
container in interface ParamInstancepublic ParamInstance.Kind kind()
kind in interface ParamInstancepublic ParamInstance kind(ParamInstance.Kind kind)
kind in interface ParamInstancepublic ParamInstance name(java.lang.String name)
name in interface ParamInstancepublic boolean isPrincipal()
isPrincipal in interface ParamInstancepublic boolean isLabel()
isLabel in interface ParamInstancepublic boolean isInvariantLabel()
isInvariantLabel in interface ParamInstancepublic boolean isCovariantLabel()
isCovariantLabel in interface ParamInstancepublic java.lang.String toString()
toString in class java.lang.Objectprotected void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprotected void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void setType(polyglot.types.Type t)
setType in interface polyglot.types.VarInstancesetType in class polyglot.types.VarInstance_cpublic java.lang.String fullName()
fullName in interface polyglot.types.Named