koala.dynamicjava.tree.tiger
Class TypeParameter

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.TypeName
          extended by koala.dynamicjava.tree.ReferenceTypeName
              extended by koala.dynamicjava.tree.tiger.TypeParameter
All Implemented Interfaces:
SourceInfo.Wrapper

public class TypeParameter
extends ReferenceTypeName

Class TypeParameter, a component of the DynamicJava composite hierarchy. Note: null is not allowed as a value for any field.


Constructor Summary
TypeParameter(java.util.List<IdentifierToken> ids, ReferenceTypeName in_bound, java.util.List<ReferenceTypeName> in_interfaceBounds, SourceInfo in_sourceInfo)
          Constructs a TypeParameter.
 
Method Summary
 ReferenceTypeName getBound()
           
 java.util.List<ReferenceTypeName> getInterfaceBounds()
           
 java.lang.String getName()
           
 java.lang.String toString()
          Implementation of toString for use in unit testing
protected  java.lang.String toStringHelper()
           
 
Methods inherited from class koala.dynamicjava.tree.ReferenceTypeName
acceptVisitor, 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

TypeParameter

public TypeParameter(java.util.List<IdentifierToken> ids,
                     ReferenceTypeName in_bound,
                     java.util.List<ReferenceTypeName> in_interfaceBounds,
                     SourceInfo in_sourceInfo)
Constructs a TypeParameter.

Method Detail

getBound

public ReferenceTypeName getBound()

getInterfaceBounds

public java.util.List<ReferenceTypeName> getInterfaceBounds()

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Description copied from class: ReferenceTypeName
Implementation of toString for use in unit testing

Overrides:
toString in class ReferenceTypeName

toStringHelper

protected java.lang.String toStringHelper()
Overrides:
toStringHelper in class ReferenceTypeName