Package io.github.classgraph
Class ArrayTypeSignature
- java.lang.Object
-
- io.github.classgraph.HierarchicalTypeSignature
-
- io.github.classgraph.TypeSignature
-
- io.github.classgraph.ReferenceTypeSignature
-
- io.github.classgraph.ArrayTypeSignature
-
public class ArrayTypeSignature extends ReferenceTypeSignature
An array type signature.
-
-
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)booleanequalsIgnoringTypeParams(TypeSignature other)Compare base types, ignoring generic type parameters.protected ClassInfogetClassInfo()protected StringgetClassName()The name of the class (used bygetClassInfo()to fetch theClassInfoobject for the class).TypeSignaturegetElementTypeSignature()intgetNumDimensions()inthashCode()StringtoString()
-
-
-
Field Detail
-
scanResult
protected transient ScanResult scanResult
-
-
Method Detail
-
getElementTypeSignature
public TypeSignature getElementTypeSignature()
- Returns:
- The type signature of the array elements.
-
getNumDimensions
public int getNumDimensions()
- Returns:
- The number of dimensions of the array.
-
getClassName
protected String getClassName()
The name of the class (used bygetClassInfo()to fetch theClassInfoobject for the class).
-
getClassInfo
protected ClassInfo getClassInfo()
-
equalsIgnoringTypeParams
public boolean equalsIgnoringTypeParams(TypeSignature other)
Description copied from class:TypeSignatureCompare base types, ignoring generic type parameters.- Specified by:
equalsIgnoringTypeParamsin classTypeSignature- Parameters:
other- the otherTypeSignatureto compare to.- Returns:
- True if the two
TypeSignatureobjects are equal, ignoring type parameters.
-
-