public class MuPClass_c<Formal extends Param,Actual extends TypeObject> extends PClass_c<Formal,Actual> implements MuPClass<Formal,Actual>
Modifier and Type | Field and Description |
---|---|
protected ClassType |
clazz |
protected java.util.List<Formal> |
formals |
position, ts
Modifier | Constructor and Description |
---|---|
protected |
MuPClass_c() |
|
MuPClass_c(TypeSystem ts) |
|
MuPClass_c(TypeSystem ts,
Position pos) |
Modifier and Type | Method and Description |
---|---|
void |
addFormal(Formal param)
Destructively add a formal to the end of the formals list.
|
ClassType |
clazz()
The class associated with
this . |
void |
clazz(ClassType clazz)
Destructively update the clazz.
|
java.util.List<Formal> |
formals()
The formal type parameters associated with
this . |
void |
formals(java.util.List<Formal> formals)
Destructively update the formals.
|
fullName, instantiate, isCanonical, name, package_, typeSystem
copy, equals, equalsImpl, hashCode, position
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
instantiate
package_
equalsImpl, isCanonical, position, typeSystem
protected ClassType clazz
protected MuPClass_c()
public MuPClass_c(TypeSystem ts)
public MuPClass_c(TypeSystem ts, Position pos)
public java.util.List<Formal> formals()
PClass
this
.public ClassType clazz()
PClass
this
. Note that
this
should never be used as a first-class type.public void formals(java.util.List<Formal> formals)
MuPClass
public void addFormal(Formal param)
MuPClass