|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ksu.cis.projects.bogor.type.Type
edu.ksu.cis.projects.bogor.type.NonPrimitiveType
edu.ksu.cis.projects.bogor.type.NonPrimitiveExtType
public class NonPrimitiveExtType
Represents the non-primitive type extension type.
| Field Summary |
|---|
| Fields inherited from class edu.ksu.cis.projects.bogor.type.Type |
|---|
hashCode, typeId |
| Constructor Summary | |
|---|---|
NonPrimitiveExtType(String id,
Type[] typeArgs)
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 non-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 NonPrimitiveExtType(String id,
Type[] typeArgs)
id - The fully qualified name for this non-primitive type extension
type. Non-null.typeArgs - The type arguments for this non-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 Objecto - Another object to check equality to.
public String toString()
toString in class Objectpublic ASTType toASTType()
toASTType in class Typenull if the type is undeclarable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||