package bluej.debugger.gentype;
| "? super ..." type.
|*
* @author Davin McCall
*/
public class GenTypeSuper extends GenTypeWildcard{
/**
* Construct a "? super ..." type without specifying the lower bound
* at this time. Use "setLowerBound()" to set the lower bound before
* using the resulting type.
*/
public GenTypeSuper()
{
super((GenTypeSolid) null, (GenTypeSolid) null);
}
/**
* Construct a "? super ..." type with the specified lower bound.
*/
public GenTypeSuper(GenTypeSolid baseType)
{
super(null, baseType);
}
/*
* @see bluej.debugger.gentype.GenTypeParameter#toString(boolean)
@Override
public String toString(boolean stripPrefix)
{
return "? super " + lowerBound.toString(stripPrefix);
}
|
| @see bluej.debugger.gentype.GenTypeWildcard#toString(bluej.debugger.gentype.NameTransform)
|
@Override
public String toString(NameTransform nt)
{
return "? super " + lowerBound.toString(nt);
}
}
. toString
. toString
22 neLoCode
+ 3 LoComm