Interface Signature
- All Known Subinterfaces:
Signature.ArrayTypeSigPREVIEW
,Signature.BaseTypeSigPREVIEW
,Signature.ClassTypeSigPREVIEW
,Signature.RefTypeSigPREVIEW
,Signature.ThrowableSigPREVIEW
,Signature.TypeVarSigPREVIEW
public sealed interface Signature
permits Signature.BaseTypeSigPREVIEW, Signature.RefTypeSigPREVIEW, Signature.ThrowableSigPREVIEW
Signature
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 generic Java type signatures, as defined in 4.7.9.1.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Preview.Models the signature of an array type.static interface
Preview.Models the signature of a primitive type or voidstatic interface
Preview.Models the signature of a possibly-parameterized class or interface type.static interface
Preview.Models the signature of a reference type, which may be a class, interface, type variable, or array type.static interface
Preview.Models a signature for a throwable type.static interface
Preview.Models the type argument.static interface
Preview.Models a signature for a type parameter of a generic class or method.static interface
Preview.Models the signature of a type variable. -
Method Summary
-
Method Details
-
signatureString
-
parseFrom
-
of
-
Signature
when preview features are enabled.