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 ScanResult
scanResult
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
equalsIgnoringTypeParams(TypeSignature other)
Compare base types, ignoring generic type parameters.protected ClassInfo
getClassInfo()
protected String
getClassName()
The name of the class (used bygetClassInfo()
to fetch theClassInfo
object for the class).TypeSignature
getElementTypeSignature()
int
getNumDimensions()
int
hashCode()
String
toString()
-
-
-
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 theClassInfo
object for the class).
-
getClassInfo
protected ClassInfo getClassInfo()
-
equalsIgnoringTypeParams
public boolean equalsIgnoringTypeParams(TypeSignature other)
Description copied from class:TypeSignature
Compare base types, ignoring generic type parameters.- Specified by:
equalsIgnoringTypeParams
in classTypeSignature
- Parameters:
other
- the otherTypeSignature
to compare to.- Returns:
- True if the two
TypeSignature
objects are equal, ignoring type parameters.
-
-