- All Superinterfaces:
Signature,Signature.RefTypeSig
- All Known Implementing Classes:
SignaturesImpl.ArrayTypeSigImpl
- Enclosing interface:
Signature
public static sealed interface Signature.ArrayTypeSig
extends Signature.RefTypeSig
permits SignaturesImpl.ArrayTypeSigImpl
Models the signature of an array type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glavo.classfile.Signature
Signature.ArrayTypeSig, Signature.BaseTypeSig, Signature.ClassTypeSig, Signature.RefTypeSig, Signature.ThrowableSig, Signature.TypeArg, Signature.TypeParam, Signature.TypeVarSig -
Method Summary
Modifier and TypeMethodDescriptionReturns the signature of the component type.static Signature.ArrayTypeSigReturns a signature for an array type.static Signature.ArrayTypeSigReturns a signature for an array type.Methods inherited from interface org.glavo.classfile.Signature
signatureString
-
Method Details
-
componentSignature
Signature componentSignature()Returns the signature of the component type.- Returns:
- the signature of the component type
-
of
Returns a signature for an array type.- Parameters:
componentSignature- the component type- Returns:
- a signature for an array type
-
of
Returns a signature for an array type.- Parameters:
dims- the dimension of the arraycomponentSignature- the component type- Returns:
- a signature for an array type
-