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 booleanequals(Object o)static ResolvedTypeParameterDeclaration.BoundextendsBound(ResolvedType type)Create an extends bound with the given type:ResolvedTypegetType()Get the type used in the Bound.inthashCode()booleanisExtends()Is this an extends bound?booleanisSuper()Is this a super bound?static ResolvedTypeParameterDeclaration.BoundsuperBound(ResolvedType type)Create a super bound with the given type:StringtoString()
-
-
-
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?
-
-