|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ksu.cis.projects.bogor.type.Type edu.ksu.cis.projects.bogor.type.PrimitiveType edu.ksu.cis.projects.bogor.type.PrimitiveExtType
public class PrimitiveExtType
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.type.Type |
---|
hashCode, typeId |
Constructor Summary | |
---|---|
PrimitiveExtType(String id,
Type[] paramTypes)
Default constructor. |
Method Summary | |
---|---|
void |
dispose()
Remove references. |
boolean |
equals(Object o)
Checks whether this object is equal to another object. |
String |
getId()
Gets the fully qualified name of this primitive type extension type. |
Type |
getTypeArg(int index)
Gets the type argument at a certain index. |
int |
getTypeArgCount()
Gets the number of type arguments. |
ASTType |
toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
String |
toString()
Returns the string representation of this object. |
Methods inherited from class edu.ksu.cis.projects.bogor.type.Type |
---|
getTypeId, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PrimitiveExtType(String id, Type[] paramTypes)
id
- The fully qualified name for this primitive type extension
type. Non-null.paramTypes
- The type arguments for this primitive type extension type.
Must be non-null. Each element must be non-null.Method Detail |
---|
public String getId()
public Type getTypeArg(int index)
index
- The index of the type argument. Must be between 0 and
getTypeArgCount() - 1.
public int getTypeArgCount()
public void dispose()
Disposable
public boolean equals(Object o)
equals
in class Object
o
- Another object to check equality to.
public String toString()
toString
in class Object
public ASTType toASTType()
toASTType
in class Type
null
if the type is undeclarable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |