Package io.github.fastclasspathscanner
Class TypeArgument
- java.lang.Object
-
- io.github.fastclasspathscanner.HierarchicalTypeSignature
-
- io.github.fastclasspathscanner.TypeArgument
-
public class TypeArgument extends HierarchicalTypeSignature
A type argument.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TypeArgument.Wildcard
A type wildcard.
-
Field Summary
Fields Modifier and Type Field Description protected ScanResult
scanResult
-
Constructor Summary
Constructors Constructor Description TypeArgument(TypeArgument.Wildcard wildcard, ReferenceTypeSignature typeSignature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
protected ClassInfo
getClassInfo()
protected String
getClassName()
void
getClassNamesFromTypeDescriptors(Set<String> classNameListOut)
ReferenceTypeSignature
getTypeSignature()
Get the type signature associated with the wildcard (or null, if the wildcard is ANY).TypeArgument.Wildcard
getWildcard()
Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}.int
hashCode()
String
toString()
-
-
-
Field Detail
-
scanResult
protected transient ScanResult scanResult
-
-
Constructor Detail
-
TypeArgument
public TypeArgument(TypeArgument.Wildcard wildcard, ReferenceTypeSignature typeSignature)
- Parameters:
wildcard
- The wildcard typetypeSignature
- The type signature
-
-
Method Detail
-
getWildcard
public TypeArgument.Wildcard getWildcard()
Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}.- Returns:
- The type wildcard.
-
getTypeSignature
public ReferenceTypeSignature getTypeSignature()
Get the type signature associated with the wildcard (or null, if the wildcard is ANY).- Returns:
- The type signature.
-
getClassNamesFromTypeDescriptors
public void getClassNamesFromTypeDescriptors(Set<String> classNameListOut)
-
getClassName
protected String getClassName()
-
getClassInfo
protected ClassInfo getClassInfo()
-
-