Package io.github.classgraph
Class TypeParameter
java.lang.Object
io.github.classgraph.HierarchicalTypeSignature
io.github.classgraph.TypeParameter
public final class TypeParameter extends HierarchicalTypeSignature
A type parameter.
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
ReferenceTypeSignature
getClassBound()
Get the type parameter class bound.List<ReferenceTypeSignature>
getInterfaceBounds()
Get the type parameter interface bound(s).String
getName()
Get the type parameter identifier.int
hashCode()
String
toString()
-
Method Details
-
getName
Get the type parameter identifier.- Returns:
- The type parameter identifier.
-
getClassBound
Get the type parameter class bound.- Returns:
- The type parameter class bound. May be null.
-
getInterfaceBounds
Get the type parameter interface bound(s).- Returns:
- Get the type parameter interface bound(s), which may be the empty list.
-
hashCode
public int hashCode() -
equals
-
toString
-