Interface Signature.TypeVarSig
- All Superinterfaces:
SignaturePREVIEW
,Signature.RefTypeSigPREVIEW
,Signature.ThrowableSigPREVIEW
public static sealed interface Signature.TypeVarSig
extends Signature.RefTypeSigPREVIEW, Signature.ThrowableSigPREVIEW
TypeVarSig
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 a type variable.
- 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 name of the type variable.static Signature.TypeVarSigPREVIEW
Returns a signature for a type variable.Methods declared in interface java.lang.classfile.SignaturePREVIEW
signatureString
-
Method Details
-
identifier
-
of
Returns a signature for a type variable.- Parameters:
identifier
- the name of the type variable- Returns:
- a signature for a type variable
-
TypeVarSig
when preview features are enabled.