|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkoala.dynamicjava.tree.Node
koala.dynamicjava.tree.TypeName
koala.dynamicjava.tree.ReferenceTypeName
koala.dynamicjava.tree.tiger.GenericReferenceTypeName
public class GenericReferenceTypeName
This class represents a generic reference type
| Constructor Summary | |
|---|---|
GenericReferenceTypeName(java.util.List<? extends IdentifierToken> ids,
java.util.List<? extends java.util.List<? extends TypeName>> typeArgs)
Initializes the type |
|
GenericReferenceTypeName(java.util.List<? extends IdentifierToken> ids,
java.util.List<? extends java.util.List<? extends TypeName>> typeArgs,
SourceInfo si)
Initializes the type |
|
| Method Summary | ||
|---|---|---|
|
acceptVisitor(Visitor<T> visitor)
Allows a visitor to traverse the tree |
|
java.util.List<? extends java.util.List<? extends TypeName>> |
getTypeArguments()
|
|
java.lang.String |
toString()
Implementation of toString for use in unit testing |
|
java.lang.String |
toStringHelper()
|
|
| Methods inherited from class koala.dynamicjava.tree.ReferenceTypeName |
|---|
getIdentifiers, getRepresentation, setIdentifiers |
| Methods inherited from class koala.dynamicjava.tree.Node |
|---|
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericReferenceTypeName(java.util.List<? extends IdentifierToken> ids,
java.util.List<? extends java.util.List<? extends TypeName>> typeArgs)
ids - the list of the tokens that compose the type nametypeArgs - the type arguments
java.lang.IllegalArgumentException - if ids is null
public GenericReferenceTypeName(java.util.List<? extends IdentifierToken> ids,
java.util.List<? extends java.util.List<? extends TypeName>> typeArgs,
SourceInfo si)
ids - the list of the tokens that compose the type name
java.lang.IllegalArgumentException - if ids is null| Method Detail |
|---|
public java.util.List<? extends java.util.List<? extends TypeName>> getTypeArguments()
public <T> T acceptVisitor(Visitor<T> visitor)
acceptVisitor in class ReferenceTypeNamevisitor - the visitor to acceptpublic java.lang.String toString()
ReferenceTypeName
toString in class ReferenceTypeNamepublic java.lang.String toStringHelper()
toStringHelper in class ReferenceTypeName
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||