public class ParamInstance_c extends polyglot.types.VarInstance_c implements ParamInstance
ParamInstance
interface.ParamInstance.Kind
constantValue, constantValueSet, decl, flags, isConstant, name, type
COVARIANT_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, type
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public ParamInstance_c(JifTypeSystem ts, polyglot.util.Position pos, JifClassType container, ParamInstance.Kind kind, java.lang.String name)
public JifClassType container()
container
in interface ParamInstance
public boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl
in interface polyglot.types.TypeObject
equalsImpl
in class polyglot.types.VarInstance_c
public ParamInstance container(JifClassType container)
container
in interface ParamInstance
public ParamInstance.Kind kind()
kind
in interface ParamInstance
public ParamInstance kind(ParamInstance.Kind kind)
kind
in interface ParamInstance
public ParamInstance name(java.lang.String name)
name
in interface ParamInstance
public boolean isPrincipal()
isPrincipal
in interface ParamInstance
public boolean isLabel()
isLabel
in interface ParamInstance
public boolean isInvariantLabel()
isInvariantLabel
in interface ParamInstance
public boolean isCovariantLabel()
isCovariantLabel
in interface ParamInstance
public java.lang.String toString()
toString
in class java.lang.Object
protected void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
protected void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void setType(polyglot.types.Type t)
setType
in interface polyglot.types.VarInstance
setType
in class polyglot.types.VarInstance_c
public java.lang.String fullName()
fullName
in interface polyglot.types.Named