Interface Signature.TypeArg.Bounded
- All Superinterfaces:
Signature.TypeArgPREVIEW
- Enclosing interface:
Signature.TypeArgPREVIEW
Bounded
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 a type argument with an explicit bound type.
- Since:
- 23
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Preview.Models a type argument's wildcard indicator.Nested classes/interfaces declared in interface java.lang.classfile.Signature.TypeArgPREVIEW
Signature.TypeArg.BoundedPREVIEW, Signature.TypeArg.UnboundedPREVIEW
-
Method Summary
Modifier and TypeMethodDescriptionReturns the signature of the type bound.Returns the kind of wildcard.
-
Method Details
-
wildcardIndicator
Signature.TypeArg.Bounded.WildcardIndicatorPREVIEW wildcardIndicator()Returns the kind of wildcard.- Returns:
- the kind of wildcard
-
boundType
Signature.RefTypeSigPREVIEW boundType()Returns the signature of the type bound.- Returns:
- the signature of the type bound
-
Bounded
when preview features are enabled.