public final class BoundedTypeDefVariable extends Object implements TypeDefVariable
Represents a type definition variable which, besides a name, specifies a series of bounds with an extends expression.
A variable can specify several bounds with "&": X extends [bound]&[bound]&[bound]....
Bounds for a bounded type definition variable are represented by objects of type
InnerTypeDefVariable
returned by getBounds()
.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
InnerTypeDefVariable[] |
getBounds()
Returns the bounds specified for the type definition variable.
|
String |
getVariableName()
Returns the variable name.
|
int |
hashCode() |
String |
toString() |
public String getVariableName()
TypeDefVariable
getVariableName
in interface TypeDefVariable
public InnerTypeDefVariable[] getBounds()
Returns the bounds specified for the type definition variable.
Copyright © 2016 The JAVARUNTYPE team. All Rights Reserved.