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(E) - Method in class be.imgn.gaia.core.collect.HashMultiset
- add(E) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- add(E, int) - Method in class be.imgn.gaia.core.collect.HashMultiset
- add(E, int) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- add(E, int) - Method in interface be.imgn.gaia.core.collect.Multiset
-
Adds occurrences of an element.
- add(String, Object...) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Adds code.
- addAll(Collection) - Method in class be.imgn.gaia.core.collect.HashMultiset
- addAll(Collection) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- 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, Object...) - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Adds a line comment, with placeholders as in
CodeBlock.Builder.add(String, Object...): a type named with$Tis imported as needed, and a dollar sign is written$$. - addComment(String, Object...) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds a line comment to the body; see
CodeBlock.Builder.addComment(String, Object...). - 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. - addException(Type) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds an exception to the
throwsclause, such as a generic exception type of a method. - 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(Type, 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(CodeBlock) - Method in class be.imgn.gaia.processing.source.Field.Builder
-
Adds Javadoc text.
- addJavadoc(CodeBlock) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Adds Javadoc text.
- addJavadoc(CodeBlock) - 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(CodeBlock) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds Javadoc text.
- 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.Parameter.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(Type, 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.
- addPermittedSubclass(Class) - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Adds a subclass this sealed type permits.
- addPermittedSubclass(TypeMirror) - 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(Type, 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(Type) - 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.
- applicationDirectories(String) - Method in interface be.imgn.gaia.platform.Platform
-
Returns the directories of an application, named by its name alone.
- applicationDirectories(String, String) - Method in interface be.imgn.gaia.platform.Platform
-
Returns the directories of an application, named by its vendor and its name.
- applicationDirectories(String, String, String) - Method in interface be.imgn.gaia.platform.Platform
-
Returns the directories of an application, named by its vendor's qualifier, its vendor and its name.
- ApplicationDirectories - Class in be.imgn.gaia.platform
-
The directories where one application stores its files: its own subdirectories of the platform's
Directories, one for each kind of file, never shared with another kind. - 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.
- asArray(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as an array type.
- asByteSink(Charset) - Method in interface be.imgn.gaia.core.io.CharSink
-
Returns a sink that writes bytes to this one, decoded from a charset.
- asByteSource(Charset) - Method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source of the bytes that encode these characters.
- asCharSink(Charset) - Method in interface be.imgn.gaia.core.io.ByteSink
-
Returns a sink that writes characters to this one, encoded in a charset.
- asCharSource(Charset) - Method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source of the characters these bytes encode.
- asDeclared(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as a declared type: a class, interface, enum, record or annotation type, possibly parameterized.
- 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.
- asExecutable(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as the type of a method, a constructor or an initializer, such as the one
Types.asMemberOfgives a method. - asIntersection(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as an intersection type, such as the bound of
T extends Number & Comparable<T>. - asMemberOf(DeclaredType, VariableElement) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the type of a field or of a parameter as a member of a type: the parameter of
add(E)has the typeStringinList<String>. - 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.
- asPrimitive(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as a primitive type,
voidexcluded. - 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(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns an element as a class, interface, enum, record or annotation type, if it is one: the kind-checked counterpart of
element instanceof TypeElement 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.
- asTypeVariable(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as a type variable.
- asUnion(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as a union type, the type of a multi-catch parameter such as
IOException | SQLException. - 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.
- asWildcard(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns a type as a wildcard type argument.
- atColumn(long) - Method in class be.imgn.gaia.processing.testing.DiagnosticAssert
-
Verifies that a diagnostic is at a column.
- AtomicFiles - Class in be.imgn.gaia.core.io
-
Writes files atomically: a reader sees either the previous content of a file or its new content, never a part of it, and so does the next run of a program after a crash.
- AtomicFiles.Output - Interface in be.imgn.gaia.core.io
-
Writes the content of a file to a stream.
- 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.
- attributeViews() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the supported attribute views, with
basicand those the configured views extend. - attributeViews(String...) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets the supported attribute views: any of
basic,owner,posix,unix,dos,aclanduser. - 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.base - package be.imgn.gaia.core.base
-
Basic utilities the JDK does not provide.
- be.imgn.gaia.core.collect - package be.imgn.gaia.core.collect
-
Collections and collection utilities the JDK does not provide.
- be.imgn.gaia.core.io - package be.imgn.gaia.core.io
-
Reading and writing files.
- 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.memfs - module be.imgn.gaia.memfs
-
An in-memory file system, for the
mem:URI scheme. - be.imgn.gaia.memfs - package be.imgn.gaia.memfs
-
An in-memory file system:
MemoryFileSystemscreates one, configured by aConfiguration. - 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
-
Starts the compilation the tests of the class share, if the class is annotated with
SharedCompilation. - 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.
- blockSize() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the size of the blocks the content of files is stored in.
- blockSize(int) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets the size of the blocks the content of files is stored in.
- 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.memfs.Configuration.Builder
-
Builds the configuration.
- 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. - ByteSink - Interface in be.imgn.gaia.core.io
-
A writable destination of bytes, such as a file, that opens a new stream each time it is written.
- ByteSource - Interface in be.imgn.gaia.core.io
-
A readable source of bytes, such as a file or a URL, that opens a new stream each time it is read.
C
- cache() - Method in class be.imgn.gaia.platform.ApplicationDirectories
-
Returns the directory for the application's non-essential, cached data.
- 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.
- ceilingEntry(E) - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns the entry of the lowest element higher than or equal to an element.
- ceilingEntry(E) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- CHAR - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
char. - CharSink - Interface in be.imgn.gaia.core.io
-
A writable destination of characters, such as a text file, that opens a new stream each time it is written.
- CharSource - Interface in be.imgn.gaia.core.io
-
A readable source of characters, such as a text file or a string, that opens a new stream each time it is read.
- checkArgument(boolean) - Static method in class be.imgn.gaia.core.base.Preconditions
-
Checks an expression about the arguments of the calling method.
- checkArgument(boolean, Object) - Static method in class be.imgn.gaia.core.base.Preconditions
-
Checks an expression about the arguments of the calling method.
- checkArgument(boolean, String, Object...) - Static method in class be.imgn.gaia.core.base.Preconditions
-
Checks an expression about the arguments of the calling method.
- checkState(boolean) - Static method in class be.imgn.gaia.core.base.Preconditions
-
Checks an expression about the state of the object the calling method is called on.
- checkState(boolean, Object) - Static method in class be.imgn.gaia.core.base.Preconditions
-
Checks an expression about the state of the object the calling method is called on.
- checkState(boolean, String, Object...) - Static method in class be.imgn.gaia.core.base.Preconditions
-
Checks an expression about the state of the object the calling method is called on.
- 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.core.collect.HashMultiset
- clear() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- clear() - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Removes everything added so far.
- clock() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the clock that dates the creation, modification and access of files.
- clock(InstantSource) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets the clock that dates the creation, modification and access of files.
- 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. - comparator() - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns the comparator that orders the elements of this multiset.
- comparator() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- compareTo(ClassName) - Method in record class be.imgn.gaia.processing.source.ClassName
- 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. - concat(ByteSource...) - Static method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source that reads several sources one after the other.
- concat(CharSource...) - Static method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source that reads several sources one after the other.
- concat(Iterable) - Static method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source that reads several sources one after the other.
- concat(Iterable) - Static method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source that reads several sources one after the other.
- config() - Method in class be.imgn.gaia.platform.ApplicationDirectories
-
Returns the directory for the application's configuration files.
- 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.
- Configuration - Class in be.imgn.gaia.memfs
-
How a memory file system behaves: its path style, roots, working directory, capacity, name matching, attribute views, default attributes, clock and features.
- Configuration.Builder - Class in be.imgn.gaia.memfs
-
A builder of
Configurations. - contains(Object) - Method in class be.imgn.gaia.core.collect.HashMultiset
- contains(Object) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- contentEquals(ByteSource) - Method in interface be.imgn.gaia.core.io.ByteSource
-
Tells whether this source has the same bytes as another one.
- 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.
- copyTo(ByteSink) - Method in interface be.imgn.gaia.core.io.ByteSource
-
Copies the bytes of this source to a sink.
- copyTo(CharSink) - Method in interface be.imgn.gaia.core.io.CharSource
-
Copies the characters of this source to a sink.
- copyTo(OutputStream) - Method in interface be.imgn.gaia.core.io.ByteSource
-
Copies the bytes of this source to a stream, which is left open.
- copyTo(Appendable) - Method in interface be.imgn.gaia.core.io.CharSource
-
Copies the characters of this source to an appendable, which is left open if it is a stream.
- count() - Method in interface be.imgn.gaia.core.collect.Multiset.Entry
-
Returns the number of occurrences of the element in the multiset.
- count(Object) - Method in class be.imgn.gaia.core.collect.HashMultiset
- count(Object) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- count(Object) - Method in interface be.imgn.gaia.core.collect.Multiset
-
Returns the number of occurrences of an element.
- create() - Static method in class be.imgn.gaia.core.collect.HashMultiset
-
Returns a new, empty multiset.
- create() - Static method in class be.imgn.gaia.core.collect.TreeMultiset
-
Returns a new, empty multiset sorted by the natural ordering of its elements.
- create(Collection) - Static method in class be.imgn.gaia.core.collect.HashMultiset
-
Returns a new multiset containing the elements of a collection, each as many times as it occurs there.
- create(Collection) - Static method in class be.imgn.gaia.core.collect.TreeMultiset
-
Returns a new multiset sorted by the natural ordering of its elements, containing the elements of a collection, each as many times as it occurs there.
- create(Comparator) - Static method in class be.imgn.gaia.core.collect.TreeMultiset
-
Returns a new, empty multiset sorted by a comparator.
- 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.
- currentGroups() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the groups of the current user.
- currentUser() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the user permissions are checked against, if they are enforced.
- currentUser(String, String...) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Enforces permissions, checking them against a user and their groups.
D
- data() - Method in class be.imgn.gaia.platform.ApplicationDirectories
-
Returns the directory for the application's data files.
- 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.
- defaultAttribute(String, Object) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets an attribute new files get unless they are given it:
owner:owner(a user name),posix:group(a group name),posix:permissions(aSet<PosixFilePermission>or a string such asrw-r--r--),dos:readonly,dos:hidden,dos:systemordos:archive(aBoolean), oracl:acl(aList<AclEntry>). - defaultAttributes() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the attributes new files get unless they are given others.
- 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(CodeBlock) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Sets 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 interface be.imgn.gaia.core.collect.Multiset.Entry
-
Returns the element of this entry.
- 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.
- elementSet() - Method in class be.imgn.gaia.core.collect.HashMultiset
- elementSet() - Method in interface be.imgn.gaia.core.collect.Multiset
-
Returns a view of the distinct elements of this multiset.
- elementSet() - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns a view of the distinct elements of this multiset, in the same order.
- elementSet() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- empty() - Static method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source with no bytes.
- empty() - Static method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source with no characters.
- 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...). - entrySet() - Method in class be.imgn.gaia.core.collect.HashMultiset
- entrySet() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- entrySet() - Method in interface be.imgn.gaia.core.collect.Multiset
-
Returns a view of the distinct elements of this multiset with their counts, one entry per element, in the order of
Multiset.elementSet(). - 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.core.collect.HashMultiset
- equals(Object) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- equals(Object) - Method in interface be.imgn.gaia.core.collect.Multiset.Entry
-
Compares this entry with an object.
- equals(Object) - Method in interface be.imgn.gaia.core.collect.Multiset
-
Compares this multiset with an object.
- 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.
- EXACT - Enum constant in enum class be.imgn.gaia.memfs.NameMatching
-
Names match only when they have the same characters, as on Linux.
- 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.
- Feature - Enum Class in be.imgn.gaia.memfs
-
An optional capability of a file system.
- features() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the optional features the file system has.
- features(Feature...) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets the optional features the file system has; it lacks the others.
- 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.
- FILE_CHANNEL - Enum constant in enum class be.imgn.gaia.memfs.Feature
- 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.
- firstEntry() - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns the entry of the lowest element.
- firstEntry() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- firstUnresolvedType(Element) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns the first type javac could not resolve in the signature of an element, typically because another processor has not generated it yet.
- FLOAT - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
float. - floorEntry(E) - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns the entry of the highest element lower than or equal to an element.
- floorEntry(E) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- forCurrentPlatform() - Static method in class be.imgn.gaia.memfs.Configuration
-
Returns the configuration that looks like the file system of the operating system the JVM runs on:
Configuration.windows(),Configuration.macOS()orConfiguration.unix(). - 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. - forEachEntry(ObjIntConsumer) - Method in class be.imgn.gaia.core.collect.HashMultiset
- forEachEntry(ObjIntConsumer) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- forEachEntry(ObjIntConsumer) - Method in interface be.imgn.gaia.core.collect.Multiset
-
Calls an action with each distinct element of this multiset and its count, in the order of
Multiset.elementSet(). - forEachLine(Consumer) - Method in interface be.imgn.gaia.core.io.CharSource
-
Reads the lines of this source one at a time, without keeping them.
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.core.collect.HashMultiset
- hashCode() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- hashCode() - Method in interface be.imgn.gaia.core.collect.Multiset.Entry
-
Returns the hash code of this entry:
element().hashCode() ^ count(). - hashCode() - Method in interface be.imgn.gaia.core.collect.Multiset
-
Returns the hash code of this multiset: the hash code of its
Multiset.entrySet(), the sum of the hash codes of its entries. - 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
- HashMultiset<E> - Class in be.imgn.gaia.core.collect
- headMultiset(E, boolean) - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns a view of the elements lower than an element, or equal to it if
inclusiveistrue. - headMultiset(E, boolean) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- higherEntry(E) - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns the entry of the lowest element strictly higher than an element.
- higherEntry(E) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- 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
- IGNORE_CASE_ASCII - Enum constant in enum class be.imgn.gaia.memfs.NameMatching
-
Names match ignoring the case of ASCII letters:
Aanda, but notÉandé. - IGNORE_CASE_UNICODE - Enum constant in enum class be.imgn.gaia.memfs.NameMatching
-
Names match ignoring the case of any letter, as on macOS and Windows.
- illegalArgument(Throwable, Object) - Static method in class be.imgn.gaia.core.base.Throwables
-
Creates an exception that reports an illegal argument, caused by another exception.
- illegalArgument(Throwable, String, Object...) - Static method in class be.imgn.gaia.core.base.Throwables
-
Creates an exception that reports an illegal argument, caused by another exception.
- illegalState(Throwable, Object) - Static method in class be.imgn.gaia.core.base.Throwables
-
Creates an exception that reports an illegal state, caused by another exception.
- illegalState(Throwable, String, Object...) - Static method in class be.imgn.gaia.core.base.Throwables
-
Creates an exception that reports an illegal state, caused by another exception.
- 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
-
Initializes the processor with javac's processing environment, and creates its steps with
StepProcessor.steps(ProcessingContext). - 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, Class) - Static method in class be.imgn.gaia.processing.MoreElements
-
Returns whether an element is annotated directly with an annotation, known by its class.
- 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. - isCastFromObjectUnchecked(TypeMirror) - Static method in class be.imgn.gaia.processing.MoreTypes
-
Returns whether casting an
Objectto a type is an unchecked cast: one the runtime cannot fully check, so that javac warns about it. - 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.core.collect.HashMultiset
- isEmpty() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- isEmpty() - Method in interface be.imgn.gaia.core.io.ByteSource
-
Tells whether this source has no bytes, reading at most one byte to find out.
- isEmpty() - Method in interface be.imgn.gaia.core.io.CharSource
-
Tells whether this source has no characters, reading at most one character to find out.
- 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
- iterator() - Method in class be.imgn.gaia.core.collect.HashMultiset
- iterator() - Method in class be.imgn.gaia.core.collect.TreeMultiset
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
- lastEntry() - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns the entry of the highest element.
- lastEntry() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- length() - Method in interface be.imgn.gaia.core.io.CharSource
-
Returns the number of characters in this source, reading them all if
CharSource.lengthIfKnown()does not know it. - lengthIfKnown() - Method in interface be.imgn.gaia.core.io.CharSource
-
Returns the number of characters in this source if it is known without reading them.
- 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. - lines() - Method in interface be.imgn.gaia.core.io.CharSource
-
Opens a stream of the lines of this source, read as the stream is consumed.
- lineSeparator() - Method in interface be.imgn.gaia.core.system.SystemProperties
-
Returns the line separator,
"\n"on Unix: theline.separatorproperty. - LINKS - Enum constant in enum class be.imgn.gaia.memfs.Feature
-
Hard links:
Files.createLink(Path, Path). - 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. - lowerEntry(E) - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns the entry of the highest element strictly lower than an element.
- lowerEntry(E) - Method in class be.imgn.gaia.core.collect.TreeMultiset
M
- MAC_OS - Enum constant in enum class be.imgn.gaia.platform.testing.OperatingSystem
-
macOS.
- macOS() - Static method in class be.imgn.gaia.memfs.Configuration
-
Returns the configuration of a macOS-like file system: as
Configuration.unix(), but names match ignoring case and Unicode normalization, so thatCaféwritten with a composed or a decomposedéandCAFÉname the same file. - maxNameLength() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns how long a name may be.
- maxNameLength(int) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets how long a name may be.
- maxSize() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the capacity of the file system: writing past it throws a
FileSystemException. - maxSize(long) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets the capacity of the file system.
- members() - Method in class be.imgn.gaia.processing.source.Annotation
-
Returns the members, in the order they were added.
- MemoryFileSystems - Class in be.imgn.gaia.memfs
-
Creates file systems in memory.
- 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. - multiset(E...) - Static method in class be.imgn.gaia.core.collect.Multisets
-
Returns an unmodifiable multiset containing the given elements, each as many times as it is given.
- Multiset<E> - Interface in be.imgn.gaia.core.collect
-
A collection that counts how many times it contains each element: its occurrences.
- Multiset.Entry<E> - Interface in be.imgn.gaia.core.collect
-
An element of a multiset with its count.
- multisetCopy(Collection) - Static method in class be.imgn.gaia.core.collect.Multisets
-
Returns an unmodifiable multiset containing the elements of a collection, each as many times as it occurs there, in the order they first appear in its iteration.
- Multisets - Class in be.imgn.gaia.core.collect
-
Static factories and a collector for unmodifiable multisets that iterate in the order their elements first appear, with all occurrences of an element in a row:
multiset("foo", "bar", "foo")iterates overfoo, foo, bar.
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.
- nameMatching() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns how names are matched when files are looked up.
- nameMatching(NameMatching) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets how names are matched when files are looked up.
- NameMatching - Enum Class in be.imgn.gaia.memfs
-
How the names of the files of a directory are matched when they are looked up.
- 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(CodeBlock) - Static method in class be.imgn.gaia.processing.source.Type
-
Returns a builder of anonymous classes; see
Type.newAnonymousClassBuilder(String, Object...). - 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(PathStyle) - Static method in class be.imgn.gaia.memfs.Configuration
-
Returns a builder that starts with the defaults of a path style: those of
Configuration.unix()orConfiguration.windows(). - 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) - Static method in class be.imgn.gaia.processing.source.Annotation
-
Returns a builder of annotations of a type.
- newBuilder(Type, String) - Static method in class be.imgn.gaia.processing.source.Parameter
-
Returns a builder of parameters.
- newBuilder(Type, String, Modifier...) - Static method in class be.imgn.gaia.processing.source.Field
-
Returns a builder of fields.
- 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.
- newFileSystem() - Static method in class be.imgn.gaia.memfs.MemoryFileSystems
-
Creates a file system with a unique name and the
Configuration.unix()configuration. - newFileSystem(Configuration) - Static method in class be.imgn.gaia.memfs.MemoryFileSystems
-
Creates a file system with a unique name.
- newFileSystem(String, Configuration) - Static method in class be.imgn.gaia.memfs.MemoryFileSystems
-
Creates a file system.
- 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...). - noCurrentUser() - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Stops enforcing permissions.
- 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, Type...) - Static method in record class be.imgn.gaia.processing.source.ParameterizedTypeName
-
Returns the name of a parameterized type, such as
Map<String, List<Integer>>forMap.classand the generic types of its arguments. - of(Class) - Static method in class be.imgn.gaia.processing.source.Annotation
-
Returns an annotation without members.
- of(Type) - Static method in record class be.imgn.gaia.processing.source.ArrayTypeName
-
Returns the name of an array type, without annotations.
- of(Type) - Static method in interface be.imgn.gaia.processing.source.TypeName
-
Returns the name of a type obtained by reflection, such as the generic type of a field: a class, a parameterized type, a generic array, a type variable or a wildcard.
- of(Type, String, Modifier...) - Static method in class be.imgn.gaia.processing.source.Parameter
-
Returns a parameter.
- of(TypeVariable) - Static method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns the name of a type variable found by reflection, with its bounds, such as a type parameter of a class or a method, to declare it again:
T extends Comparable<? super T>for the type parameter ofCollections.max. - 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(URI) - Static method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source that reads what a URI points to, through the URL it converts to.
- of(URI, Charset) - Static method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source that reads the text a URI points to, through the URL it converts to.
- of(URL) - Static method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source that reads what a URL points to, such as a resource from
Class.getResource(String). - of(URL, Charset) - Static method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source that reads the text a URL points to, such as a resource from
Class.getResource(String). - of(Path, Charset, OpenOption...) - Static method in interface be.imgn.gaia.core.io.CharSink
-
Returns a sink that writes a text file.
- of(Path, Charset, OpenOption...) - Static method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source that reads a text file.
- of(Path, OpenOption...) - Static method in interface be.imgn.gaia.core.io.ByteSink
-
Returns a sink that writes a file.
- of(Path, OpenOption...) - Static method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source that reads a file.
- 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.
- openBufferedStream() - Method in interface be.imgn.gaia.core.io.ByteSink
-
Opens a new buffered stream to write the bytes of this sink.
- openBufferedStream() - Method in interface be.imgn.gaia.core.io.ByteSource
-
Opens a new buffered stream on the bytes of this source.
- openBufferedStream() - Method in interface be.imgn.gaia.core.io.CharSink
-
Opens a new buffered stream to write the characters of this sink.
- openBufferedStream() - Method in interface be.imgn.gaia.core.io.CharSource
-
Opens a new buffered stream on the characters of this source.
- openStream() - Method in interface be.imgn.gaia.core.io.ByteSink
-
Opens a new stream to write the bytes of this sink.
- openStream() - Method in interface be.imgn.gaia.core.io.ByteSource
-
Opens a new stream on the bytes of this source.
- openStream() - Method in interface be.imgn.gaia.core.io.CharSink
-
Opens a new stream to write the characters of this sink.
- openStream() - Method in interface be.imgn.gaia.core.io.CharSource
-
Opens a new stream on the characters of this source.
- 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. - PathStyle - Enum Class in be.imgn.gaia.memfs
-
How the paths of a file system are written: their separators, roots and the characters their names may have.
- 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. - pollFirstEntry() - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Removes all occurrences of the lowest element, and returns its entry as it was.
- pollFirstEntry() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- pollLastEntry() - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Removes all occurrences of the highest element, and returns its entry as it was.
- pollLastEntry() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- Preconditions - Class in be.imgn.gaia.core.base
-
Checks that a method is called correctly, and throws the matching exception if not.
- 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
-
Processes a round: gives each step the elements it gets in this round, or finishes the steps and writes the service files in the last round.
- 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 interface be.imgn.gaia.core.io.ByteSource
-
Reads all the bytes of this source.
- read() - Method in interface be.imgn.gaia.core.io.CharSource
-
Reads all the characters of this source.
- 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.
- readFirstLine() - Method in interface be.imgn.gaia.core.io.CharSource
-
Reads the first line of this source.
- readLines() - Method in interface be.imgn.gaia.core.io.CharSource
-
Reads all the lines of this source.
- 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. - remove(Object) - Method in class be.imgn.gaia.core.collect.HashMultiset
- remove(Object) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- remove(Object, int) - Method in class be.imgn.gaia.core.collect.HashMultiset
- remove(Object, int) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- remove(Object, int) - Method in interface be.imgn.gaia.core.collect.Multiset
-
Removes occurrences of an element, as many as there are if there are fewer.
- removeAll(Collection) - Method in class be.imgn.gaia.core.collect.HashMultiset
- removeAll(Collection) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- 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. - removeIf(Predicate) - Method in class be.imgn.gaia.core.collect.HashMultiset
- removeIf(Predicate) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- 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
- retainAll(Collection) - Method in class be.imgn.gaia.core.collect.HashMultiset
- retainAll(Collection) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- returns(TypeName) - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Sets the return type.
- returns(Type) - 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.
- reversed() - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns a view of this multiset in descending order.
- reversed() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- roots() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the root directories, as paths write them.
- roots(String, String...) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets the root directories.
- runtime() - Method in class be.imgn.gaia.platform.ApplicationDirectories
-
Returns the directory for the application's runtime files, such as sockets and named pipes, where the platform has a runtime directory.
- 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
- SECURE_DIRECTORY_STREAM - Enum constant in enum class be.imgn.gaia.memfs.Feature
-
SecureDirectoryStreams: aDirectoryStreamof the file system implements it. - 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. - setCount(int) - Method in interface be.imgn.gaia.core.collect.Multiset.Entry
-
Sets the number of occurrences of the element in the multiset (optional operation).
- setCount(E, int) - Method in class be.imgn.gaia.core.collect.HashMultiset
- setCount(E, int) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- setCount(E, int) - Method in interface be.imgn.gaia.core.collect.Multiset
-
Sets the number of occurrences of an element, adding or removing occurrences as needed.
- 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. - size() - Method in class be.imgn.gaia.core.collect.HashMultiset
- size() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- size() - Method in interface be.imgn.gaia.core.io.ByteSource
-
Returns the number of bytes in this source, reading them all if
ByteSource.sizeIfKnown()does not know it. - sizeIfKnown() - Method in interface be.imgn.gaia.core.io.ByteSource
-
Returns the number of bytes in this source if it is known without reading them.
- 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. - slice(long, long) - Method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source that reads a part of this one: at most
lengthbytes, fromoffseton. - SortedMultiset<E> - Interface in be.imgn.gaia.core.collect
-
A multiset that keeps its elements sorted, by their natural ordering or by a comparator: the multiset counterpart of
NavigableSet. - 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. - state() - Method in class be.imgn.gaia.platform.ApplicationDirectories
-
Returns the directory for the application's state: data that should persist between restarts but is not important or portable enough for
ApplicationDirectories.data(), such as history, logs or recently used files. - 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. - style() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the path style.
- subMultiset(E, boolean, E, boolean) - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns a view of the elements between two elements.
- subMultiset(E, boolean, E, boolean) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- subtypeOf(TypeName) - Static method in record class be.imgn.gaia.processing.source.WildcardTypeName
-
Returns
? extends bound. - subtypeOf(Type) - 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(Type) - 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(DeclaredType) - Method in class be.imgn.gaia.processing.ProcessingContext
-
Returns the direct superclass of a class as that class sees it, with the type arguments its declaration gives the superclass:
AbstractList<String>forArrayList<String>, asProcessingContext.asSupertype(TypeMirror, TypeElement)gives it. - 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. - supertypeOf(Type) - 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
- SYMBOLIC_LINKS - Enum constant in enum class be.imgn.gaia.memfs.Feature
-
Symbolic links:
Files.createSymbolicLink(Path, Path, FileAttribute...). - 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
- tailMultiset(E, boolean) - Method in interface be.imgn.gaia.core.collect.SortedMultiset
-
Returns a view of the elements higher than an element, or equal to it if
inclusiveistrue. - tailMultiset(E, boolean) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- TestCompiler - Class in be.imgn.gaia.processing.testing
-
Compiles in-memory sources with the system Java compiler, in process, running the given annotation processors.
- Throwables - Class in be.imgn.gaia.core.base
-
Creates exceptions from the exception that caused them.
- 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.memfs.Configuration
-
Returns a builder that starts with this configuration.
- 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.
- toMultiset() - Static method in class be.imgn.gaia.core.collect.Multisets
-
Returns a collector into an unmodifiable multiset that iterates in the order the elements are first encountered.
- 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.memfs.Configuration
- 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
- TreeMultiset<E> - Class in be.imgn.gaia.core.collect
- 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. - unicodeNormalization() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the Unicode normalization names are matched under, if any.
- unicodeNormalization(Normalizer.Form) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets the Unicode normalization names are matched under: with any form, a name written with composed or decomposed characters names the same file.
- unindent() - Method in class be.imgn.gaia.processing.source.CodeBlock.Builder
-
Unindents the lines that follow.
- unix() - Static method in class be.imgn.gaia.memfs.Configuration
-
Returns the configuration of a Linux-like file system: the root
/, the working directory/work, names matched exactly, and thebasic,owner,posixandunixattribute views. - UNIX - Enum constant in enum class be.imgn.gaia.memfs.PathStyle
-
As on Linux and macOS:
/is the one root and the separator, and a name may have any character but/andNUL. - 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.memfs.Feature
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.gaia.memfs.NameMatching
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.gaia.memfs.PathStyle
-
Returns the enum constant of this class with the specified name.
- 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.memfs.Feature
-
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.memfs.NameMatching
-
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.memfs.PathStyle
-
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.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() - Method in class be.imgn.gaia.processing.source.Method.Builder
-
Makes the last parameter variable arity.
- varargs() - Method in class be.imgn.gaia.processing.source.Type.Builder
-
Makes the last component of a record variable arity.
- 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.
- watchServicePollingInterval() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns how often a watch service looks for changes in the directories it watches.
- watchServicePollingInterval(Duration) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets how often a watch service looks for changes in the directories it watches.
- 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() - Static method in class be.imgn.gaia.memfs.Configuration
-
Returns the configuration of a Windows-like file system: the root
C:\, the working directoryC:\work, names matched ignoring case, and thebasic,owner,dos,aclanduserattribute views. - WINDOWS - Enum constant in enum class be.imgn.gaia.memfs.PathStyle
-
As on Windows:
\is the separator, and/is read as one too. - 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"). - withBounds(TypeName...) - Method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns this name with more bounds, after the ones it has, and the same annotations.
- withBounds(List) - Method in record class be.imgn.gaia.processing.source.TypeVariableName
-
Returns this name with more bounds, after the ones it has, and the same annotations.
- 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. - workingDirectory() - Method in class be.imgn.gaia.memfs.Configuration
-
Returns the working directory, which relative paths are resolved against.
- workingDirectory(String) - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Sets the working directory, which relative paths are resolved against.
- wrap(byte[]) - Static method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source that reads an array.
- wrap(CharSequence) - Static method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source that reads a character sequence.
- 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(byte[]) - Method in interface be.imgn.gaia.core.io.ByteSink
-
Writes bytes to this sink.
- write(JavaFile, Element...) - Method in class be.imgn.gaia.processing.GeneratedSources
-
Writes a source file, unless it was already created.
- write(CharSequence) - Method in interface be.imgn.gaia.core.io.CharSink
-
Writes characters to this sink.
- write(String, Function, Element...) - Method in class be.imgn.gaia.processing.GeneratedSources
-
Writes a source file, unless it was already created.
- write(Path, byte[]) - Static method in class be.imgn.gaia.core.io.AtomicFiles
-
Writes bytes to a file atomically, creating it or replacing its content.
- write(Path, AtomicFiles.Output) - Static method in class be.imgn.gaia.core.io.AtomicFiles
-
Writes a file atomically, creating it or replacing its content with what
outputwrites. - writeFrom(InputStream) - Method in interface be.imgn.gaia.core.io.ByteSink
-
Writes the bytes of a stream to this sink, up to its end.
- writeFrom(Readable) - Method in interface be.imgn.gaia.core.io.CharSink
-
Writes the characters of a readable to this sink, up to its end.
- writeLines(Iterable) - Method in interface be.imgn.gaia.core.io.CharSink
-
Writes lines to this sink, each followed by the line separator of the system.
- writeLines(Iterable, String) - Method in interface be.imgn.gaia.core.io.CharSink
-
Writes lines to this sink, each followed by a separator.
- writeLines(Stream) - Method in interface be.imgn.gaia.core.io.CharSink
-
Writes the lines of a stream to this sink, each followed by the line separator of the system.
- writeLines(Stream, String) - Method in interface be.imgn.gaia.core.io.CharSink
-
Writes the lines of a stream to this sink, each followed by a separator.
- writeString(Path, CharSequence) - Static method in class be.imgn.gaia.core.io.AtomicFiles
-
Writes text to a file atomically in UTF-8, creating it or replacing its content.
- writeString(Path, CharSequence, Charset) - Static method in class be.imgn.gaia.core.io.AtomicFiles
-
Writes text to a file atomically in a charset, creating it or replacing its content.
- writeTo(OutputStream) - Method in interface be.imgn.gaia.core.io.AtomicFiles.Output
-
Writes the content of a file to
out. - writeTo(Appendable) - Method in class be.imgn.gaia.processing.source.JavaFile
-
Writes the file.
- writeTo(Path) - Method in class be.imgn.gaia.processing.source.JavaFile
-
Writes the file under a source root, as
<directory>/com/example/Foo.javaforcom.example.Foo, in UTF-8. - writeTo(Path, Charset) - Method in class be.imgn.gaia.processing.source.JavaFile
-
Writes the file under a source root, as
JavaFile.writeTo(Path)does, in a charset. - writeTo(Filer, Element...) - Method in class be.imgn.gaia.processing.source.JavaFile
-
Writes the file through the filer of an annotation processor, in ASCII only: every character after U+007F is written as a Unicode escape, so that the code means the same under any
-encodingof the compilation.
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