Class ResolvedTypeParameterDeclaration.Bound
java.lang.Object
com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound
- Enclosing interface:
- ResolvedTypeParameterDeclaration
A Bound on a Type Parameter.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
extendsBound(ResolvedType type)
Create an extends bound with the given type:getType()
Get the type used in the Bound.int
hashCode()
boolean
Is this an extends bound?boolean
isSuper()
Is this a super bound?superBound(ResolvedType type)
Create a super bound with the given type:toString()
-
Method Details
-
extendsBound
Create an extends bound with the given type:extends "given type"
-
superBound
Create a super bound with the given type:super "given type"
-
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? -
toString
-
equals
-
hashCode
public int hashCode()
-