Skip to content

Package dev.gecode.iris.build

Javadoc 27 generates this reference during each site build from the exported packages and the annotation processor. The Java guide shows the API in use.

@NullMarked package dev.gecode.iris.build
Builds Iris reader specs from Java code, with typed handles to read the data.

Iris holds the statements, handle factories, types, patterns and expression functions; import its members statically. A handle such as int2("machine") is an IntField, which is both an expression in the spec and a Field that Data.get(Field) reads with its Java type.

The builder emits Iris text and parses it with Spec.parse(String, String), so a built spec reads exactly as its text does. Builder.source() gives that text. A mistake throws BuildException, whose call site is the line of the caller's code that made the statement.