net.sf.rej.java.attribute.generics
Class BoundTypeArgument
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BoundTypeArgument
public BoundTypeArgument(GenericJavaType type,
BoundTypeArgument.Bound bound)
BoundTypeArgument
public BoundTypeArgument(GenericJavaType type,
char bound)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getBoundString
public java.lang.String getBoundString()
getBound
public GenericJavaType getBound()