Interface Signature.TypeArg.Bounded
- All Superinterfaces:
Signature.TypeArg
- Enclosing interface:
Signature.TypeArg
public static sealed interface Signature.TypeArg.Bounded extends Signature.TypeArg
Models a type argument with an explicit bound type.
- See Java Language Specification:
- 4.5.1 Type Arguments of Parameterized Types
- See Java Virtual Machine Specification:
- 4.7.9.1 Signatures
- Since:
- 24
Nested Class Summary
| Modifier and Type | Interface | Description |
|---|---|---|
static enum |
Signature.TypeArg.Bounded.WildcardIndicator |
Models a type argument's wildcard indicator. |
Nested classes/interfaces declared in interface Signature.TypeArg
Signature.TypeArg.Bounded, Signature.TypeArg.Unbounded
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
Signature.RefTypeSig |
boundType() |
Returns the signature of the type bound. |
Signature.TypeArg.Bounded.WildcardIndicator |
wildcardIndicator() |
Returns the kind of wildcard. |
Method Details
wildcardIndicator
Signature.TypeArg.Bounded.WildcardIndicator wildcardIndicator()
Returns the kind of wildcard.
- Returns:
- the kind of wildcard
boundType
Signature.RefTypeSig boundType()
Returns the signature of the type bound.
- Returns:
- the signature of the type bound
© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/classfile/Signature.TypeArg.Bounded.html