- All Superinterfaces:
Declaration
- Enclosing interface:
Declaration
A variable declaration.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The variable declaration kind.Nested classes/interfaces declared in interface jdk.incubator.jextract.Declaration
Declaration.Constant, Declaration.Function, Declaration.Scoped, Declaration.Typedef, Declaration.Variable, Declaration.Visitor<R,
P> -
Method Summary
Methods declared in interface jdk.incubator.jextract.Declaration
accept, attributeNames, equals, getAttribute, hashCode, name, pos, stripAttributes, withAttribute
-
Method Details
-
type
Type type()The type associated with this variable declaration.- Returns:
- The type associated with this variable declaration.
-
layout
Optional<MemoryLayout> layout()The optional layout associated with this variable declaration.- Returns:
- The optional layout associated with this variable declaration.
-
kind
Declaration.Variable.Kind kind()The kind associated with this variable declaration.- Returns:
- The kind associated with this variable declaration.
-