public static class TypeParameterDeclaration.Bound
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static TypeParameterDeclaration.Bound |
extendsBound(Type type)
Create an extends bound with the given type:
|
Type |
getType()
Get the type used in the Bound.
|
boolean |
isExtends()
Is this an extends bound?
|
boolean |
isSuper()
Is this a super bound?
|
static TypeParameterDeclaration.Bound |
superBound(Type type)
Create a super bound with the given type:
|
public static TypeParameterDeclaration.Bound extendsBound(Type type)
extends "given type"
public static TypeParameterDeclaration.Bound superBound(Type type)
super "given type"
public Type getType()
public boolean isExtends()
public boolean isSuper()