Index
All Classes and Interfaces|All Packages|Serialized Form
A
- abstractMethods(TypeElement) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the abstract methods a type leaves to its implementations: the abstract ones among its methods.
- add(ClassName, ClassName, Element...) - Method in class be.imgn.gaia.processing.ServiceFiles
-
Registers an implementation of a service, to list in the service's file when the files are written.
- add(CodeBlock) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Adds a code block.
- add(String, Object...) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Adds code.
- addAnnotation(Annotation) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Adds a declaration annotation.
- addAnnotation(Annotation) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds an annotation.
- addAnnotation(Annotation) - Method in class be.imgn.gaia.processing.source.Parameter.Builder
-
Adds a declaration annotation.
- addAnnotation(Annotation) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds an annotation.
- addAnnotation(ClassName) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Adds an annotation without members.
- addAnnotation(ClassName) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds an annotation without members.
- addAnnotation(ClassName) - Method in class be.imgn.gaia.processing.source.Parameter.Builder
-
Adds a declaration annotation without members.
- addAnnotation(ClassName) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds an annotation without members.
- addAnnotation(Class) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Adds a declaration annotation without members.
- addAnnotation(Class) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds an annotation without members.
- addAnnotation(Class) - Method in class be.imgn.gaia.processing.source.Parameter.Builder
-
Adds a declaration annotation without members.
- addAnnotation(Class) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds an annotation without members.
- addAnnotations(Iterable) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Adds annotations.
- addAnnotations(Iterable) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds annotations.
- addAnnotations(Iterable) - Method in class be.imgn.gaia.processing.source.Parameter.Builder
-
Adds declaration annotations.
- addAnnotations(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds annotations.
- addCode(CodeBlock) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds code to the body.
- addCode(String, Object...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds code to the body.
- addComment(String) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Adds a line comment.
- addComment(String) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds a line comment to the body.
- addEnumConstant(String) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a constant to an enum.
- addEnumConstant(String, Type) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a constant to an enum, with constructor arguments or a body: the arguments and members of an anonymous class.
- addException(TypeName) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds an exception to the
throwsclause, unless it is there already. - addException(Class) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds an exception to the
throwsclause. - addExceptions(Iterable) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds exceptions to the
throwsclause, except those there already. - addField(Field) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a field.
- addField(TypeName, String, Modifier...) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a field without initializer.
- addField(Class, String, Modifier...) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a field without initializer.
- addFields(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds fields.
- addFileComment(String, Object...) - Method in class be.imgn.gaia.processing.source.JavaFile.Builder
-
Adds text to the comment at the top of the file, written as
//lines. - addInitializerBlock(CodeBlock) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds code to the instance initializer.
- addJavadoc(String, Object...) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Adds Javadoc text.
- addJavadoc(String, Object...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds Javadoc text.
- addJavadoc(String, Object...) - Method in class be.imgn.gaia.processing.source.Parameter.Builder
-
Adds Javadoc text, written as an
@paramtag in the Javadoc of the method or record. - addJavadoc(String, Object...) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds Javadoc text.
- addMember(String, CodeBlock) - Method in class be.imgn.gaia.processing.source.Annotation.Builder
-
Adds a value to a member.
- addMember(String, String, Object...) - Method in class be.imgn.gaia.processing.source.Annotation.Builder
-
Adds a value to a member.
- addMethod(Method) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a method or constructor.
- addMethods(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds methods and constructors.
- addModifiers(Iterable) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds modifiers.
- addModifiers(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds modifiers.
- addModifiers(Modifier...) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Adds modifiers.
- addModifiers(Modifier...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds modifiers.
- addModifiers(Modifier...) - Method in class be.imgn.gaia.processing.source.Parameter.Builder
-
Adds modifiers.
- addModifiers(Modifier...) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds modifiers, such as
public,sealedornon-sealed. - addNamed(String, Map) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Adds code whose placeholders name their arguments, as in
$type:Tor$count:L. - addNamedCode(String, Map) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds code whose placeholders name their arguments; see
CodeBlock.Builder.addNamed(String, Map). - addParameter(Parameter) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds a parameter.
- addParameter(TypeName, String, Modifier...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds a parameter.
- addParameter(Class, String, Modifier...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds a parameter.
- addParameters(Iterable) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds parameters.
- addPermittedSubclass(TypeName) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a subclass this sealed type permits.
- addPermittedSubclasses(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds subclasses this sealed type permits.
- addRecordComponent(Parameter) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a component to a record.
- addRecordComponent(TypeName, String) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a component to a record.
- addRecordComponent(Class, String) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a component to a record.
- addRecordComponents(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds components to a record.
- addStatement(CodeBlock) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Adds a statement: the code block, a semicolon and a new line.
- addStatement(CodeBlock) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds a statement to the body: the code, a semicolon and a new line.
- addStatement(String, Object...) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Adds a statement: the code, a semicolon and a new line.
- addStatement(String, Object...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds a statement to the body: the code, a semicolon and a new line.
- addStaticBlock(CodeBlock) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds code to the static initializer.
- addStaticImport(ClassName, String...) - Method in class be.imgn.gaia.processing.source.JavaFile.Builder
-
Imports static members of a type, so that code can name them without their type.
- addStaticImport(Class, String...) - Method in class be.imgn.gaia.processing.source.JavaFile.Builder
-
Imports static members of a class, so that code can name them without their class.
- addStaticImport(Enum) - Method in class be.imgn.gaia.processing.source.JavaFile.Builder
-
Imports an enum constant, so that code can name it without its enum.
- addSuperinterface(TypeName) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds an interface this type implements, or extends for an interface.
- addSuperinterface(Class) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds an interface this type implements, or extends for an interface, and qualifies the names of the member types it brings.
- addSuperinterface(TypeMirror) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds an interface this type implements, or extends for an interface, and qualifies the names of the member types it brings.
- addSuperinterfaces(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds interfaces this type implements, or extends for an interface.
- addType(Type) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a nested type.
- addTypes(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds nested types.
- addTypeVariable(TypeVariableName) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Declares a type variable, such as
Tin<T> T first(List<T> list). - addTypeVariable(TypeVariableName) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Declares a type variable, such as
Tinclass Box<T>. - addTypeVariables(Iterable) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Declares type variables.
- addTypeVariables(Iterable) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Declares type variables.
- advance(Duration) - Method in class be.imgn.gaia.core.testing.FakeTicker
-
Moves this ticker forward.
- all() - Method in class be.imgn.gaia.processing.AnnotatedElements
-
Returns every element, whatever its annotation, each once.
- alwaysQualifiedNames() - Method in class be.imgn.gaia.processing.source.JavaFile
-
Returns the simple names whose types are always written qualified in this file.
- alwaysQualifiedNames() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the simple names that are written qualified wherever they would refer to another type than the one meant, such as the names of the member types this type inherits.
- alwaysQualify(String...) - Method in class be.imgn.gaia.processing.source.JavaFile.Builder
-
Writes the types of these simple names qualified, wherever they are referred to in the file: for names that a type outside the file, such as one in the same package, hides.
- alwaysQualify(String...) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Writes the types of these simple names qualified, wherever they are referred to in this type.
- annotated(Annotation...) - Method in record class be.imgn.gaia.processing.source.ArrayTypeName
- annotated(Annotation...) - Method in record class be.imgn.gaia.processing.source.ClassName
- annotated(Annotation...) - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
- annotated(Annotation...) - Method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
- annotated(Annotation...) - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns this name with more type annotations.
- annotated(Annotation...) - Method in record class be.imgn.gaia.processing.source.TypeVariableName
- annotated(Annotation...) - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
- annotated(List) - Method in record class be.imgn.gaia.processing.source.ArrayTypeName
- annotated(List) - Method in record class be.imgn.gaia.processing.source.ClassName
- annotated(List) - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
- annotated(List) - Method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
- annotated(List) - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns this name with more type annotations.
- annotated(List) - Method in record class be.imgn.gaia.processing.source.TypeVariableName
- annotated(List) - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
- AnnotatedElements - Class in be.imgn.gaia.processing
-
The elements a
Stepgets in a round, by annotation, and by meta-annotation for the step's meta-annotations. - annotatedWith(String) - Method in class be.imgn.gaia.processing.AnnotatedElements
-
Returns the elements annotated with an annotation.
- annotation() - Method in exception class be.imgn.gaia.processing.ProcessingException
-
Returns the annotation of the element the error is about.
- annotation(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the value of an annotation attribute, to read in turn.
- annotation(String) - Method in class be.imgn.gaia.processing.Diagnostics.Report
-
Narrows this report to the annotation of the element of a type.
- annotation(AnnotationMirror) - Method in class be.imgn.gaia.processing.Diagnostics.Report
-
Narrows this report to an annotation of the element.
- annotation(Element, String) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a reader of the annotation of a type written on an element.
- Annotation - Class in be.imgn.gaia.processing.source
-
An annotation to write, such as
@Overrideor@SuppressWarnings({"unchecked", "rawtypes"}). - ANNOTATION - Enum constant in enum class be.imgn.gaia.processing.source.Type.Kind
-
An annotation type.
- Annotation.Builder - Class in be.imgn.gaia.processing.source
-
A builder of
Annotations. - AnnotationReader - Class in be.imgn.gaia.processing
-
Reads the values of an annotation, defaults included, with the types they are declared with.
- annotations() - Method in class be.imgn.gaia.processing.AnnotatedElements
-
Returns the annotations at least one element has: those of the step, and those found by its meta-annotations.
- annotations() - Method in record class be.imgn.gaia.processing.source.ArrayTypeName
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the value of the
annotationsrecord component. - annotations() - Method in class be.imgn.gaia.processing.source.Field
-
Returns the declaration annotations.
- annotations() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the annotations.
- annotations() - Method in class be.imgn.gaia.processing.source.Parameter
-
Returns the declaration annotations.
- annotations() - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
Returns the value of the
annotationsrecord component. - annotations() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the annotations.
- annotations() - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns the type annotations of this name.
- annotations() - Method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns the value of the
annotationsrecord component. - annotations() - Method in interface be.imgn.gaia.processing.Step
-
Returns the annotations this step processes.
- annotations(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the values of an annotation array attribute, to read in turn.
- annotations(Element, String) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns readers of every annotation of a type on an element, whether it is written once, several times, or within its container.
- annotationsAnnotatedWith(Element, String) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns readers of the annotations of an element whose type is annotated with a meta-annotation: with
javax.inject.Qualifier, the JSR-330 qualifiers of the element, such as@Named("primary"). - annotationsMetaAnnotatedWith(Element, String) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns readers of the annotations of an element whose type is annotated with a meta-annotation, directly or through other annotations, at any depth: with
@Component @interface Controllerand@Controller @interface RestController, both@Controllerand@RestControllerare meta-annotated with@Component. - anonymousArguments() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the arguments an anonymous class passes to its superclass constructor.
- ArrayTypeName - Record Class in be.imgn.gaia.processing.source
-
The name of an array type, such as
String[]. - ArrayTypeName(TypeName, List) - Constructor for record class be.imgn.gaia.processing.source.ArrayTypeName
-
Creates the name.
- asDeclared(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as a declared type, if it is one.
- asExecutable(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns an element as a method, a constructor, or a static or instance initializer.
- asModule(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns an element as a module, named or unnamed.
- asPackage(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns an element as a package.
- asRecordComponent(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns an element as a record component.
- assertThat(Compilation) - Static method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Returns assertions on a compilation.
- assertThat(Class) - Static method in class be.imgn.gaia.processing.testing.ProcessorAssert
-
Returns assertions on a processor class.
- asSupertype(TypeMirror, Class) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a supertype of a type, as a class, as that type sees it: the
List.classsupertype ofArrayList<String>isList<String>. - asSupertype(TypeMirror, String) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a supertype of a type, known by name, as that type sees it: see
ProcessingContext.asSupertype(TypeMirror, TypeElement). - asSupertype(TypeMirror, TypeElement) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a supertype of a type as that type sees it, with the type arguments its hierarchy gives it.
- asType(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns an element as a class, interface, enum, record or annotation type.
- asTypeElement(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns the element of a declared type.
- asTypeParameter(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns an element as a type parameter, of a type, a method or a constructor.
- asVariable(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns an element as a variable: a field, an enum constant, a parameter, a local variable, an exception parameter, a resource variable or a binding variable.
- atColumn(long) - Method in class be.imgn.gaia.processing.testing.DiagnosticAssert
-
Verifies that a diagnostic is at a column.
- attribute() - Method in exception class be.imgn.gaia.processing.ProcessingException
-
Returns the attribute of the annotation the error is about.
- attribute(String) - Method in class be.imgn.gaia.processing.Diagnostics.Report
-
Narrows this report to an attribute of the annotation.
- avoidClashesWithNestedClasses(Class) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Qualifies the names of the member types of a class, and of those it inherits, wherever a type of the same simple name is referred to.
- avoidClashesWithNestedClasses(TypeElement) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Qualifies the names of the member types of a type, and of those it inherits, wherever a type of the same simple name is referred to: for a supertype given as a
TypeName, or a type whose members are in scope some other way.
B
- be.imgn.gaia.core - module be.imgn.gaia.core
-
Extensions to the JDK.
- be.imgn.gaia.core.collect - package be.imgn.gaia.core.collect
-
Collections and collection utilities the JDK does not provide.
- be.imgn.gaia.core.system - package be.imgn.gaia.core.system
-
Sources of system properties and environment variables.
- be.imgn.gaia.core.testing - module be.imgn.gaia.core.testing
-
Test helpers for code that uses
be.imgn.gaia.core, such as aFakeTicker. - be.imgn.gaia.core.testing - package be.imgn.gaia.core.testing
-
Test fixtures for
be.imgn.gaia.core. - be.imgn.gaia.core.text - package be.imgn.gaia.core.text
-
Text utilities the JDK does not provide.
- be.imgn.gaia.core.time - package be.imgn.gaia.core.time
-
Measuring time.
- be.imgn.gaia.platform - module be.imgn.gaia.platform
-
A cross-platform API over the host the JVM runs on.
- be.imgn.gaia.platform - package be.imgn.gaia.platform
-
The cross-platform API.
- be.imgn.gaia.platform.testing - module be.imgn.gaia.platform.testing
-
Fakes of the
be.imgn.gaia.platformAPI, such as aFakePlatform. - be.imgn.gaia.platform.testing - package be.imgn.gaia.platform.testing
-
Fakes for
be.imgn.gaia.platform. - be.imgn.gaia.processing - module be.imgn.gaia.processing
-
Helpers for writing annotation processors.
- be.imgn.gaia.processing - package be.imgn.gaia.processing
-
Helpers around
javax.annotation.processingandjavax.lang.model. - be.imgn.gaia.processing.source - package be.imgn.gaia.processing.source
-
A model of the Java source code a processor generates: type names, code blocks, annotations, fields, methods and types, written out as a
JavaFilewhose imports are worked out for it. - be.imgn.gaia.processing.testing - module be.imgn.gaia.processing.testing
- be.imgn.gaia.processing.testing - package be.imgn.gaia.processing.testing
-
Compile sources through an annotation processor and inspect the result.
- beforeAll(ExtensionContext) - Method in class be.imgn.gaia.processing.testing.CompilationExtension
- beginControlFlow(CodeBlock) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Opens a block, such as
if (ready)orfor (String name : names), and indents what follows. - beginControlFlow(CodeBlock) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Opens a block in the body; see
CodeBlock.Builder.beginControlFlow(CodeBlock). - beginControlFlow(String, Object...) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Opens a block, such as
if (ready)orfor (String name : names), and indents what follows. - beginControlFlow(String, Object...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Opens a block in the body; see
CodeBlock.Builder.beginControlFlow(String, Object...). - bestGuess(String) - Static method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a class from its canonical name, guessing where the package ends: at the first name that starts with an upper-case letter, as conventional names do.
- BOOLEAN - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
boolean. - bounds() - Method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns the value of the
boundsrecord component. - box() - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns the boxed type of a primitive type, such as
Integerforint, with the same annotations; any other type unchanged. - build() - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Builds the directories, creating them if this builder was told to.
- build() - Method in class be.imgn.gaia.platform.testing.FakePlatform.Builder
-
Builds the platform.
- build() - Method in class be.imgn.gaia.platform.testing.PlatformPreset.Builder
-
Builds the system properties and environment variables.
- build() - Method in class be.imgn.gaia.processing.source.Annotation.Builder
-
Builds the annotation.
- build() - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Builds the code block.
- build() - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Builds the field.
- build() - Method in class be.imgn.gaia.processing.source.JavaFile.Builder
-
Builds the file.
- build() - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Builds the method.
- build() - Method in class be.imgn.gaia.processing.source.Parameter.Builder
-
Builds the parameter.
- build() - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Builds the type.
- BYTE - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
byte.
C
- cacheHome() - Method in interface be.imgn.gaia.platform.Directories
-
Returns the directory for user-specific non-essential, cached data.
- cacheHome() - Method in class be.imgn.gaia.platform.testing.FakeDirectories
- cacheHome(Path) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets the directory for user-specific cached data.
- canonicalName() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the canonical name of this type.
- CHAR - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
char. - CLASS - Enum constant in enum class be.imgn.gaia.processing.source.Type.Kind
-
A class, anonymous or not.
- className() - Method in class be.imgn.gaia.processing.source.JavaFile
-
Returns the name of the top-level type.
- ClassName - Record Class in be.imgn.gaia.processing.source
-
The name of a class, interface, enum, record or annotation type, possibly nested in others.
- ClassName(String, List, List) - Constructor for record class be.imgn.gaia.processing.source.ClassName
-
Creates the name.
- clear() - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Removes everything added so far.
- code() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the code of the body.
- CodeBlock - Class in be.imgn.gaia.processing.source
-
A fragment of code: statements, an expression, or Javadoc text, with placeholders for the types and names it refers to.
- CodeBlock.Builder - Class in be.imgn.gaia.processing.source
-
A builder of
CodeBlocks. - Compilation - Record Class in be.imgn.gaia.processing.testing
-
The outcome of a
TestCompilerrun: whether it succeeded, every diagnostic, and every generated file. - Compilation(boolean, List, List) - Constructor for record class be.imgn.gaia.processing.testing.Compilation
-
Creates an outcome.
- CompilationAssert - Class in be.imgn.gaia.processing.testing
-
AssertJ assertions on a
Compilation. - CompilationExtension - Class in be.imgn.gaia.processing.testing
- CompilationExtension() - Constructor for class be.imgn.gaia.processing.testing.CompilationExtension
-
Creates the extension; JUnit does, through
@ExtendWith. - compile(List) - Method in class be.imgn.gaia.processing.testing.TestCompiler
-
Compiles
sources. - compile(JavaFileObject...) - Method in class be.imgn.gaia.processing.testing.TestCompiler
-
Compiles
sources. - componentType() - Method in record class be.imgn.gaia.processing.source.ArrayTypeName
-
Returns the value of the
componentTyperecord component. - configDirs() - Method in interface be.imgn.gaia.platform.Directories
-
Returns the system-wide directories to search for configuration files, most important first, after
Directories.configHome(). - configDirs() - Method in class be.imgn.gaia.platform.testing.FakeDirectories
- configDirs(List) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets the system-wide directories to search for configuration files.
- configHome() - Method in interface be.imgn.gaia.platform.Directories
-
Returns the directory for user-specific configuration files.
- configHome() - Method in class be.imgn.gaia.platform.testing.FakeDirectories
- configHome(Path) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets the directory for user-specific configuration files.
- copy() - Method in class be.imgn.gaia.processing.source.NameAllocator
-
Returns an allocator for a nested scope: it knows the names and tags of this one, and the names it hands out are not known to this one.
- createDirectories(boolean) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets whether
FakeDirectories.Builder.build()creates every directory, with its parents, if it does not exist yet. - current() - Static method in interface be.imgn.gaia.platform.Platform
-
Returns the platform of the running JVM: detected from its system properties and environment variables, with the default file system.
D
- dataDirs() - Method in interface be.imgn.gaia.platform.Directories
-
Returns the system-wide directories to search for data files, most important first, after
Directories.dataHome(). - dataDirs() - Method in class be.imgn.gaia.platform.testing.FakeDirectories
- dataDirs(List) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets the system-wide directories to search for data files.
- dataHome() - Method in interface be.imgn.gaia.platform.Directories
-
Returns the directory for user-specific data files.
- dataHome() - Method in class be.imgn.gaia.platform.testing.FakeDirectories
- dataHome(Path) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets the directory for user-specific data files.
- defaultValue() - Method in class be.imgn.gaia.processing.ProcessorOption
-
Returns the value of this option when it is not given.
- defaultValue() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the default value of an annotation type member.
- defaultValue(String, Object...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Sets the default value of an annotation type member.
- detect() - Method in class be.imgn.gaia.platform.Platform.Builder
-
Detects the platform from this builder's sources.
- DiagnosticAssert - Class in be.imgn.gaia.processing.testing
-
AssertJ assertions on the diagnostics of a
Compilationthat matched an earlier assertion, such asCompilationAssert.hadErrorContaining(String). - diagnostics() - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the diagnostics, to report errors, warnings and notes at a precise place.
- diagnostics() - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns the value of the
diagnosticsrecord component. - diagnostics(Diagnostic.Kind) - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns the diagnostics of a kind.
- Diagnostics - Class in be.imgn.gaia.processing
-
Reports errors, warnings and notes at a precise place in the source: an element, one of its annotations, or one attribute of that annotation.
- Diagnostics.Report - Class in be.imgn.gaia.processing
-
A report about an element, possibly narrowed to one of its annotations and one attribute of it.
- directories() - Method in interface be.imgn.gaia.platform.Platform
-
Returns the directories where applications store their files on this platform.
- directories() - Method in class be.imgn.gaia.platform.testing.FakePlatform
- directories(Directories) - Method in class be.imgn.gaia.platform.testing.FakePlatform.Builder
-
Sets the directories of the platform, instead of the default
FakeDirectoriesunder the root. - Directories - Interface in be.imgn.gaia.platform
-
The base directories where applications store their files, as defined by the XDG Base Directory Specification.
- discard(ClassName) - Method in class be.imgn.gaia.processing.ServiceFiles
-
Discards the implementations registered for a service, so that its file is not written: for a processor that finds out, as late as in
Step.processingOver(), that it must not write the file, as when the user wrote one by hand. - DOUBLE - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
double.
E
- effectiveVisibility(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns the visibility an element has, given the types it is declared in: the most restrictive of its own visibility and that of each type, method or other element that encloses it, up to its package.
- elapsed() - Method in class be.imgn.gaia.core.time.Stopwatch
-
Returns the elapsed time: the total time this stopwatch has been running since it was created or last reset.
- element() - Method in exception class be.imgn.gaia.processing.ProcessingException
-
Returns the element the error is about.
- elements() - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the utilities for elements.
- empty() - Static method in class be.imgn.gaia.processing.source.CodeBlock
-
Returns the empty code block.
- enclosing() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the type this type is directly nested in, without annotations.
- enclosingType(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns the type an element is declared in.
- endControlFlow() - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Closes a block.
- endControlFlow() - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Closes a block in the body.
- endControlFlow(CodeBlock) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Closes a block with code after its closing brace, such as
while (more)for adoloop. - endControlFlow(CodeBlock) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Closes a block in the body with code after its closing brace; see
CodeBlock.Builder.endControlFlow(CodeBlock). - endControlFlow(String, Object...) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Closes a block with code after its closing brace, such as
while (more)for adoloop. - endControlFlow(String, Object...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Closes a block in the body with code after its closing brace; see
CodeBlock.Builder.endControlFlow(String, Object...). - ENUM - Enum constant in enum class be.imgn.gaia.processing.source.Type.Kind
-
An enum.
- enumConstant(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the name of the constant of an enum attribute.
- enumConstants() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the constants of an enum, with their arguments and bodies as anonymous classes.
- enumConstants(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the names of the constants of an enum array attribute.
- enumValue(String, Class) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the constant of an enum attribute.
- environment() - Method in class be.imgn.gaia.platform.testing.PlatformPreset
-
Returns the environment variables, to give to
Platform.Builder.environment(Environment). - environment() - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns javac's processing environment.
- environment(Environment) - Method in class be.imgn.gaia.platform.Platform.Builder
-
Sets the environment variables to read.
- Environment - Interface in be.imgn.gaia.core.system
-
A source of environment variables: the running JVM's, or fixed ones for tests.
- environmentVariable(String, String) - Method in class be.imgn.gaia.platform.testing.PlatformPreset.Builder
-
Sets an environment variable, replacing the preset's value if it has one.
- equals(Object) - Method in class be.imgn.gaia.processing.source.Annotation
- equals(Object) - Method in class be.imgn.gaia.processing.source.CodeBlock
- equals(Object) - Method in class be.imgn.gaia.processing.source.Field
- equals(Object) - Method in class be.imgn.gaia.processing.source.JavaFile
- equals(Object) - Method in class be.imgn.gaia.processing.source.Method
- equals(Object) - Method in class be.imgn.gaia.processing.source.Parameter
- equals(Object) - Method in class be.imgn.gaia.processing.source.Type
- equals(Object) - Method in class be.imgn.gaia.processing.TypeKey
- equals(Object) - Method in record class be.imgn.gaia.processing.source.ArrayTypeName
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.processing.source.ClassName
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Indicates whether some other object is "equal to" this one.
- error(ProcessingException) - Method in class be.imgn.gaia.processing.Diagnostics
-
Reports the error an exception carries, with its message, at the place it names: its element, one of its annotations, or one attribute of that annotation.
- error(String) - Method in class be.imgn.gaia.processing.Diagnostics
-
Reports an error about no element in particular, such as an invalid option.
- error(String) - Method in class be.imgn.gaia.processing.Diagnostics.Report
-
Reports an error, which makes the compilation fail.
- errorCount() - Method in class be.imgn.gaia.processing.Diagnostics
-
Returns the number of errors reported so far through these diagnostics.
- errors() - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns the errors.
- exceptions() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the exceptions in the
throwsclause.
F
- failed() - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that javac reported at least one error.
- FakeDirectories - Class in be.imgn.gaia.platform.testing
-
Directoriesunder one root directory, such as a test's temporary directory, so that code under test never touches the real ones. - FakeDirectories.Builder - Class in be.imgn.gaia.platform.testing
-
Builds
FakeDirectories. - FakePlatform - Class in be.imgn.gaia.platform.testing
-
A
Platformwith the operating system of your choice and its directories under a root directory, such as a test's temporary directory. - FakePlatform.Builder - Class in be.imgn.gaia.platform.testing
-
Builds a
FakePlatform. - FakeTicker - Class in be.imgn.gaia.core.testing
-
A
Tickerthat only moves when told to, so that tests of timing code are exact and instant. - FakeTicker() - Constructor for class be.imgn.gaia.core.testing.FakeTicker
-
Creates a ticker that reads zero until advanced.
- Field - Class in be.imgn.gaia.processing.source
-
A field, such as
private static final int LIMIT = 10;. - Field.Builder - Class in be.imgn.gaia.processing.source
-
A builder of
Fields. - fields() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the fields.
- fileEncoding() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the name of the default charset.
- filer() - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the filer, to create source, class and resource files.
- fileSeparator() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the file separator,
"/"on Unix: thefile.separatorproperty. - fileSystem() - Method in interface be.imgn.gaia.platform.Platform
-
Returns the file system of this platform, which all its paths belong to.
- fileSystem() - Method in class be.imgn.gaia.platform.testing.FakePlatform
- fileSystem(FileSystem) - Method in class be.imgn.gaia.platform.Platform.Builder
-
Sets the file system the platform's paths belong to.
- FLOAT - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
float. - forEach(Iterable, Consumer) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Runs an action on each item in turn, typically an element, reporting a
ProcessingExceptionthe action throws for one item as an error, withDiagnostics.error(ProcessingException), and going on with the next item.
G
- generated() - Method in class be.imgn.gaia.processing.SourceScope
-
Returns the
@Generatedannotation to put on the generated type, naming the processor. - generatedFile(JavaFileManager.Location, String) - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns a generated file.
- generatedFile(JavaFileManager.Location, String) - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that a file was generated, and returns assertions on its text, decoded as UTF-8.
- generatedFiles() - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns the value of the
generatedFilesrecord component. - generatedNameWithPrefix(String) - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a top-level type generated for this one, with a prefix: in the same package, named after a prefix, then the simple names from the top-level type to this one, all joined by underscores.
- generatedNameWithSuffix(String) - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a top-level type generated for this one, as processors name the code they generate for a type: in the same package, named after the simple names from the top-level type to this one, then a suffix, all joined by underscores.
- generatedNoSourceFiles() - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that no source file was generated, as when a processor has nothing to do.
- generatedSourceFile(String) - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns the generated source of a type.
- generatedSourceFile(String) - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that the source of a type was generated, and returns assertions on its text.
- generatedSourceFiles() - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns the generated source files.
- GeneratedSources - Class in be.imgn.gaia.processing
-
Writes the Java source files a processor generates, with their package declaration and imports: modelled as a
JavaFile, or written as text. - get(Object) - Method in class be.imgn.gaia.processing.source.NameAllocator
-
Returns the name handed out for a tag.
- get(String) - Method in interface be.imgn.gaia.core.system.Environment
-
Returns the value of a variable.
- get(String) - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the value of a property.
- getSupportedAnnotationTypes() - Method in class be.imgn.gaia.processing.StepProcessor
-
Returns the annotations of the steps; or
*, all annotations, if a step has meta-annotations, since the annotations they annotate are not known in advance. - getSupportedOptions() - Method in class be.imgn.gaia.processing.StepProcessor
- getSupportedSourceVersion() - Method in class be.imgn.gaia.processing.StepProcessor
-
Returns the latest source version, so that the processor never warns about newer sources.
H
- hadErrorContaining(String) - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that the message of an error contains
expected. - hadErrorCount(int) - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that javac reported exactly
expectederrors. - hadNoteContaining(String) - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that the message of a note contains
expected. - hadNoWarnings() - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that javac reported no warning, mandatory or not.
- hadWarningContaining(String) - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that the message of a warning, mandatory or not, contains
expected. - hasErrors() - Method in class be.imgn.gaia.processing.Diagnostics
-
Returns whether any error was reported through these diagnostics.
- hashCode() - Method in class be.imgn.gaia.processing.source.Annotation
- hashCode() - Method in record class be.imgn.gaia.processing.source.ArrayTypeName
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns a hash code value for this object.
- hashCode() - Method in class be.imgn.gaia.processing.source.CodeBlock
- hashCode() - Method in class be.imgn.gaia.processing.source.Field
- hashCode() - Method in class be.imgn.gaia.processing.source.JavaFile
- hashCode() - Method in class be.imgn.gaia.processing.source.Method
- hashCode() - Method in class be.imgn.gaia.processing.source.Parameter
- hashCode() - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
Returns a hash code value for this object.
- hashCode() - Method in class be.imgn.gaia.processing.source.Type
- hashCode() - Method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns a hash code value for this object.
- hashCode() - Method in class be.imgn.gaia.processing.TypeKey
- home() - Method in interface be.imgn.gaia.core.system.Environment
-
Returns the user's home directory: the
HOMEvariable, set on Unix-like systems. - home() - Method in interface be.imgn.gaia.platform.Directories
-
Returns the user's home directory.
- home() - Method in class be.imgn.gaia.platform.testing.FakeDirectories
- home(String) - Method in class be.imgn.gaia.platform.testing.PlatformPreset.Builder
-
Sets the home directory of the user, which the other directories of the user, such as
APPDATAon Windows, are under. - home(Path) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets the user's home directory.
I
- indent() - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Indents the lines that follow.
- indent(String) - Method in class be.imgn.gaia.processing.source.JavaFile.Builder
-
Sets the indentation of one level.
- inFile(String) - Method in class be.imgn.gaia.processing.testing.DiagnosticAssert
-
Verifies that a diagnostic is in a source file, whose name ends with
path. - inheritedAnnotation(TypeElement, String) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a reader of the annotation of a type that a class has, declared on it or inherited from a superclass, as
@Inheritedmakes it present: if the class does not declare one, and the annotation type is@Inherited, the nearest superclass that declares one gives it. - init(ProcessingEnvironment) - Method in class be.imgn.gaia.processing.StepProcessor
- initializer() - Method in class be.imgn.gaia.processing.source.Field
-
Returns the initializer.
- initializer(CodeBlock) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Sets the initializer.
- initializer(String, Object...) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Sets the initializer.
- initializerBlock() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the instance initializer.
- instanceOf(Class) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that keeps the elements that are instances of
type, cast to it: afilter(type::isInstance)and amap(type::cast)in one step, with the right stream type. - INT - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
int. - INTERFACE - Enum constant in enum class be.imgn.gaia.processing.source.Type.Kind
-
An interface.
- isAccessible(Element, String) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether code in a package can access an element, by the rules of JLS 6.6, from a class that does not extend the type that declares the element: generated code, unless it is such a subclass, which
MoreElements.isAccessible(Element, String, TypeElement)checks. - isAccessible(Element, String, TypeElement) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether a class in a package that extends another class can access an element, as JLS 6.6 says: the generated subclass of a processor, for instance.
- isAnnotated() - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns whether this name has type annotations, at the top level.
- isAnnotatedWith(Element, String) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether an element is annotated directly with an annotation.
- isAnonymous() - Method in class be.imgn.gaia.processing.source.Type
-
Returns whether this is an anonymous class.
- isAvailable(ClassName) - Method in class be.imgn.gaia.processing.GeneratedSources
-
Returns whether a type can be generated with a name: no type of the compilation has it, in any module, whether from the sources, the class or module path, the platform, or the files generated in the previous rounds; nor did this object write a file for it, in this round or an earlier one.
- isBoxedPrimitive() - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns whether this is the boxed type of a primitive type, such as
java.lang.Integer;Voidexcluded. - isCompactConstructor() - Method in class be.imgn.gaia.processing.source.Method
-
Returns whether this is the compact constructor of a record.
- isConstructor() - Method in class be.imgn.gaia.processing.source.Method
-
Returns whether this is a constructor, compact or not.
- isEmpty() - Method in class be.imgn.gaia.processing.AnnotatedElements
-
Returns whether there is no element.
- isEmpty() - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Returns whether nothing was added yet.
- isEmpty() - Method in class be.imgn.gaia.processing.source.CodeBlock
-
Returns whether this code block is empty.
- isExplicit(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns whether the annotation gives an attribute a value explicitly, rather than through its default.
- isExportedTo(Element, ModuleElement) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether the module of an element lets code in another module access it: the code's module reads the element's module, and the element's module exports the element's package to it.
- isFromSource(Element) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns whether an element comes from a source file of this compilation, and so is compiled with the code a processor generates, rather than read from a class file compiled before.
- isInnerClass(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether an element is an inner class: a nested class that is neither explicitly nor implicitly static, as JLS 8.1.3 defines it.
- isLinux() - Method in interface be.imgn.gaia.platform.Platform
-
Returns whether this platform runs Linux.
- isLinux() - Method in class be.imgn.gaia.platform.testing.FakePlatform
- isMacOS() - Method in interface be.imgn.gaia.platform.Platform
-
Returns whether this platform runs macOS.
- isMacOS() - Method in class be.imgn.gaia.platform.testing.FakePlatform
- isPrimitive() - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns whether this is a primitive type,
voidexcluded. - isReceiver() - Method in class be.imgn.gaia.processing.source.Parameter
-
Returns whether this is a receiver parameter, named
thisorOuter.this. - isRecord(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether an element is a record.
- isRegistered() - Method in class be.imgn.gaia.processing.testing.ProcessorAssert
-
Verifies that javac can find the processor: that the service loader lists it as a
Processor, throughMETA-INF/services/javax.annotation.processing.Processoron the class path, or throughprovides javax.annotation.processing.Processor with ...in itsmodule-info.javaon the module path. - isRunning() - Method in class be.imgn.gaia.core.time.Stopwatch
-
Returns whether this stopwatch is running.
- isSameType(TypeMirror, TypeMirror) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns whether two types are the same type, ignoring type annotations:
@Nullable Stringis the same type asString, and so areList<@Nullable String>andList<String>,@Nullable TandT, orString @Nullable []andString[], at any depth, wildcard bounds included. - isStaticNested(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether an element is a nested class, interface, enum, record or annotation type that is static, explicitly or implicitly: a nested type that is not an inner class.
- isSubtype(TypeMirror, Class) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns whether a type is a subtype of a class, ignoring type arguments:
ArrayList<String>is a subtype ofList.class. - isSubtype(TypeMirror, String) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns whether a type is a subtype of a type known by name, ignoring type arguments.
- isTopLevel(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether an element is a top-level class, interface, enum, record or annotation type: one declared in a compilation unit, not in another type or in a block.
- isType(TypeMirror, Class) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns whether a type is the type of a class, ignoring type arguments:
List<String>isList.class. - isType(TypeMirror, String) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns whether a type is the declared type of a name, ignoring type arguments.
- isVarargs() - Method in class be.imgn.gaia.processing.source.Method
-
Returns whether the last parameter is variable arity, written
String... names. - isVarargs() - Method in class be.imgn.gaia.processing.source.Type
-
Returns whether the last component of a record is variable arity, written
String... names. - isWindows() - Method in interface be.imgn.gaia.platform.Platform
-
Returns whether this platform runs Windows.
- isWindows() - Method in class be.imgn.gaia.platform.testing.FakePlatform
J
- javac() - Static method in class be.imgn.gaia.processing.testing.TestCompiler
-
Returns a compiler with no annotation processor and no option.
- javaClassPath() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the class path, split on the path separator: the
java.class.pathproperty. - javaClassVersion() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the latest class file format version the Java runtime recognizes, as
MAJOR.MINOR: thejava.class.versionproperty. - javadoc() - Method in class be.imgn.gaia.processing.source.Field
-
Returns the Javadoc.
- javadoc() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the Javadoc.
- javadoc() - Method in class be.imgn.gaia.processing.source.Parameter
-
Returns the Javadoc, written as an
@paramtag in the Javadoc of the method or record. - javadoc() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the Javadoc.
- JavaFile - Class in be.imgn.gaia.processing.source
-
A Java source file: a package, one top-level type, and the imports they need, which are worked out when the file is written.
- JavaFile.Builder - Class in be.imgn.gaia.processing.source
-
A builder of
JavaFiles. - javaHome() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the installation directory of Java: the
java.homeproperty. - javaIoTmpdir() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the default temporary file directory: the
java.io.tmpdirproperty. - javaLibraryPath() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the paths searched when loading libraries, split on the path separator: the
java.library.pathproperty. - javaSpecificationMaintenanceVersion() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the maintenance version of the Java Runtime Environment specification, which is set only after a maintenance release: the
java.specification.maintenance.versionproperty. - javaSpecificationName() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the name of the Java Runtime Environment specification: the
java.specification.nameproperty. - javaSpecificationVendor() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the vendor of the Java Runtime Environment specification: the
java.specification.vendorproperty. - javaSpecificationVersion() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the version of the Java Runtime Environment specification: the feature element of the runtime version, such as
21: thejava.specification.versionproperty. - javaVendor() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the vendor of the Java Runtime Environment: the
java.vendorproperty. - javaVendorUrl() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the URL of the Java vendor: the
java.vendor.urlproperty. - javaVendorVersion() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the version of the Java vendor, which is optional: the
java.vendor.versionproperty. - javaVersion() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the version of the Java Runtime Environment: the
java.versionproperty. - javaVersionDate() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the version date of the Java Runtime Environment: the
java.version.dateproperty. - javaVmName() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the name of the Java Virtual Machine implementation: the
java.vm.nameproperty. - javaVmSpecificationName() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the name of the Java Virtual Machine specification: the
java.vm.specification.nameproperty. - javaVmSpecificationVendor() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the vendor of the Java Virtual Machine specification: the
java.vm.specification.vendorproperty. - javaVmSpecificationVersion() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the version of the Java Virtual Machine specification: the feature element of the runtime version, such as
21: thejava.vm.specification.versionproperty. - javaVmVendor() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the vendor of the Java Virtual Machine implementation: the
java.vm.vendorproperty. - javaVmVersion() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the version of the Java Virtual Machine implementation: the
java.vm.versionproperty. - jdkModuleMain() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the name of the initial (main) module, if the application was launched from a module: the
jdk.module.mainproperty. - jdkModuleMainClass() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the main class of the initial module, if the application was launched from a module: the
jdk.module.main.classproperty. - jdkModulePath() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the application module path, split on the path separator; empty when the application does not use one: the
jdk.module.pathproperty. - jdkModuleUpgradePath() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the upgrade module path, split on the path separator; empty when there is none: the
jdk.module.upgrade.pathproperty. - join(Iterable, String) - Static method in class be.imgn.gaia.processing.source.CodeBlock
-
Joins code blocks with a separator, such as
", ". - joining(String) - Static method in class be.imgn.gaia.processing.source.CodeBlock
-
Returns a collector that joins code blocks with a separator, such as
", ". - joining(String, String, String) - Static method in class be.imgn.gaia.processing.source.CodeBlock
-
Returns a collector that joins code blocks with a separator, between a prefix and a suffix, such as
"("and")".
K
- keyword() - Method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
Returns the value of the
keywordrecord component. - kind() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the kind of type.
L
- limit(int) - Method in class be.imgn.gaia.core.text.Splitter
-
Returns a splitter like this one that stops after
limitparts: the last part holds the rest of the text, separators included. - lineSeparator() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the line separator,
"\n"on Unix: theline.separatorproperty. - LINUX - Enum constant in enum class be.imgn.gaia.platform.testing.OperatingSystem
-
Linux.
- LONG - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
long. - lowerBound() - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns the value of the
lowerBoundrecord component.
M
- MAC_OS - Enum constant in enum class be.imgn.gaia.platform.testing.OperatingSystem
-
macOS.
- members() - Method in class be.imgn.gaia.processing.source.Annotation
-
Returns the members, in the order they were added.
- metaAnnotations() - Method in interface be.imgn.gaia.processing.Step
-
Returns the meta-annotations this step processes: the step also gets the elements annotated with any annotation whose type is annotated with one of them, such as each qualifier for
javax.inject.Qualifier, when the annotations are not known in advance. - Method - Class in be.imgn.gaia.processing.source
-
A method, a constructor, or the compact constructor of a record.
- Method.Builder - Class in be.imgn.gaia.processing.source
-
A builder of
Methods. - methods() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the methods and constructors.
- methods(TypeElement) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the methods of a type as the compiler sees them: those it declares, and those it inherits from its supertypes, as JLS 8.4.8 and 9.4.1 define inheritance.
- mirror() - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the annotation this reader reads.
- modifiers() - Method in class be.imgn.gaia.processing.source.Field
-
Returns the modifiers.
- modifiers() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the modifiers.
- modifiers() - Method in class be.imgn.gaia.processing.source.Parameter
-
Returns the modifiers.
- modifiers() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the modifiers.
- MoreCollectors - Class in be.imgn.gaia.core.collect
-
Collectors that
Collectorsdoes not provide. - MoreElements - Class in be.imgn.gaia.processing
-
Navigation, casts and checks on
Elements thatjavax.lang.modeldoes not provide. - MoreGatherers - Class in be.imgn.gaia.core.collect
-
Gatherers that
Gatherersdoes not provide. - MoreTypes - Class in be.imgn.gaia.processing
-
Checks and conversions on
TypeMirrors thatjavax.lang.modeldoes not provide.
N
- name() - Method in class be.imgn.gaia.processing.ProcessorOption
-
Returns the name of this option.
- name() - Method in class be.imgn.gaia.processing.source.Field
-
Returns the name.
- name() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the name.
- name() - Method in class be.imgn.gaia.processing.source.Parameter
-
Returns the name.
- name() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the simple name.
- name() - Method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns the value of the
namerecord component. - name() - Method in interface be.imgn.gaia.processing.Step
-
Returns the name of this step in the debug output of its
StepProcessor, which-Agaia.debugturns on. - name(Class) - Method in class be.imgn.gaia.processing.SourceScope
-
Returns the name to write for a class, recording the import it needs.
- name(String) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Renames the method, such as a copy made with
Method.toBuilder(). - name(String) - Method in class be.imgn.gaia.processing.SourceScope
-
Returns the name to write for a type known by its canonical name, recording the import it needs.
- name(TypeElement) - Method in class be.imgn.gaia.processing.SourceScope
-
Returns the name to write for a type element, recording the import it needs.
- name(TypeMirror) - Method in class be.imgn.gaia.processing.SourceScope
-
Returns the name to write for a type, with its type arguments, recording the imports it needs.
- NameAllocator - Class in be.imgn.gaia.processing.source
-
Hands out Java identifiers that do not clash: each new name is the suggestion, made a valid identifier, with as many underscores appended as needed to differ from the keywords and the names already handed out.
- NameAllocator() - Constructor for class be.imgn.gaia.processing.source.NameAllocator
-
Creates an allocator that has handed out no name yet.
- nativeEncoding() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the character encoding derived from the host environment and the user's settings: the
native.encodingproperty. - nested(String) - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a type nested in this one.
- nested(String, TypeName...) - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns the name of an inner class of this type, with this type as its owner, such as
Outer<String>.InnerorOuter<String>.Inner<Integer>. - newAnnotationBuilder(ClassName) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of annotation types.
- newAnnotationBuilder(String) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of annotation types.
- newAnonymousClassBuilder(String, Object...) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of anonymous classes, written with
$Lin code, as innew Runnable() { ... }. - newBuilder() - Static method in interface be.imgn.gaia.platform.Platform
-
Returns a builder that detects a platform from the given sources, or from the running JVM's for any source not given.
- newBuilder() - Static method in class be.imgn.gaia.processing.source.CodeBlock
-
Returns a builder of code blocks.
- newBuilder(OperatingSystem) - Static method in class be.imgn.gaia.platform.testing.PlatformPreset
-
Returns a builder of the system properties and environment variables of an operating system.
- newBuilder(OperatingSystem, Path) - Static method in class be.imgn.gaia.platform.testing.FakePlatform
-
Returns a builder of a platform running an operating system, with its directories under a root directory.
- newBuilder(ClassName) - Static method in class be.imgn.gaia.processing.source.Annotation
-
Returns a builder of annotations of a type.
- newBuilder(TypeName, String) - Static method in class be.imgn.gaia.processing.source.Parameter
-
Returns a builder of parameters.
- newBuilder(TypeName, String, Modifier...) - Static method in class be.imgn.gaia.processing.source.Field
-
Returns a builder of fields.
- newBuilder(Class, String) - Static method in class be.imgn.gaia.processing.source.Parameter
-
Returns a builder of parameters.
- newBuilder(Class, String, Modifier...) - Static method in class be.imgn.gaia.processing.source.Field
-
Returns a builder of fields.
- newBuilder(Class) - Static method in class be.imgn.gaia.processing.source.Annotation
-
Returns a builder of annotations of a type.
- newBuilder(String) - Static method in class be.imgn.gaia.processing.source.Method
-
Returns a builder of methods, which return
voidunless told otherwise. - newBuilder(String, Type) - Static method in class be.imgn.gaia.processing.source.JavaFile
-
Returns a builder of files.
- newBuilder(Path) - Static method in class be.imgn.gaia.platform.testing.FakeDirectories
-
Returns a builder of directories under a root directory.
- newClassBuilder(ClassName) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of classes.
- newClassBuilder(String) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of classes.
- newCompactConstructorBuilder() - Static method in class be.imgn.gaia.processing.source.Method
-
Returns a builder of compact constructors, for records: a constructor without parameter list, whose code runs before the components are assigned.
- newConstructorBuilder() - Static method in class be.imgn.gaia.processing.source.Method
-
Returns a builder of constructors.
- newEnumBuilder(ClassName) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of enums.
- newEnumBuilder(String) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of enums.
- newInterfaceBuilder(ClassName) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of interfaces.
- newInterfaceBuilder(String) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of interfaces.
- newName(String) - Method in class be.imgn.gaia.processing.source.NameAllocator
-
Returns a new name, not attached to any tag.
- newName(String, Object) - Method in class be.imgn.gaia.processing.source.NameAllocator
-
Returns a new name, attached to a tag to
getit again later. - newRecordBuilder(ClassName) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of records.
- newRecordBuilder(String) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of records.
- nextControlFlow(CodeBlock) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Closes a block and opens the next one, such as
else if (other)orcatch (IOException e). - nextControlFlow(CodeBlock) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Closes a block in the body and opens the next one; see
CodeBlock.Builder.nextControlFlow(CodeBlock). - nextControlFlow(String, Object...) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Closes a block and opens the next one, such as
else if (other)orcatch (IOException e). - nextControlFlow(String, Object...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Closes a block in the body and opens the next one; see
CodeBlock.Builder.nextControlFlow(String, Object...). - note(String) - Method in class be.imgn.gaia.processing.Diagnostics
-
Reports a note about no element in particular.
- note(String) - Method in class be.imgn.gaia.processing.Diagnostics.Report
-
Reports a note.
O
- OBJECT - Static variable in record class be.imgn.gaia.processing.source.ClassName
-
java.lang.Object. - of(ClassName) - Static method in class be.imgn.gaia.processing.source.Annotation
-
Returns an annotation without members.
- of(ClassName, TypeName...) - Static method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns the name of a parameterized type.
- of(ClassName, List) - Static method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns the name of a parameterized type.
- of(TypeName) - Static method in record class be.imgn.gaia.processing.source.ArrayTypeName
-
Returns the name of an array type, without annotations.
- of(TypeName, String, Modifier...) - Static method in class be.imgn.gaia.processing.source.Field
-
Returns a field without initializer.
- of(TypeName, String, Modifier...) - Static method in class be.imgn.gaia.processing.source.Parameter
-
Returns a parameter.
- of(Class) - Static method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a class.
- of(Class) - Static method in interface be.imgn.gaia.processing.source.TypeName
-
Returns the name of a class, which may be primitive,
voidor an array. - of(Class, String, Modifier...) - Static method in class be.imgn.gaia.processing.source.Parameter
-
Returns a parameter.
- of(Class) - Static method in class be.imgn.gaia.processing.source.Annotation
-
Returns an annotation without members.
- of(String) - Static method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
Returns the name of a primitive type, without annotations.
- of(String, TypeName...) - Static method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns the name of a type variable, without annotations.
- of(String, Object...) - Static method in class be.imgn.gaia.processing.source.CodeBlock
-
Returns a code block.
- of(String, String, String...) - Static method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a class.
- of(Map) - Static method in interface be.imgn.gaia.core.system.Environment
-
Returns a fixed environment.
- of(Map) - Static method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns fixed system properties.
- of(ProcessingEnvironment, Class) - Static method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a context over a processing environment.
- of(AnnotationMirror) - Static method in class be.imgn.gaia.processing.source.Annotation
-
Returns a copy of an annotation found in the source, with the values written in it; values left to their defaults are left out.
- of(TypeElement) - Static method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a type element.
- of(TypeParameterElement) - Static method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns the name of a declared type parameter, with its bounds.
- of(VariableElement) - Static method in class be.imgn.gaia.processing.source.Parameter
-
Returns a copy of a parameter found in the source: its type, with type annotations such as
@Nullable, its name, andfinalif it has it. - of(TypeMirror) - Static method in interface be.imgn.gaia.processing.source.TypeName
-
Returns the name of a type, with its type annotations.
- of(TypeMirror) - Static method in class be.imgn.gaia.processing.TypeKey
-
Returns the key of a type.
- of(TypeVariable) - Static method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns the name of a type variable, with its upper bounds, such as the type variables of a method seen as a member of a parameterized type.
- ofBoolean(String, boolean) - Static method in class be.imgn.gaia.processing.ProcessorOption
-
Returns a boolean option.
- ofEnum(String, Class, E) - Static method in class be.imgn.gaia.processing.ProcessorOption
-
Returns an enum option, whose values are the names of the constants, in any case.
- ofInt(String, int) - Static method in class be.imgn.gaia.processing.ProcessorOption
-
Returns an integer option.
- ofString(String, String) - Static method in class be.imgn.gaia.processing.ProcessorOption
-
Returns a text option.
- ofWithDefaults(AnnotationMirror) - Static method in class be.imgn.gaia.processing.source.Annotation
-
Returns a copy of an annotation found in the source, with every value it has: those written in it, and the defaults of the others, in the order the annotation type declares its members.
- omitEmptyStrings() - Method in class be.imgn.gaia.core.text.Splitter
-
Returns a splitter like this one that leaves out empty parts.
- on(char) - Static method in class be.imgn.gaia.core.text.Splitter
-
Returns a splitter on a character.
- on(String) - Static method in class be.imgn.gaia.core.text.Splitter
-
Returns a splitter on a literal string.
- on(Pattern) - Static method in class be.imgn.gaia.core.text.Splitter
-
Returns a splitter on the matches of a regular expression.
- on(Element) - Method in class be.imgn.gaia.processing.Diagnostics
-
Starts a report about an element.
- onLine(long) - Method in class be.imgn.gaia.processing.testing.DiagnosticAssert
-
Verifies that a diagnostic is on a line.
- onlyElement() - Static method in class be.imgn.gaia.core.collect.MoreCollectors
-
Returns a collector of the one element of a stream, which must contain exactly one.
- onPattern(String) - Static method in class be.imgn.gaia.core.text.Splitter
-
Returns a splitter on the matches of a regular expression, given as a string.
- OperatingSystem - Enum Class in be.imgn.gaia.platform.testing
-
The operating systems a
Platformcan tell apart: one for each ofPlatform.isLinux(),Platform.isMacOS()andPlatform.isWindows(), and one for the other Unix-like systems, for which all three arefalse. - option(ProcessorOption) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the value of an option of the processor.
- options() - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the options passed to the processors, with
-Akey=value. - options() - Method in class be.imgn.gaia.processing.StepProcessor
-
Returns the options this processor accepts, given to javac as
-Aname=value. - osArch() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the architecture of the operating system: the
os.archproperty. - osName() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the name of the operating system: the
os.nameproperty. - osVersion() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the version of the operating system: the
os.versionproperty. - OTHER_UNIX - Enum constant in enum class be.imgn.gaia.platform.testing.OperatingSystem
-
A Unix-like system other than Linux and macOS, such as FreeBSD.
- overriding(ExecutableElement) - Static method in class be.imgn.gaia.processing.source.Method
-
Returns a builder of a method that overrides another one: the same name, type variables, return type, parameters and exceptions, annotated with
@Override, and withoutabstractordefault. - overriding(ExecutableElement, DeclaredType, Types) - Static method in class be.imgn.gaia.processing.source.Method
-
Returns a builder of a method that overrides another one, as a member of a type: type variables of the type are replaced by its type arguments.
- ownerType() - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns the value of the
ownerTyperecord component.
P
- PACKAGE - Enum constant in enum class be.imgn.gaia.processing.Visibility
-
Accessible within the package of the element, without an access modifier.
- packageName() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the value of the
packageNamerecord component. - packageName() - Method in class be.imgn.gaia.processing.source.JavaFile
-
Returns the package.
- packageName() - Method in class be.imgn.gaia.processing.SourceScope
-
Returns the package of the generated file.
- packageOf(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns the package of an element.
- Parameter - Class in be.imgn.gaia.processing.source
-
A parameter of a method or constructor, or a component of a record, such as
final String name. - Parameter.Builder - Class in be.imgn.gaia.processing.source
-
A builder of
Parameters. - parameterized(TypeName...) - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns this type parameterized with type arguments, such as
List<String>. - ParameterizedTypeName - Record Class in be.imgn.gaia.processing.source
-
The name of a parameterized type, such as
Map<String, List<Integer>>, or of an inner class whose enclosing type has type arguments or annotations, such asOuter<String>.Inner. - ParameterizedTypeName(TypeName, ClassName, List, List) - Constructor for record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Creates the name.
- parameters() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the parameters.
- path() - Method in interface be.imgn.gaia.core.system.Environment
-
Returns the directories searched for executables: the
PATHvariable, split on the running JVM's path separator (File.pathSeparator). - pathSeparator() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the path separator,
":"on Unix: thepath.separatorproperty. - peer(String) - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a type in the same package as this one, and nested in the same type, if any.
- permittedSubclasses() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the subclasses a sealed type permits.
- Platform - Interface in be.imgn.gaia.platform
-
The platform the JVM runs on: its operating system and the directories applications use on it.
- Platform.Builder - Class in be.imgn.gaia.platform
-
Detects a
Platformfrom its sources. - PlatformPreset - Class in be.imgn.gaia.platform.testing
-
The system properties and environment variables a JVM typically has on an operating system, to detect a
Platformfrom, so that tests run the real detection of the directories of any operating system: - PlatformPreset.Builder - Class in be.imgn.gaia.platform.testing
-
Builds a
PlatformPreset. - PrimitiveTypeName - Record Class in be.imgn.gaia.processing.source
-
The name of a primitive type, or
void. - PrimitiveTypeName(String, List) - Constructor for record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
Creates the name.
- PRIVATE - Enum constant in enum class be.imgn.gaia.processing.Visibility
-
Accessible within the top-level type that declares the element only.
- process(AnnotatedElements) - Method in interface be.imgn.gaia.processing.Step
-
Processes the elements annotated with this step's annotations that are ready: every type in their signature is resolved.
- process(Set, RoundEnvironment) - Method in class be.imgn.gaia.processing.StepProcessor
- ProcessingContext - Class in be.imgn.gaia.processing
-
Everything a processor works with: javac's processing environment, and gaia's helpers on top of it.
- ProcessingException - Exception Class in be.imgn.gaia.processing
-
An error in the source, thrown to stop processing an element and report the error at a precise place: the element, one of its annotations, or one attribute of that annotation, as
Diagnosticsreports it. - ProcessingException(String, Element) - Constructor for exception class be.imgn.gaia.processing.ProcessingException
-
Creates an exception reporting an error on an element.
- ProcessingException(String, Element, String) - Constructor for exception class be.imgn.gaia.processing.ProcessingException
-
Creates an exception reporting an error on the annotation of a type of an element.
- ProcessingException(String, Element, String, String) - Constructor for exception class be.imgn.gaia.processing.ProcessingException
-
Creates an exception reporting an error on an attribute of the annotation of a type of an element.
- ProcessingException(String, Element, AnnotationMirror) - Constructor for exception class be.imgn.gaia.processing.ProcessingException
-
Creates an exception reporting an error on an annotation of an element.
- ProcessingException(String, Element, AnnotationMirror, String) - Constructor for exception class be.imgn.gaia.processing.ProcessingException
-
Creates an exception reporting an error on an attribute of an annotation of an element.
- processingOver() - Method in interface be.imgn.gaia.processing.Step
-
Finishes this step once all rounds are done: to check what they produced together, to report a summary, or to register or discard the implementations of a service before its file is written.
- ProcessorAssert - Class in be.imgn.gaia.processing.testing
-
AssertJ assertions on an annotation processor class.
- ProcessorOption<T> - Class in be.imgn.gaia.processing
-
An option of an annotation processor, given to javac as
-Aname=value, with its type and default value. - PROTECTED - Enum constant in enum class be.imgn.gaia.processing.Visibility
-
Accessible within the package of the element, and from the subclasses of the type that declares it.
- PUBLIC - Enum constant in enum class be.imgn.gaia.processing.Visibility
-
Accessible wherever the element's module lets it be.
Q
- qualifiedName() - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the fully qualified name of the annotation type.
R
- raw(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the value of an attribute as javac represents it.
- rawType() - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns the value of the
rawTyperecord component. - read() - Method in class be.imgn.gaia.core.testing.FakeTicker
- read() - Method in interface be.imgn.gaia.core.time.Ticker
-
Returns the current reading, in nanoseconds since an arbitrary origin.
- reader(AnnotationMirror) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a reader of an annotation.
- RECORD - Enum constant in enum class be.imgn.gaia.processing.source.Type.Kind
-
A record.
- recordComponents() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the components of a record.
- reflectionName() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the binary name of this type, as
Class.forName(String)expects it. - removeEnvironmentVariable(String) - Method in class be.imgn.gaia.platform.testing.PlatformPreset.Builder
-
Removes an environment variable, such as
HOMEorAPPDATA, to test what happens when it is not set. - reset() - Method in class be.imgn.gaia.core.time.Stopwatch
-
Stops this stopwatch, if it is running, and sets its elapsed time to zero.
- resolveParameter(ParameterContext, ExtensionContext) - Method in class be.imgn.gaia.processing.testing.CompilationExtension
- returns(TypeName) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Sets the return type.
- returns(Class) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Sets the return type.
- returnType() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the return type.
- runtimeDir() - Method in interface be.imgn.gaia.platform.Directories
-
Returns the directory for user-specific runtime files, such as sockets and named pipes.
- runtimeDir() - Method in class be.imgn.gaia.platform.testing.FakeDirectories
- runtimeDir(Path) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets the directory for user-specific runtime files, replacing any earlier
FakeDirectories.Builder.withoutRuntimeDir().
S
- ServiceFiles - Class in be.imgn.gaia.processing
-
Writes the service files
ServiceLoaderreads on the class path:META-INF/services/<service>, listing the implementations of a service, one binary name per line. - services() - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the writer of service files,
META-INF/services/<service>, which aStepProcessorwrites after the last round. - set() - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing zero elements.
- set(E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing one element.
- set(E...) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing an arbitrary number of elements, iterating in the order given.
- set(E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing two elements, iterating in the order given.
- set(E, E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing three elements, iterating in the order given.
- set(E, E, E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing four elements, iterating in the order given.
- set(E, E, E, E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing five elements, iterating in the order given.
- set(E, E, E, E, E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing six elements, iterating in the order given.
- set(E, E, E, E, E, E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing seven elements, iterating in the order given.
- set(E, E, E, E, E, E, E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing eight elements, iterating in the order given.
- set(E, E, E, E, E, E, E, E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing nine elements, iterating in the order given.
- set(E, E, E, E, E, E, E, E, E, E) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing ten elements, iterating in the order given.
- setCopy(Collection) - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns an unmodifiable set containing the elements of
collection, iterating in the collection's iteration order. - Sets - Class in be.imgn.gaia.core.collect
-
Static factories and a collector for unmodifiable sets that iterate in the order their elements are given.
- SharedCompilation - Annotation Interface in be.imgn.gaia.processing.testing
-
Makes
CompilationExtensionshare one compilation across all the tests of the annotated class, and its nested classes, instead of starting one per test. - SHORT - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
short. - simpleName() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the simple name of this type.
- simpleName() - Method in class be.imgn.gaia.processing.SourceScope
-
Returns the simple name of the generated top-level type.
- simpleNames() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the value of the
simpleNamesrecord component. - skipModuleCheck(ClassName) - Method in class be.imgn.gaia.processing.ServiceFiles
-
Turns off the check that the module of each implementation of a service declares
providesfor it. - source(String, String) - Static method in class be.imgn.gaia.processing.testing.TestCompiler
-
Returns an in-memory compilation unit.
- sources() - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the writer of generated source files.
- SourceScope - Class in be.imgn.gaia.processing
-
The names a generated source file uses, and the imports they need: a
GeneratedSources.write(JavaFile, Element...)body gets one to name the types it refers to. - split(CharSequence) - Method in class be.imgn.gaia.core.text.Splitter
-
Splits
text. - Splitter - Class in be.imgn.gaia.core.text
-
Splits text into parts around a separator: a character, a literal string or a regular expression.
- splitToStream(CharSequence) - Method in class be.imgn.gaia.core.text.Splitter
-
Splits
textlazily: each part is found when the stream reaches it. - start() - Method in class be.imgn.gaia.core.time.Stopwatch
-
Starts this stopwatch, resuming from its elapsed time.
- started() - Static method in class be.imgn.gaia.core.time.Stopwatch
-
Returns a running stopwatch on the system ticker.
- started(Ticker) - Static method in class be.imgn.gaia.core.time.Stopwatch
-
Returns a running stopwatch on
ticker. - stateHome() - Method in interface be.imgn.gaia.platform.Directories
-
Returns the directory for user-specific state: data that should persist between restarts but is not important or portable enough for
Directories.dataHome(), such as history, logs or recently used files. - stateHome() - Method in class be.imgn.gaia.platform.testing.FakeDirectories
- stateHome(Path) - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Sets the directory for user-specific state.
- staticBlock() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the static initializer.
- staticImports() - Method in class be.imgn.gaia.processing.source.JavaFile
-
Returns the static imports.
- stderrEncoding() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the character encoding of
System.err: thestderr.encodingproperty. - stdoutEncoding() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the character encoding of
System.out: thestdout.encodingproperty. - Step - Interface in be.imgn.gaia.processing
-
One unit of work of a
StepProcessor: the processing of the elements annotated with some annotations, or with annotations that some meta-annotations annotate. - StepProcessor - Class in be.imgn.gaia.processing
-
An annotation processor made of
Steps, which takes care of processing rounds. - StepProcessor() - Constructor for class be.imgn.gaia.processing.StepProcessor
-
Creates the processor; javac does, through the service loader.
- steps(ProcessingContext) - Method in class be.imgn.gaia.processing.StepProcessor
-
Returns the steps of this processor.
- stop() - Method in class be.imgn.gaia.core.time.Stopwatch
-
Stops this stopwatch, keeping its elapsed time.
- Stopwatch - Class in be.imgn.gaia.core.time
-
Measures elapsed time, on a
Tickerrather than on the wall clock. - string(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the value of a
Stringattribute. - strings(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the values of a
String[]attribute. - subtypeOf(TypeName) - Static method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns
? extends bound. - succeeded() - Method in class be.imgn.gaia.processing.testing.CompilationAssert
-
Verifies that javac reported no error.
- success() - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns the value of the
successrecord component. - superclass() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the superclass.
- superclass(TypeName) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Sets the superclass of a class.
- superclass(Class) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Sets the superclass of a class, and qualifies the names of the member types it brings.
- superclass(TypeMirror) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Sets the superclass of a class, and qualifies the names of the member types it brings.
- superinterfaces() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the interfaces this type implements, or extends for an interface.
- supertypeOf(TypeName) - Static method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns
? super bound. - supportsParameter(ParameterContext, ExtensionContext) - Method in class be.imgn.gaia.processing.testing.CompilationExtension
- system() - Static method in interface be.imgn.gaia.core.system.Environment
-
Returns the environment of the running JVM.
- system() - Static method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the system properties of the running JVM.
- system() - Static method in interface be.imgn.gaia.core.time.Ticker
-
Returns the ticker of the running JVM, which reads
System.nanoTime(). - systemProperties() - Method in class be.imgn.gaia.platform.testing.PlatformPreset
-
Returns the system properties, to give to
Platform.Builder.systemProperties(SystemProperties). - systemProperties(SystemProperties) - Method in class be.imgn.gaia.platform.Platform.Builder
-
Sets the system properties to read;
os.nameanduser.homeare required. - SystemProperties - Interface in be.imgn.gaia.core.system
-
A source of system properties: the running JVM's, or fixed ones for tests.
- systemProperty(String, String) - Method in class be.imgn.gaia.platform.testing.PlatformPreset.Builder
-
Sets a system property, replacing the preset's value if it has one.
T
- TestCompiler - Class in be.imgn.gaia.processing.testing
-
Compiles in-memory sources with the system Java compiler, in process, running the given annotation processors.
- Ticker - Interface in be.imgn.gaia.core.time
-
A source of nanosecond time, for measuring elapsed time: only the difference between two readings is meaningful.
- toAnnotation() - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the annotation as a model of source code, to copy it onto generated code: with the values written in the source, not the defaults.
- toBuilder() - Method in class be.imgn.gaia.processing.source.Annotation
-
Returns a builder that starts with this annotation.
- toBuilder() - Method in class be.imgn.gaia.processing.source.CodeBlock
-
Returns a builder that starts with this code block.
- toBuilder() - Method in class be.imgn.gaia.processing.source.Field
-
Returns a builder that starts with this field.
- toBuilder() - Method in class be.imgn.gaia.processing.source.JavaFile
-
Returns a builder that starts with this file.
- toBuilder() - Method in class be.imgn.gaia.processing.source.Method
-
Returns a builder that starts with this method.
- toBuilder() - Method in class be.imgn.gaia.processing.source.Parameter
-
Returns a builder that starts with this parameter.
- toBuilder() - Method in class be.imgn.gaia.processing.source.Type
-
Returns a builder that starts with this type.
- toJavaFileObject() - Method in class be.imgn.gaia.processing.source.JavaFile
-
Returns this file as a source the Java compiler can read, as when compiling generated code in a test.
- toJavaIdentifier(String) - Static method in class be.imgn.gaia.processing.source.NameAllocator
-
Returns a valid Java identifier close to a suggestion: each character that cannot be in an identifier is replaced by an underscore, and an underscore goes first if the first character cannot start one.
- toOptional() - Static method in class be.imgn.gaia.core.collect.MoreCollectors
-
Returns a collector of the one element of a stream, if any: the stream must contain zero or one element.
- topLevel() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the top-level type this type is, or is nested in, without annotations.
- topLevelType(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns the top-level type an element is declared in.
- toSet() - Static method in class be.imgn.gaia.core.collect.Sets
-
Returns a collector into an unmodifiable set that iterates in encounter order: the ordered counterpart of
Collectors.toUnmodifiableSet(). - toString() - Method in class be.imgn.gaia.core.time.Stopwatch
-
Returns the elapsed time in the largest unit in which it is at least 1, with four significant digits, as
String.format(Locale.ROOT, "%.4g", value)prints them, followed by the unit's abbreviation:ns,μs,ms,s,min,hord. - toString() - Method in class be.imgn.gaia.processing.AnnotatedElements
- toString() - Method in class be.imgn.gaia.processing.AnnotationReader
- toString() - Method in class be.imgn.gaia.processing.ProcessorOption
- toString() - Method in class be.imgn.gaia.processing.source.Annotation
- toString() - Method in record class be.imgn.gaia.processing.source.ArrayTypeName
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.gaia.processing.source.CodeBlock
- toString() - Method in class be.imgn.gaia.processing.source.Field
- toString() - Method in class be.imgn.gaia.processing.source.JavaFile
-
Returns the source code of the file.
- toString() - Method in class be.imgn.gaia.processing.source.Method
- toString() - Method in class be.imgn.gaia.processing.source.Parameter
- toString() - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.gaia.processing.source.Type
- toString() - Method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.gaia.processing.testing.Compilation
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.gaia.processing.TypeKey
- trimResults() - Method in class be.imgn.gaia.core.text.Splitter
-
Returns a splitter like this one that removes leading and trailing whitespace from each part, as
String.strip()does. - type() - Method in class be.imgn.gaia.processing.source.Annotation
-
Returns the annotation type.
- type() - Method in class be.imgn.gaia.processing.source.Field
-
Returns the type.
- type() - Method in class be.imgn.gaia.processing.source.JavaFile
-
Returns the top-level type.
- type() - Method in class be.imgn.gaia.processing.source.Parameter
-
Returns the type.
- type() - Method in class be.imgn.gaia.processing.TypeKey
-
Returns the type of this key.
- type(Type) - Method in class be.imgn.gaia.processing.source.JavaFile.Builder
-
Replaces the top-level type.
- type(Class) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the type of a class, as the compilation sees it: a primitive type for
int.class, the void type forvoid.class, an array type forString[][].class, and a declared type for a class, interface, enum, record or annotation type, nested ones included, such asMap.Entry.class. - type(Class, Class...) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a parameterized type of a generic class, with classes as type arguments:
type(Map.class, String.class, Integer[].class)givesMap<String, Integer[]>. - type(Class, TypeMirror...) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a parameterized type of a generic class, with any reference types or wildcards as type arguments:
- type(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the value of a
Classattribute, as a type: reading it never throwsMirroredTypeException. - type(String, TypeMirror...) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns a type known by name, raw or parameterized, as
ProcessingContext.type(Class, TypeMirror...)does for a class: for a type the processor cannot load, or that does not exist yet when it is compiled, such as a type of the code it processes. - Type - Class in be.imgn.gaia.processing.source
-
A class, interface, enum, record or annotation type, or an anonymous class.
- Type.Builder - Class in be.imgn.gaia.processing.source
-
A builder of
Types. - Type.Kind - Enum Class in be.imgn.gaia.processing.source
-
The kinds of type.
- typeArguments() - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns the value of the
typeArgumentsrecord component. - TypeKey - Class in be.imgn.gaia.processing
-
A
TypeMirrorwith theequalsandhashCodeof the type it denotes, for use in sets and maps:TypeMirroritself does not define them, and two mirrors ofList<String>need not be equal. - TypeName - Interface in be.imgn.gaia.processing.source
-
The name of a type as it is written in source code: a primitive, a class, a parameterized type, an array, a type variable or a wildcard, possibly with type annotations such as
@Nullable. - types() - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the utilities for types.
- types() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the nested types.
- types(String) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the values of a
Class[]attribute, as types. - TypeVariableName - Record Class in be.imgn.gaia.processing.source
-
The name of a type variable, such as
T. - TypeVariableName(String, List, List) - Constructor for record class be.imgn.gaia.processing.source.TypeVariableName
-
Creates the name.
- typeVariables() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the declared type variables.
- typeVariables() - Method in class be.imgn.gaia.processing.source.Type
-
Returns the declared type variables.
U
- unbounded() - Static method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns
?. - unbox() - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns the primitive type of a boxed type, such as
intforInteger, with the same annotations; a primitive type unchanged. - unindent() - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Unindents the lines that follow.
- unstarted() - Static method in class be.imgn.gaia.core.time.Stopwatch
-
Returns a stopped stopwatch, with no elapsed time, on the system ticker.
- unstarted(Ticker) - Static method in class be.imgn.gaia.core.time.Stopwatch
-
Returns a stopped stopwatch, with no elapsed time, on
ticker. - upperBound() - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns the value of the
upperBoundrecord component. - userDir() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the current working directory of the user: the
user.dirproperty. - userHome() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the home directory of the user: the
user.homeproperty. - userName() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the name of the user account: the
user.nameproperty. - userName(String) - Method in class be.imgn.gaia.platform.testing.PlatformPreset.Builder
-
Sets the name of the user,
testby default.
V
- value(String, Class) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the value of an attribute of a primitive type or
String. - valueOf(String) - Static method in enum class be.imgn.gaia.platform.testing.OperatingSystem
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.gaia.processing.source.Type.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.gaia.processing.Visibility
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class be.imgn.gaia.platform.testing.OperatingSystem
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.gaia.processing.source.Type.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.gaia.processing.Visibility
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(String, Class) - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the values of an array attribute of a primitive type or
String. - varargs(boolean) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Makes the last parameter variable arity, or not.
- varargs(boolean) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Makes the last component of a record variable arity, or not.
- visibility(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns the visibility an element is declared with: its access modifier, or the access the language gives it without one.
- Visibility - Enum Class in be.imgn.gaia.processing
-
How widely an element can be accessed, as its access modifier, or the lack of one, says: see
MoreElements.visibility(javax.lang.model.element.Element)andMoreElements.effectiveVisibility(javax.lang.model.element.Element). - VOID - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
void.
W
- warning(String) - Method in class be.imgn.gaia.processing.Diagnostics.Report
-
Reports a warning.
- warning(String) - Method in class be.imgn.gaia.processing.Diagnostics
-
Reports a warning about no element in particular.
- WildcardTypeName - Record Class in be.imgn.gaia.processing.source
-
The name of a wildcard type argument:
?,? extends Tor? super T. - WildcardTypeName(TypeName, TypeName, List) - Constructor for record class be.imgn.gaia.processing.source.WildcardTypeName
-
Creates the name.
- WINDOWS - Enum constant in enum class be.imgn.gaia.platform.testing.OperatingSystem
-
Windows.
- withAnnotationsAnnotatedWith(String) - Method in class be.imgn.gaia.processing.AnnotatedElements
-
Returns the elements annotated with an annotation whose type is annotated with a meta-annotation of the step: with
javax.inject.Qualifier, the elements annotated with a qualifier, such as@Named("primary"). - withOptions(String...) - Method in class be.imgn.gaia.processing.testing.TestCompiler
-
Returns a compiler that passes
optionsto javac, instead of the options this one passes. - withoutAnnotations() - Method in record class be.imgn.gaia.processing.source.ArrayTypeName
- withoutAnnotations() - Method in record class be.imgn.gaia.processing.source.ClassName
- withoutAnnotations() - Method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
- withoutAnnotations() - Method in record class be.imgn.gaia.processing.source.PrimitiveTypeName
- withoutAnnotations() - Method in interface be.imgn.gaia.processing.source.TypeName
-
Returns this name without type annotations, at the top level: those of type arguments and array components are kept.
- withoutAnnotations() - Method in record class be.imgn.gaia.processing.source.TypeVariableName
- withoutAnnotations() - Method in record class be.imgn.gaia.processing.source.WildcardTypeName
- withoutRuntimeDir() - Method in class be.imgn.gaia.platform.testing.FakeDirectories.Builder
-
Removes the runtime directory, so that
FakeDirectories.runtimeDir()is empty, as on macOS, Windows, and Linux withoutXDG_RUNTIME_DIR. - withProcessors(Processor...) - Method in class be.imgn.gaia.processing.testing.TestCompiler
-
Returns a compiler that runs
processors, instead of the processors this one runs. - write() - Method in class be.imgn.gaia.processing.ServiceFiles
-
Checks the implementations registered since the files were last written, then writes the file of each service they implement.
- write(JavaFile, Element...) - Method in class be.imgn.gaia.processing.GeneratedSources
-
Writes a source file, unless it was already created.
- write(String, Function, Element...) - Method in class be.imgn.gaia.processing.GeneratedSources
-
Writes a source file, unless it was already created.
- writeTo(Appendable) - Method in class be.imgn.gaia.processing.source.JavaFile
-
Writes the file.
X
- xdgVariables(boolean) - Method in class be.imgn.gaia.platform.testing.PlatformPreset.Builder
-
Sets whether to set every variable of the XDG Base Directory Specification, each to a location that differs from the specification's default:
XDG_DATA_HOME=/xdg/data-home,XDG_CONFIG_HOME=/xdg/config-home,XDG_STATE_HOME=/xdg/state-home,XDG_CACHE_HOME=/xdg/cache-home,XDG_RUNTIME_DIR=/xdg/runtime-dir,XDG_DATA_DIRS=/xdg/data-dir/first:/xdg/data-dir/secondandXDG_CONFIG_DIRS=/xdg/config-dir/first:/xdg/config-dir/second.
All Classes and Interfaces|All Packages|Serialized Form