net.sf.rej.java.attribute.generics
Class BoundTypeArgument

java.lang.Object
  extended by net.sf.rej.java.attribute.generics.BoundTypeArgument
All Implemented Interfaces:
TypeArgument

public class BoundTypeArgument
extends java.lang.Object
implements TypeArgument

A TypeArgument that is bound to a reference type. It is either upper bound or lower bound.

Author:
Sami Koivu

Nested Class Summary
static class BoundTypeArgument.Bound
           
 
Constructor Summary
BoundTypeArgument(GenericJavaType type, BoundTypeArgument.Bound bound)
           
BoundTypeArgument(GenericJavaType type, char bound)
           
 
Method Summary
 GenericJavaType getBound()
           
 java.lang.String getBoundString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoundTypeArgument

public BoundTypeArgument(GenericJavaType type,
                         BoundTypeArgument.Bound bound)

BoundTypeArgument

public BoundTypeArgument(GenericJavaType type,
                         char bound)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBoundString

public java.lang.String getBoundString()

getBound

public GenericJavaType getBound()