public final class InnerWildcardTypeDefVariable extends Object implements InnerTypeDefVariable
Represents an inner type definition variable containing a wildcard or bounded wildcard type.
For example: X extends List<? extends Integer>.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
InnerTypeDefVariable |
getLowerBound()
Returns the variable upper bound (defined with an extends clause), if any.
|
InnerTypeDefVariable |
getUpperBound()
Returns the variable upper bound (defined with an extends clause), if any.
|
int |
hashCode() |
boolean |
hasLowerBound()
Returns whether the variable establishes a lower bound (with a super clause).
|
boolean |
hasUpperBound()
Returns whether the variable establishes an upper bound (with an extends clause).
|
boolean |
isUnbound()
Returns true only if there is neither an upper nor a lower bound, false otherwise.
|
String |
toString() |
public boolean hasUpperBound()
Returns whether the variable establishes an upper bound (with an extends clause).
public InnerTypeDefVariable getUpperBound()
Returns the variable upper bound (defined with an extends clause), if any.
public boolean hasLowerBound()
Returns whether the variable establishes a lower bound (with a super clause).
public InnerTypeDefVariable getLowerBound()
Returns the variable upper bound (defined with an extends clause), if any.
public boolean isUnbound()
Returns true only if there is neither an upper nor a lower bound, false otherwise.
Copyright © 2016 The JAVARUNTYPE team. All Rights Reserved.