Interface Signature.ArrayTypeSig
- All Superinterfaces:
SignaturePREVIEW
,Signature.RefTypeSigPREVIEW
ArrayTypeSig
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models the signature of an array type.
- Since:
- 22
-
Nested Class Summary
Nested classes/interfaces declared in interface java.lang.classfile.SignaturePREVIEW
Signature.ArrayTypeSigPREVIEW, Signature.BaseTypeSigPREVIEW, Signature.ClassTypeSigPREVIEW, Signature.RefTypeSigPREVIEW, Signature.ThrowableSigPREVIEW, Signature.TypeArgPREVIEW, Signature.TypeParamPREVIEW, Signature.TypeVarSigPREVIEW
-
Method Summary
Modifier and TypeMethodDescriptionReturns the signature of the component type.Returns a signature for an array type.Returns a signature for an array type.Methods declared in interface java.lang.classfile.SignaturePREVIEW
signatureString
-
Method Details
-
componentSignature
-
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
-
ArrayTypeSig
when preview features are enabled.