Package io.github.classgraph
Class TypeParameter
- java.lang.Object
-
- io.github.classgraph.HierarchicalTypeSignature
-
- io.github.classgraph.TypeParameter
-
public class TypeParameter extends HierarchicalTypeSignature
A type parameter.
-
-
Field Summary
Fields Modifier and Type Field Description protected ScanResultscanResult
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ReferenceTypeSignaturegetClassBound()Get the type parameter class bound.protected ClassInfogetClassInfo()protected StringgetClassName()The name of the class (used bygetClassInfo()to fetch theClassInfoobject for the class).List<ReferenceTypeSignature>getInterfaceBounds()Get the type parameter interface bound(s).StringgetName()Get the type parameter identifier.inthashCode()StringtoString()
-
-
-
Field Detail
-
scanResult
protected transient ScanResult scanResult
-
-
Method Detail
-
getName
public String getName()
Get the type parameter identifier.- Returns:
- The type parameter identifier.
-
getClassBound
public ReferenceTypeSignature getClassBound()
Get the type parameter class bound.- Returns:
- The type parameter class bound. May be null.
-
getInterfaceBounds
public List<ReferenceTypeSignature> getInterfaceBounds()
Get the type parameter interface bound(s).- Returns:
- Get the type parameter interface bound(s), which may be the empty list.
-
getClassName
protected String getClassName()
The name of the class (used bygetClassInfo()to fetch theClassInfoobject for the class).- Returns:
- The class name.
-
getClassInfo
protected ClassInfo getClassInfo()
-
-