Uses of Interface
jdk.incubator.jextract.Type
-
Uses of Type in jdk.incubator.jextract
Modifier and TypeInterfaceDescriptionstatic interface
An array type.static interface
Instances of this class are used to model types which are associated to a declaration in the foreign language (seeDeclaration
).static interface
A delegated type is used to model a type which contains an indirection to some other underlying type.static interface
A function type.static interface
A primitive type.Modifier and TypeMethodDescriptionType.Array.elementType()
The array type element type.static Type
Type.error()
Creates an erroneous type.Type.Function.returnType()
The function return type.Declaration.Constant.type()
The type associated with this constant declaration.Declaration.Typedef.type()
The canonical type associated with this typedef declaration.Declaration.Variable.type()
The type associated with this variable declaration.Type.Delegated.type()
The delegated type underlying type.Modifier and TypeMethodDescriptionType.Function.argumentTypes()
The function formal parameter types.Modifier and TypeMethodDescriptionstatic Type.Array
Creates a new array type with given element count and element type.static Type.Array
Creates a new array type with given element type.static Declaration.Variable
Declaration.bitfield
(Position pos, String name, Type type, MemoryLayout layout) Creates a new bitfield declaration with given name, type and layout.static Declaration.Constant
Creates a new constant declaration with given name and type.static Declaration.Variable
Creates a new field declaration with given name and type.static Type.Function
Creates a new function type with given parameter types and return type.static Declaration.Variable
Declaration.globalVariable
(Position pos, String name, Type type) Creates a new global variable declaration with given name and type.static Optional<MemoryLayout>
Compute the layout for a given type.static Declaration.Variable
Creates a new parameter declaration with given name and type.static Type.Delegated
Creates a new pointer type with given pointee type.static Type.Delegated
Type.qualified
(Type.Delegated.Kind kind, Type type) Creates a new qualified type given kind and underlying type.static Declaration.Typedef
Creates a new typedef declaration with given name and declared type.static Type.Delegated
Creates a new typedef type given name and underlying type.static Type.Array
Creates a new vector type with given element count and element type.default R
Visit a type.Modifier and TypeMethodDescriptionstatic Type.Delegated
Creates a new pointer type with given pointee type.