Package io.github.fastclasspathscanner
Class TypeParameter
- java.lang.Object
-
- io.github.fastclasspathscanner.HierarchicalTypeSignature
-
- io.github.fastclasspathscanner.TypeParameter
-
public class TypeParameter extends HierarchicalTypeSignature
A type parameter.
-
-
Field Summary
Fields Modifier and Type Field Description protected ScanResultscanResult
-
Constructor Summary
Constructors Constructor Description TypeParameter(String identifier, ReferenceTypeSignature classBound, List<ReferenceTypeSignature> interfaceBounds)
-
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()voidgetClassNamesFromTypeDescriptors(Set<String> classNameListOut)StringgetIdentifier()Get the type parameter identifier.List<ReferenceTypeSignature>getInterfaceBounds()Get the type parameter interface bound(s).inthashCode()StringtoString()
-
-
-
Field Detail
-
scanResult
protected transient ScanResult scanResult
-
-
Constructor Detail
-
TypeParameter
public TypeParameter(String identifier, ReferenceTypeSignature classBound, List<ReferenceTypeSignature> interfaceBounds)
- Parameters:
identifier- The type parameter identifier.classBound- The type parameter class bound.interfaceBounds- The type parameter interface bound.
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
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.
-
getClassNamesFromTypeDescriptors
public void getClassNamesFromTypeDescriptors(Set<String> classNameListOut)
-
getClassName
protected String getClassName()
-
getClassInfo
protected ClassInfo getClassInfo()
-
-