Class ResolvedTypeParameterDeclaration.Bound
- java.lang.Object
-
- com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound
-
- Enclosing interface:
- ResolvedTypeParameterDeclaration
public static class ResolvedTypeParameterDeclaration.Bound extends Object
A Bound on a Type Parameter.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static ResolvedTypeParameterDeclaration.Bound
extendsBound(ResolvedType type)
Create an extends bound with the given type:ResolvedType
getType()
Get the type used in the Bound.int
hashCode()
boolean
isExtends()
Is this an extends bound?boolean
isSuper()
Is this a super bound?static ResolvedTypeParameterDeclaration.Bound
superBound(ResolvedType type)
Create a super bound with the given type:String
toString()
-
-
-
Method Detail
-
extendsBound
public static ResolvedTypeParameterDeclaration.Bound extendsBound(ResolvedType type)
Create an extends bound with the given type:extends "given type"
-
superBound
public static ResolvedTypeParameterDeclaration.Bound superBound(ResolvedType type)
Create a super bound with the given type:super "given type"
-
getType
public ResolvedType getType()
Get the type used in the Bound.
-
isExtends
public boolean isExtends()
Is this an extends bound?
-
isSuper
public boolean isSuper()
Is this a super bound?
-
-