- All Superinterfaces:
Type
- Enclosing interface:
Type
A delegated type is used to model a type which contains an indirection to some other underlying type. For instance,
a delegated type can be used to model foreign pointers, where the indirection is used to model the pointee type.
-
Nested Class Summary
Nested classes/interfaces declared in interface jdk.incubator.jextract.Type
Type.Array, Type.Declared, Type.Delegated, Type.Function, Type.Primitive, Type.Visitor<R,
P> -
Method Summary
Methods declared in interface jdk.incubator.jextract.Type
accept, equals, hashCode, isErroneous
-
Method Details
-
kind
Type.Delegated.Kind kind()The delegated type kind.- Returns:
- The delegated type kind.
-
name
The delegated type (optional) name.- Implementation Requirements:
- an element count is present if the array type kind is one of
Type.Delegated.Kind.TYPEDEF
. - Returns:
- The delegated type (optional) name.
-
type
Type type()The delegated type underlying type.- Returns:
- The delegated type underlying type.
-