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() - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of all values:
(-∞, +∞). - all() - Method in class be.imgn.gaia.processing.AnnotatedElements
-
Returns every annotated 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; and the root elements of the round, if the step processes them. - 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.core.platform.Platform
-
Returns the directories of an application, named by its name alone.
- applicationDirectories(String, String) - Method in interface be.imgn.gaia.core.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.core.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.core.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. - apply(long, T) - Method in interface be.imgn.gaia.core.collect.MoreGatherers.IndexedFunction
-
Applies this function.
- 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() - Method in interface be.imgn.gaia.core.io.CharSink
-
Returns a sink that writes bytes to this one, decoded from the current default charset.
- 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() - Method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source of the bytes that encode these characters in the current default charset.
- asByteSource(Charset) - Method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source of the bytes that encode these characters.
- asCharSink() - Method in interface be.imgn.gaia.core.io.ByteSink
-
Returns a sink that writes characters to this one, encoded in the current default charset.
- 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() - Method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source of the characters these bytes encode in the current default charset.
- asCharSource(Charset) - Method in interface be.imgn.gaia.core.io.ByteSource
-
Returns a source of the characters these bytes encode.
- Ascii - Class in be.imgn.gaia.core.text
-
Classes, case mapping, comparison and trimming of ASCII characters, as many protocols, file formats and identifiers define them.
- 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>. - asMap() - Method in class be.imgn.gaia.core.collect.HashListMultimap
- asMap() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- asMap() - Method in interface be.imgn.gaia.core.collect.ListMultimap
-
Returns a live view of this multimap as a map from each key to its values.
- asMap() - Method in interface be.imgn.gaia.core.collect.Multimap
-
Returns a live view of this multimap as a map from each key to its values.
- asMap() - Method in interface be.imgn.gaia.core.collect.SetMultimap
-
Returns a live view of this multimap as a map from each key to its values.
- 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(Multimap) - Static method in class be.imgn.gaia.core.testing.MultimapAssert
-
Returns assertions on a multimap.
- assertThat(Multiset) - Static method in class be.imgn.gaia.core.testing.MultisetAssert
-
Returns assertions on a multiset.
- assertThat(Range) - Static method in class be.imgn.gaia.core.testing.RangeAssert
-
Returns assertions on a range.
- 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.
- atLeast(C) - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of the values greater than or equal to an endpoint:
[lower, +∞). - atMost(C) - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of the values less than or equal to an endpoint:
(-∞, upper]. - 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, and an event bus whose
@Subscribemethods are wired, without reflection, by code thatgaia-processorgenerates. - 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.event - package be.imgn.gaia.core.event
-
An event bus:
EventBus, theSubscriptions it hands out, and@Subscribefor the methods of listeners, as are the annotations that@SubscribingAnnotationmarks. - be.imgn.gaia.core.event.spi - package be.imgn.gaia.core.event.spi
-
The interface between
EventBusand the codegaia-processorgenerates. - be.imgn.gaia.core.io - package be.imgn.gaia.core.io
-
Reading and writing files.
- be.imgn.gaia.core.platform - package be.imgn.gaia.core.platform
-
The cross-platform API.
- 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, aFakePlatform, or AssertJ assertions on its types. - 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.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.
- be.imgn.gaia.processor - module be.imgn.gaia.processor
-
The annotation processor of
gaia-core, which generates the code that subscribes the@Subscribemethods of each class. - 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 record class be.imgn.gaia.core.base.Version
-
Returns the value of the
buildrecord component. - build() - Method in class be.imgn.gaia.core.event.EventBus.Builder
-
Builds the bus.
- build() - Method in class be.imgn.gaia.core.testing.FakeDirectories.Builder
-
Builds the directories, creating them if this builder was told to.
- build() - Method in class be.imgn.gaia.core.testing.FakePlatform.Builder
-
Builds the platform.
- build() - Method in class be.imgn.gaia.core.testing.PlatformPreset.Builder
-
Builds the system properties and environment variables.
- build() - Method in class be.imgn.gaia.memfs.Configuration.Builder
-
Builds the configuration.
- 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.core.platform.ApplicationDirectories
-
Returns the directory for the application's non-essential, cached data.
- cacheHome() - Method in interface be.imgn.gaia.core.platform.Directories
-
Returns the directory for user-specific non-essential, cached data.
- cacheHome() - Method in class be.imgn.gaia.core.testing.FakeDirectories
- cacheHome(Path) - Method in class be.imgn.gaia.core.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. - Charsets - Class in be.imgn.gaia.core.base
-
Charsets that gaia relies on.
- 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.
- checkName(String, String) - Static method in class be.imgn.gaia.core.platform.ApplicationDirectories
-
Checks a name as the overloads of
Platform.applicationDirectories(String)do: the name of an application, of its vendor, or of its vendor's qualifier. - 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.HashListMultimap
- clear() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- clear() - Method in class be.imgn.gaia.core.collect.HashMultiset
- clear() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- clear() - Method in interface be.imgn.gaia.core.collect.Multimap
-
Removes all entries.
- 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.
- close() - Method in class be.imgn.gaia.core.event.Subscription
-
Unsubscribes what this subscription subscribed, so that it receives no event published from then on.
- closed(C, C) - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of the values between two endpoints, both included:
[lower, upper]. - Closed(C) - Constructor for record class be.imgn.gaia.core.collect.Range.Bound.Closed
-
Creates a closed bound.
- closedOpen(C, C) - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of the values between two endpoints, the lower one included:
[lower, upper). - 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(Version) - Method in record class be.imgn.gaia.core.base.Version
-
Compares this version with another by precedence, as Semantic Versioning defines it, ignoring build metadata.
- 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.core.platform.ApplicationDirectories
-
Returns the directory for the application's configuration files.
- configDirs() - Method in interface be.imgn.gaia.core.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.core.testing.FakeDirectories
- configDirs(List) - Method in class be.imgn.gaia.core.testing.FakeDirectories.Builder
-
Sets the system-wide directories to search for configuration files.
- configHome() - Method in interface be.imgn.gaia.core.platform.Directories
-
Returns the directory for user-specific configuration files.
- configHome() - Method in class be.imgn.gaia.core.testing.FakeDirectories
- configHome(Path) - Method in class be.imgn.gaia.core.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(C) - Method in record class be.imgn.gaia.core.collect.Range
-
Returns whether this range contains a value.
- contains(C...) - Method in class be.imgn.gaia.core.testing.RangeAssert
-
Verifies that the range contains all the given values.
- contains(Object) - Method in class be.imgn.gaia.core.collect.HashMultiset
- contains(Object) - Method in class be.imgn.gaia.core.collect.TreeMultiset
- containsEntry(Object, Object) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- containsEntry(Object, Object) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- containsEntry(Object, Object) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Returns whether a key has a value.
- containsEntry(K, V) - Method in class be.imgn.gaia.core.testing.MultimapAssert
-
Verifies that the multimap contains an entry.
- containsExactlyCounts(Map) - Method in class be.imgn.gaia.core.testing.MultisetAssert
-
Verifies that the multiset contains exactly the given elements, each the given number of times.
- containsKey(Object) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- containsKey(Object) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- containsKey(Object) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Returns whether a key has at least one value.
- containsKeys(K...) - Method in class be.imgn.gaia.core.testing.MultimapAssert
-
Verifies that the multimap contains all the given keys.
- containsValue(Object) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- containsValue(Object) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- containsValue(Object) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Returns whether a value belongs to at least one key.
- 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.HashListMultimap
-
Returns a new, empty multimap.
- 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.HashSetMultimap
-
Returns a new, empty multimap.
- 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() - Static method in class be.imgn.gaia.core.event.EventBus
-
Returns a bus that delivers events on the thread that publishes them, and logs the exceptions of subscribers.
- create(Multimap) - Static method in class be.imgn.gaia.core.collect.HashListMultimap
-
Returns a new multimap containing the entries of another multimap.
- create(Multimap) - Static method in class be.imgn.gaia.core.collect.HashSetMultimap
-
Returns a new multimap containing the entries of another multimap.
- 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.core.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.core.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.core.platform.ApplicationDirectories
-
Returns the directory for the application's data files.
- dataDirs() - Method in interface be.imgn.gaia.core.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.core.testing.FakeDirectories
- dataDirs(List) - Method in class be.imgn.gaia.core.testing.FakeDirectories.Builder
-
Sets the system-wide directories to search for data files.
- dataHome() - Method in interface be.imgn.gaia.core.platform.Directories
-
Returns the directory for user-specific data files.
- dataHome() - Method in class be.imgn.gaia.core.testing.FakeDirectories
- dataHome(Path) - Method in class be.imgn.gaia.core.testing.FakeDirectories.Builder
-
Sets the directory for user-specific data files.
- DEFAULT_CHARSET - Static variable in class be.imgn.gaia.core.base.Charsets
-
The charset that the methods of gaia use when they are not given one, which currently is UTF-8.
- 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.core.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.core.platform.Platform
-
Returns the directories where applications store their files on this platform.
- directories() - Method in class be.imgn.gaia.core.testing.FakePlatform
- directories(Directories) - Method in class be.imgn.gaia.core.testing.FakePlatform.Builder
-
Sets the directories of the platform, instead of the default
FakeDirectoriesunder the root. - Directories - Interface in be.imgn.gaia.core.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. - distinctAdjacent() - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that drops each element equal to the one right before it.
- distinctAdjacentBy(Function) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that drops each element whose key equals the key of the element right before it.
- distinctBy(Function) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that keeps the first element of each key, in encounter order.
- doesNotContain(C...) - Method in class be.imgn.gaia.core.testing.RangeAssert
-
Verifies that the range contains none of the given values.
- doesNotContainEntry(K, V) - Method in class be.imgn.gaia.core.testing.MultimapAssert
-
Verifies that the multimap does not contain an entry.
- doesNotContainKeys(K...) - Method in class be.imgn.gaia.core.testing.MultimapAssert
-
Verifies that the multimap contains none of the given keys.
- doesNotEnclose(Range) - Method in class be.imgn.gaia.core.testing.RangeAssert
-
Verifies that the range does not enclose another one.
- DOUBLE - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
double. - dropLast(int) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that drops the last
nelements, or all of them if there are fewer.
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.
- encloses(Range) - Method in record class be.imgn.gaia.core.collect.Range
-
Returns whether this range contains all the values of another range, possibly an empty one within its bounds.
- encloses(Range) - Method in class be.imgn.gaia.core.testing.RangeAssert
-
Verifies that the range encloses another one.
- 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...). - endpoint() - Method in record class be.imgn.gaia.core.collect.Range.Bound.Closed
-
Returns the value of the
endpointrecord component. - endpoint() - Method in record class be.imgn.gaia.core.collect.Range.Bound.Open
-
Returns the value of the
endpointrecord component. - entries() - Method in class be.imgn.gaia.core.collect.HashListMultimap
- entries() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- entries() - Method in interface be.imgn.gaia.core.collect.Multimap
-
Returns a live view of the entries, grouped by key.
- entries() - Method in interface be.imgn.gaia.core.collect.SetMultimap
-
Returns a live view of the entries, grouped by key.
- 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.core.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.core.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.core.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.HashListMultimap
- equals(Object) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- 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.Multimap
-
Returns whether another object is a multimap with the same keys and values.
- 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.core.base.Version
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.core.collect.Range.Bound.Closed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.core.collect.Range.Bound.Open
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.core.collect.Range.Bound.Unbounded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.gaia.core.collect.Range
-
Indicates whether some other object is "equal to" this one.
- 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.
- equalsIgnoreCase(CharSequence, CharSequence) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether two texts are equal when ASCII uppercase letters are taken as lowercase:
DocTypeequalsDOCTYPE, butPUBLıCdoes not equalPUBLIC. - 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.
- EventBus - Class in be.imgn.gaia.core.event
-
Delivers each event it is given to the subscribers of the event's class and of all its supertypes.
- EventBus.Builder - Class in be.imgn.gaia.core.event
-
Builds an
EventBus. - everyNth(int) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that keeps every
nth element, starting with the first: the elements at index 0,n,2n, and so on. - EXACT - Enum constant in enum class be.imgn.gaia.memfs.NameMatching
-
Names match only when they have the same characters, as on Linux.
- exceptionHandler(BiConsumer) - Method in class be.imgn.gaia.core.event.EventBus.Builder
-
Sets what handles an exception thrown by a subscriber, instead of logging it.
- exceptions() - Method in class be.imgn.gaia.processing.source.Method
-
Returns the exceptions in the
throwsclause. - execute(Runnable) - Method in class be.imgn.gaia.core.event.VirtualThreadExecutor
-
Starts a virtual thread that runs a task.
- executor() - Element in annotation interface be.imgn.gaia.core.event.SubscribingAnnotation
-
Returns the class of the executor that delivers the events, with an accessible constructor without parameters that declares no checked exceptions.
- executor(Class, Executor) - Method in class be.imgn.gaia.core.event.EventBus.Builder
-
Makes the bus deliver the events of the methods with a subscribing annotation through an executor, rather than through the one the annotation names, which the bus then never creates: to deliver them right away in tests, for instance.
- executor(Executor) - Method in class be.imgn.gaia.core.event.EventBus.Builder
-
Makes the bus deliver each event in a task of an executor, rather than on the thread that publishes it.
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.core.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.core.testing
-
Builds
FakeDirectories. - FakePlatform - Class in be.imgn.gaia.core.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.core.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.core.platform.Platform
-
Returns the file system of this platform, which all its paths belong to.
- fileSystem() - Method in class be.imgn.gaia.core.testing.FakePlatform
- fileSystem(FileSystem) - Method in class be.imgn.gaia.core.platform.Platform.Builder
-
Sets the file system the platform's paths belong to.
- filterWithIndex(MoreGatherers.IndexedPredicate) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that keeps the elements that satisfy a predicate of the element and its index in the stream, counted from 0.
- 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. - forEach(BiConsumer) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- forEach(BiConsumer) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- forEach(BiConsumer) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Calls an action with the key and value of each entry, grouped by key.
- 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.
- from(String) - Method in enum class be.imgn.gaia.core.text.NamingConvention
-
Converts text that follows any convention to this one.
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. - generatedName(String) - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a top-level type generated for this one: in the same package,
$, the simple names from the top-level type to this one joined by$, then$$and the kind of the generated type. - generatedName(String, String) - Static method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a type generated for a whole package: in that package,
$$and the kind of the generated type, such ascom.example.$$Mappersfor the packagecom.exampleand the kindMappers. - generatedName(ExecutableElement, String) - Static method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a top-level type generated for a method: in the package of its type,
$, the simple names from the top-level type to the method's joined by$, then$$, the name of the method,$$and the kind of the generated type. - generatedNameIn(String, String) - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the name of a type generated for this one in another package, such as an implementation of an annotation type that belongs with the code using it: in that package,
$$, the names of this type's package joined by$,$$, the simple names from the top-level type to this one joined by$, then$$and the kind of the generated type. - 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.
- get(K) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- get(K) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- get(K) - Method in interface be.imgn.gaia.core.collect.ListMultimap
-
Returns a live view of the values of a key, empty if the key is absent.
- get(K) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Returns a live view of the values of a key, empty if the key is absent.
- get(K) - Method in interface be.imgn.gaia.core.collect.SetMultimap
-
Returns a live view of the values of a key, empty if the key is absent.
- 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, or if a step processes root elements, which javac only gives to the processors that support*when none is annotated. - 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.
- greaterThan(C) - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of the values greater than an endpoint:
(lower, +∞). - groupRuns(Function) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer of the runs of consecutive elements with equal keys, each as an unmodifiable list.
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. - hasCount(E, int) - Method in class be.imgn.gaia.core.testing.MultisetAssert
-
Verifies that the multiset contains an element a number of times.
- hasDistinctSize(int) - Method in class be.imgn.gaia.core.testing.MultisetAssert
-
Verifies that the multiset has a number of distinct elements.
- hasErrors() - Method in class be.imgn.gaia.processing.Diagnostics
-
Returns whether any error was reported through these diagnostics.
- hashCode() - Method in record class be.imgn.gaia.core.base.Version
-
Returns a hash code value for this object.
- hashCode() - Method in class be.imgn.gaia.core.collect.HashListMultimap
- hashCode() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- 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.Multimap
-
Returns the hash code of
Multimap.asMap(). - 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 record class be.imgn.gaia.core.collect.Range.Bound.Closed
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.gaia.core.collect.Range.Bound.Open
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.gaia.core.collect.Range.Bound.Unbounded
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.gaia.core.collect.Range
-
Returns a hash code value for this object.
- 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
- HashListMultimap<K,
V> - Class in be.imgn.gaia.core.collect - HashMultiset<E> - Class in be.imgn.gaia.core.collect
- HashSetMultimap<K,
V> - Class in be.imgn.gaia.core.collect - hasSize(int) - Method in class be.imgn.gaia.core.testing.MultimapAssert
-
Verifies that the multimap has a number of entries: of key-value pairs, not of distinct keys.
- hasValues(K, V...) - Method in class be.imgn.gaia.core.testing.MultimapAssert
-
Verifies that a key has exactly the given values: in this order if the values of the key are a
List, as in aListMultimap, and in any order if they are aSet, as in aSetMultimap. - 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.platform.Directories
-
Returns the user's home directory.
- 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 class be.imgn.gaia.core.testing.FakeDirectories
- home(String) - Method in class be.imgn.gaia.core.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.core.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.
- intersection(Range) - Method in record class be.imgn.gaia.core.collect.Range
-
Returns the values that this range and another one have in common.
- 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.
- isAlpha(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is an ASCII letter:
AtoZ, oratoz. - isAlphanumeric(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is an ASCII letter or digit.
- 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.
- isConnected(Range) - Method in record class be.imgn.gaia.core.collect.Range
-
Returns whether the union of this range and another one is a range: whether they overlap or are adjacent, as
[1, 3)and[3, 5]are. - isConnectedTo(Range) - Method in class be.imgn.gaia.core.testing.RangeAssert
-
Verifies that the range is connected to another one: that they overlap or are adjacent.
- isConstructor() - Method in class be.imgn.gaia.processing.source.Method
-
Returns whether this is a constructor, compact or not.
- isDigit(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is an ASCII digit:
0to9. - isEmpty() - Method in class be.imgn.gaia.core.collect.HashListMultimap
- isEmpty() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- 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.collect.Multimap
-
Returns whether this multimap has no entries.
- isEmpty() - Method in record class be.imgn.gaia.core.collect.Range
-
Returns whether this range contains no value, as
[3, 3)does. - 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.core.testing.MultimapAssert
-
Verifies that the multimap has no entries.
- isEmpty() - Method in class be.imgn.gaia.core.testing.RangeAssert
-
Verifies that the range is empty, as
[3, 3)is. - 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.
- isHexDigit(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is an ASCII hexadecimal digit:
0to9,AtoF, oratof. - 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.core.platform.Platform
-
Returns whether this platform runs Linux.
- isLinux() - Method in class be.imgn.gaia.core.testing.FakePlatform
- isLowerAlpha(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is an ASCII lowercase letter:
atoz. - isLowerHexDigit(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is an ASCII lowercase hexadecimal digit:
0to9, oratof. - isMacOS() - Method in interface be.imgn.gaia.core.platform.Platform
-
Returns whether this platform runs macOS.
- isMacOS() - Method in class be.imgn.gaia.core.testing.FakePlatform
- isNotConnectedTo(Range) - Method in class be.imgn.gaia.core.testing.RangeAssert
-
Verifies that the range is not connected to another one: that some value lies between them.
- isNotEmpty() - Method in class be.imgn.gaia.core.testing.MultimapAssert
-
Verifies that the multimap has entries.
- isNotEmpty() - Method in class be.imgn.gaia.core.testing.RangeAssert
-
Verifies that the range is not empty.
- isPreRelease() - Method in record class be.imgn.gaia.core.base.Version
-
Returns whether this version is a pre-release: whether it has pre-release identifiers.
- 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.
- isUpperAlpha(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is an ASCII uppercase letter:
AtoZ. - isUpperHexDigit(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is an ASCII uppercase hexadecimal digit:
0to9, orAtoF. - 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. - isWhitespace(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a code point is ASCII whitespace: tab (U+0009), line feed (U+000A), form feed (U+000C), carriage return (U+000D) or space (U+0020).
- isWindows() - Method in interface be.imgn.gaia.core.platform.Platform
-
Returns whether this platform runs Windows.
- isWindows() - Method in class be.imgn.gaia.core.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
- keySet() - Method in class be.imgn.gaia.core.collect.HashListMultimap
- keySet() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- keySet() - Method in interface be.imgn.gaia.core.collect.Multimap
-
Returns a live view of the distinct keys.
- 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.
- lessThan(C) - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of the values less than an endpoint:
(-∞, upper). - 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.core.testing.OperatingSystem
-
Linux.
- listenerType() - Method in interface be.imgn.gaia.core.event.spi.SubscriberIndex
-
Returns the class whose methods this index subscribes.
- ListMultimap<K,
V> - Interface in be.imgn.gaia.core.collect -
A multimap that keeps the values of each key in a list, in the order they were added, duplicates included.
- listMultimapCopy(Multimap) - Static method in class be.imgn.gaia.core.collect.Multimaps
-
Returns an unmodifiable list multimap containing the entries of another multimap, in its iteration order.
- LONG - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
long. - lower() - Method in record class be.imgn.gaia.core.collect.Range
-
Returns the value of the
lowerrecord component. - LOWER_CAMEL - Enum constant in enum class be.imgn.gaia.core.text.NamingConvention
-
Words joined together, each one capitalized except the first:
timeoutSeconds. - LOWER_DOT - Enum constant in enum class be.imgn.gaia.core.text.NamingConvention
-
Lowercase words separated by dots:
timeout.seconds. - LOWER_HYPHEN - Enum constant in enum class be.imgn.gaia.core.text.NamingConvention
-
Lowercase words separated by hyphens:
timeout-seconds. - LOWER_UNDERSCORE - Enum constant in enum class be.imgn.gaia.core.text.NamingConvention
-
Lowercase words separated by underscores:
timeout_seconds. - 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.core.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. - major() - Method in record class be.imgn.gaia.core.base.Version
-
Returns the value of the
majorrecord component. - map() - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing zero mappings.
- map(K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing a single mapping.
- map(K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing two mappings, iterating in the order given.
- map(K, V, K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing three mappings, iterating in the order given.
- map(K, V, K, V, K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing four mappings, iterating in the order given.
- map(K, V, K, V, K, V, K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing five mappings, iterating in the order given.
- map(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing six mappings, iterating in the order given.
- map(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing seven mappings, iterating in the order given.
- map(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing eight mappings, iterating in the order given.
- map(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing nine mappings, iterating in the order given.
- map(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing ten mappings, iterating in the order given.
- mapCopy(Map) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing the mappings of
map, iterating in the map's iteration order. - mapOfEntries(Map.Entry...) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns an unmodifiable map containing the keys and values of the given entries, iterating in the order given.
- Maps - Class in be.imgn.gaia.core.collect
-
Static factories and collectors for unmodifiable maps that iterate in the order their keys are given.
- mapWithIndex(MoreGatherers.IndexedFunction) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that maps each element with its index in the stream, counted from 0.
- max(int, Comparator) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer of the
ngreatest elements, the greatest first, or of all of them, sorted, if there are fewer. - 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.
- min(int, Comparator) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer of the
nleast elements, the least first, or of all of them, sorted, if there are fewer. - minor() - Method in record class be.imgn.gaia.core.base.Version
-
Returns the value of the
minorrecord component. - 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. - MoreGatherers.IndexedFunction<T,
R> - Interface in be.imgn.gaia.core.collect -
A function of an element and its index in a stream.
- MoreGatherers.IndexedPredicate<T> - Interface in be.imgn.gaia.core.collect
-
A predicate of an element and its index in a stream.
- MoreTypes - Class in be.imgn.gaia.processing
-
Checks and conversions on
TypeMirrors thatjavax.lang.modeldoes not provide. - Multimap<K,
V> - Interface in be.imgn.gaia.core.collect -
A collection that maps keys to values, like a
Map, but where a key may have several values: its entries are key-value pairs, and a key is in the multimap as long as it has a value. - MultimapAssert<K,
V> - Class in be.imgn.gaia.core.testing -
AssertJ assertions on a
Multimap. - Multimaps - Class in be.imgn.gaia.core.collect
-
Static factories and collectors for unmodifiable multimaps that iterate over their keys in the order they first appear, and over the values of a key in the order they are given.
- 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.
- MultisetAssert<E> - Class in be.imgn.gaia.core.testing
-
AssertJ assertions on a
Multiset: the assertions on any collection, such ascontainsorhasSize, which counts occurrences, and assertions on the count of each element. - 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.
- NamingConvention - Enum Class in be.imgn.gaia.core.text
-
A naming convention: a way to write a name made of several words, such as
timeoutSecondsortimeout-seconds, and the conversion from one to another. - 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>. - newAbstractIterableAssert(Iterable) - Method in class be.imgn.gaia.core.testing.MultisetAssert
- 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 class be.imgn.gaia.core.event.EventBus
-
Returns a builder of a bus, which delivers events on the thread that publishes them, and logs the exceptions of subscribers, unless told otherwise.
- newBuilder() - Static method in interface be.imgn.gaia.core.platform.Platform
-
Returns a builder that detects a platform from the given sources, or from the running JVM's for any source not given.
- newBuilder() - Static method in class be.imgn.gaia.processing.source.CodeBlock
-
Returns a builder of code blocks.
- newBuilder(OperatingSystem) - Static method in class be.imgn.gaia.core.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.core.testing.FakePlatform
-
Returns a builder of a platform running an operating system, with its directories under a root directory.
- 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(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.core.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(long, long, long) - Static method in record class be.imgn.gaia.core.base.Version
-
Returns a release version, without pre-release identifiers or build metadata.
- 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) - 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, encoded in the current default charset.
- 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) - 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), encoded in the current default charset. - 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(Path, OpenOption...) - Static method in interface be.imgn.gaia.core.io.CharSink
-
Returns a sink that writes a text file in the current default charset.
- of(Path, OpenOption...) - Static method in interface be.imgn.gaia.core.io.CharSource
-
Returns a source that reads a text file encoded in the current default charset.
- 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.
- OnVirtualThread - Annotation Interface in be.imgn.gaia.core.event
-
Subscribes a method as
@Subscribedoes, but has each of its events delivered on a new virtual thread, withVirtualThreadExecutor. - open(C, C) - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of the values between two endpoints, both excluded:
(lower, upper). - Open(C) - Constructor for record class be.imgn.gaia.core.collect.Range.Bound.Open
-
Creates an open bound.
- 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.
- openClosed(C, C) - Static method in record class be.imgn.gaia.core.collect.Range
-
Returns the range of the values between two endpoints, the upper one included:
(lower, upper]. - 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.core.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.core.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 withoutabstract,default,native,synchronizedorstrictfp. - 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.
- parse(String) - Static method in record class be.imgn.gaia.core.base.Version
-
Parses a version, such as
1.4.0-rc.1+build.5. - patch() - Method in record class be.imgn.gaia.core.base.Version
-
Returns the value of the
patchrecord component. - 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.core.platform
-
The platform the JVM runs on: its operating system and the directories applications use on it.
- Platform.Builder - Class in be.imgn.gaia.core.platform
-
Detects a
Platformfrom its sources. - PlatformPreset - Class in be.imgn.gaia.core.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.core.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.
- preRelease() - Method in record class be.imgn.gaia.core.base.Version
-
Returns the value of the
preReleaserecord component. - 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.
- processesRootElements() - Method in interface be.imgn.gaia.processing.Step
-
Returns whether this step also gets the root elements of each round, annotated or not, with
AnnotatedElements.rootElements(), such as to process the classes that implement an interface. - processesUnresolvedRootElements() - Method in interface be.imgn.gaia.processing.Step
-
Returns whether this step, if it processes root elements, also gets those whose members have types javac could not resolve yet, such as the types this step generates for them.
- 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.
- publish(Object) - Method in class be.imgn.gaia.core.event.EventBus
-
Delivers an event to the subscribers of its class and of its supertypes.
- put(K, V) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- put(K, V) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- put(K, V) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Adds an entry.
- putAll(Multimap) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- putAll(Multimap) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- putAll(Multimap) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Adds the entries of another multimap.
- putAll(K, Iterable) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- putAll(K, Iterable) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- putAll(K, Iterable) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Adds an entry for each of the given values, with the same key.
Q
- qualifiedName() - Method in class be.imgn.gaia.processing.AnnotationReader
-
Returns the fully qualified name of the annotation type.
R
- Range<C> - Record Class in be.imgn.gaia.core.collect
-
An interval of comparable values: all the values between a lower and an upper bound.
- Range(Range.Bound, Range.Bound) - Constructor for record class be.imgn.gaia.core.collect.Range
-
Creates a range from its bounds.
- Range.Bound<C> - Interface in be.imgn.gaia.core.collect
-
A bound of a range: closed, open, or absent.
- Range.Bound.Closed<C> - Record Class in be.imgn.gaia.core.collect
-
A bound that includes its endpoint.
- Range.Bound.Open<C> - Record Class in be.imgn.gaia.core.collect
-
A bound that excludes its endpoint.
- Range.Bound.Unbounded<C> - Record Class in be.imgn.gaia.core.collect
-
The absence of a bound: the range extends forever on that side.
- RangeAssert<C> - Class in be.imgn.gaia.core.testing
-
AssertJ assertions on a
Range. - 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. - regionMatchesIgnoreCase(CharSequence, int, CharSequence) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a region of a text, starting at an offset and as long as another text, equals that other text, ignoring ASCII case.
- register(Object) - Method in class be.imgn.gaia.core.event.EventBus
-
Subscribes the
@Subscribemethods of a listener, those of its class and of the classes it extends, through the codegaia-processorgenerated for each of these classes. - 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.
- remove(Object, Object) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- remove(Object, Object) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- remove(Object, Object) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Removes an entry.
- removeAll(Object) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- removeAll(Object) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- removeAll(Object) - Method in interface be.imgn.gaia.core.collect.ListMultimap
-
Removes all the values of a key.
- removeAll(Object) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Removes all the values of a key.
- removeAll(Object) - Method in interface be.imgn.gaia.core.collect.SetMultimap
-
Removes all the values of a key.
- 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.core.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
- replaceValues(K, Iterable) - Method in class be.imgn.gaia.core.collect.HashListMultimap
- replaceValues(K, Iterable) - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- replaceValues(K, Iterable) - Method in interface be.imgn.gaia.core.collect.ListMultimap
-
Replaces all the values of a key.
- replaceValues(K, Iterable) - Method in interface be.imgn.gaia.core.collect.Multimap
-
Replaces all the values of a key.
- replaceValues(K, Iterable) - Method in interface be.imgn.gaia.core.collect.SetMultimap
-
Replaces all the values of a key.
- 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
- rootElements() - Method in class be.imgn.gaia.processing.AnnotatedElements
-
Returns the root elements of the round, annotated or not, if the step processes them: its top-level types, and the packages and modules its
package-infoandmodule-infofiles declare. - 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.core.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.core.platform.Directories
-
Returns the directory for user-specific runtime files, such as sockets and named pipes.
- runtimeDir() - Method in class be.imgn.gaia.core.testing.FakeDirectories
- runtimeDir(Path) - Method in class be.imgn.gaia.core.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.
- SetMultimap<K,
V> - Interface in be.imgn.gaia.core.collect -
A multimap that keeps the values of each key in a set, without duplicates: adding an entry it already contains leaves it unchanged.
- setMultimapCopy(Multimap) - Static method in class be.imgn.gaia.core.collect.Multimaps
-
Returns an unmodifiable set multimap containing the entries of another multimap, in its iteration order.
- Sets - Class in be.imgn.gaia.core.collect
-
Static factories and a collector for unmodifiable sets that iterate in the order their elements are given.
- SharedCompilation - Annotation Interface in be.imgn.gaia.processing.testing
-
Makes
CompilationExtensionshare one compilation across all the tests of the annotated class, and its nested classes, instead of starting one per test. - SHORT - Static variable in record class be.imgn.gaia.processing.source.PrimitiveTypeName
-
short. - simpleName() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the simple name of this type.
- simpleName() - Method in class be.imgn.gaia.processing.SourceScope
-
Returns the simple name of the generated top-level type.
- simpleNames() - Method in record class be.imgn.gaia.processing.source.ClassName
-
Returns the value of the
simpleNamesrecord component. - size() - Method in class be.imgn.gaia.core.collect.HashListMultimap
- size() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- 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.collect.Multimap
-
Returns the number of entries: the key-value pairs, not the distinct keys.
- 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. - span(Range) - Method in record class be.imgn.gaia.core.collect.Range
-
Returns the smallest range that encloses this range and another one, with the values between them if they are not connected.
- split(CharSequence) - Method in class be.imgn.gaia.core.text.Splitter
-
Splits
text. - spliterator() - Method in class be.imgn.gaia.core.collect.HashMultiset
- spliterator() - Method in class be.imgn.gaia.core.collect.TreeMultiset
- 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. - startsWithIgnoreCase(CharSequence, CharSequence) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns whether a text starts with a prefix, ignoring ASCII case.
- state() - Method in class be.imgn.gaia.core.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.core.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.core.testing.FakeDirectories
- stateHome(Path) - Method in class be.imgn.gaia.core.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, and optionally of every root element. - 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. - strip(CharSequence) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns text without the ASCII whitespace at its start and its end.
- stripLeading(CharSequence) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns text without the ASCII whitespace at its start.
- stripTrailing(CharSequence) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns text without the ASCII whitespace at its end.
- 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
- subscribe(Class, Class, Supplier, Consumer) - Method in interface be.imgn.gaia.core.event.spi.SubscriberIndex.Registrar
-
Subscribes a method with a subscribing annotation to the events of a type and of its subtypes, delivered through the executor of the annotation.
- subscribe(Class, Consumer) - Method in class be.imgn.gaia.core.event.EventBus
-
Subscribes to the events of a type and of its subtypes.
- subscribe(Class, Consumer) - Method in interface be.imgn.gaia.core.event.spi.SubscriberIndex.Registrar
-
Subscribes a method to the events of a type and of its subtypes.
- subscribe(Object, SubscriberIndex.Registrar) - Method in interface be.imgn.gaia.core.event.spi.SubscriberIndex
-
Subscribes the methods of a listener.
- Subscribe - Annotation Interface in be.imgn.gaia.core.event
-
Marks a method that receives events once its listener is registered: the events of the type of its parameter, and of the subtypes of that type.
- SubscriberIndex - Interface in be.imgn.gaia.core.event.spi
-
Subscribes the
@Subscribemethods a class declares, and those with a subscribing annotation: implemented by the codegaia-processorgenerates for that class, and found byEventBus.register(Object)withServiceLoader. - SubscriberIndex.Registrar - Interface in be.imgn.gaia.core.event.spi
-
Subscribes the methods of a listener, on behalf of the event bus.
- SubscribingAnnotation - Annotation Interface in be.imgn.gaia.core.event
-
Marks an annotation that subscribes the methods it annotates as
@Subscribedoes, and has the bus deliver their events through an executor, such as on a given thread. - Subscription - Class in be.imgn.gaia.core.event
-
What
EventBus.subscribe(Class, java.util.function.Consumer)orEventBus.register(Object)subscribed, until it is closed. - 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.core.testing.PlatformPreset
-
Returns the system properties, to give to
Platform.Builder.systemProperties(SystemProperties). - systemProperties(SystemProperties) - Method in class be.imgn.gaia.core.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.core.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
- takeLast(int) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that keeps the last
nelements, or all of them if there are fewer. - takeWhileInclusive(Predicate) - Static method in class be.imgn.gaia.core.collect.MoreGatherers
-
Returns a gatherer that keeps the elements while a predicate holds, and the first element that fails it, then stops.
- test(long, T) - Method in interface be.imgn.gaia.core.collect.MoreGatherers.IndexedPredicate
-
Evaluates this predicate.
- 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.
- to(NamingConvention, String) - Method in enum class be.imgn.gaia.core.text.NamingConvention
-
Converts text that follows this convention to another convention.
- 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.
- toAssert(E, String) - Method in class be.imgn.gaia.core.testing.MultisetAssert
- 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.
- toListMultimap(Function, Function) - Static method in class be.imgn.gaia.core.collect.Multimaps
-
Returns a collector into an unmodifiable list multimap that iterates in encounter order: over its keys in the order they are first encountered, and over the values of a key in the order they are encountered.
- toLowerCamel(String) - Method in enum class be.imgn.gaia.core.text.NamingConvention
-
Converts text that follows this convention to
NamingConvention.LOWER_CAMEL. - toLowerCase(char) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns the lowercase of a character if it is an ASCII uppercase letter, or the character itself.
- toLowerCase(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns the lowercase of a code point if it is an ASCII uppercase letter, or the code point itself.
- toLowerCase(CharSequence) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns text with its ASCII uppercase letters in lowercase.
- toLowerDot(String) - Method in enum class be.imgn.gaia.core.text.NamingConvention
-
Converts text that follows this convention to
NamingConvention.LOWER_DOT. - toLowerHyphen(String) - Method in enum class be.imgn.gaia.core.text.NamingConvention
-
Converts text that follows this convention to
NamingConvention.LOWER_HYPHEN. - toLowerUnderscore(String) - Method in enum class be.imgn.gaia.core.text.NamingConvention
-
Converts text that follows this convention to
NamingConvention.LOWER_UNDERSCORE. - toMap(Function, Function) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns a collector into an unmodifiable map that iterates in encounter order: the ordered counterpart of
Collectors.toUnmodifiableMap(Function, Function). - toMap(Function, Function, BinaryOperator) - Static method in class be.imgn.gaia.core.collect.Maps
-
Returns a collector into an unmodifiable map that iterates in encounter order: the ordered counterpart of
Collectors.toUnmodifiableMap(Function, Function, BinaryOperator). - 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(). - toSetMultimap(Function, Function) - Static method in class be.imgn.gaia.core.collect.Multimaps
-
Returns a collector into an unmodifiable set multimap that iterates in encounter order: over its keys in the order they are first encountered, and over the values of a key in the order they are first encountered.
- toString() - Method in record class be.imgn.gaia.core.base.Version
-
Returns this version as Semantic Versioning writes it, such as
1.4.0-rc.1+build.5: the text thatVersion.parse(String)reads it from. - toString() - Method in class be.imgn.gaia.core.collect.HashListMultimap
- toString() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- toString() - Method in class be.imgn.gaia.core.collect.HashMultiset
-
Returns each element once, followed by
×and its count if it occurs more than once, as in[foo × 3, bar]: the occurrences may be too many to write one by one. - toString() - Method in class be.imgn.gaia.core.collect.TreeMultiset
-
Returns each element once, followed by
×and its count if it occurs more than once, as in[foo × 3, bar]: the occurrences may be too many to write one by one. - toString() - Method in record class be.imgn.gaia.core.collect.Range.Bound.Closed
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.gaia.core.collect.Range.Bound.Open
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.gaia.core.collect.Range.Bound.Unbounded
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.gaia.core.collect.Range
-
Returns this range in interval notation, such as
[0, 10)or(-∞, 5]. - 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 once rounded to four significant digits, with those four 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
- toUpperCamel(String) - Method in enum class be.imgn.gaia.core.text.NamingConvention
-
Converts text that follows this convention to
NamingConvention.UPPER_CAMEL. - toUpperCase(char) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns the uppercase of a character if it is an ASCII lowercase letter, or the character itself.
- toUpperCase(int) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns the uppercase of a code point if it is an ASCII lowercase letter, or the code point itself.
- toUpperCase(CharSequence) - Static method in class be.imgn.gaia.core.text.Ascii
-
Returns text with its ASCII lowercase letters in uppercase.
- toUpperUnderscore(String) - Method in enum class be.imgn.gaia.core.text.NamingConvention
-
Converts text that follows this convention to
NamingConvention.UPPER_UNDERSCORE. - 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. - tryParse(String) - Static method in record class be.imgn.gaia.core.base.Version
-
Parses a version as
Version.parse(String)does, unless the text is not one. - 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
?. - Unbounded() - Constructor for record class be.imgn.gaia.core.collect.Range.Bound.Unbounded
-
Creates an instance of a
Unboundedrecord class. - 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. - upper() - Method in record class be.imgn.gaia.core.collect.Range
-
Returns the value of the
upperrecord component. - UPPER_CAMEL - Enum constant in enum class be.imgn.gaia.core.text.NamingConvention
-
Words joined together, each one capitalized:
TimeoutSeconds. - UPPER_UNDERSCORE - Enum constant in enum class be.imgn.gaia.core.text.NamingConvention
-
Uppercase words separated by underscores:
TIMEOUT_SECONDS. - 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.core.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.core.testing.OperatingSystem
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.gaia.core.text.NamingConvention
-
Returns the enum constant of this class with the specified name.
- 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.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() - Method in class be.imgn.gaia.core.collect.HashListMultimap
- values() - Method in class be.imgn.gaia.core.collect.HashSetMultimap
- values() - Method in interface be.imgn.gaia.core.collect.Multimap
-
Returns a live view of the values of all keys, each value as many times as it occurs, grouped by key.
- values() - Static method in enum class be.imgn.gaia.core.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.core.text.NamingConvention
-
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.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.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.
- Version - Record Class in be.imgn.gaia.core.base
-
A version number as Semantic Versioning 2.0.0 defines it, such as
1.4.0-rc.1+build.5: a major, minor and patch version, then optional pre-release identifiers after-, then optional build metadata identifiers after+. - Version(long, long, long, List, List) - Constructor for record class be.imgn.gaia.core.base.Version
-
Creates a version.
- VirtualThreadExecutor - Class in be.imgn.gaia.core.event
-
Runs each task on a new virtual thread: the executor of
@OnVirtualThread. - VirtualThreadExecutor() - Constructor for class be.imgn.gaia.core.event.VirtualThreadExecutor
-
Creates the executor, as the code that subscribes
@OnVirtualThreadmethods does. - 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.core.testing.OperatingSystem
-
Windows.
- WINDOWS - Enum constant in enum class be.imgn.gaia.memfs.PathStyle
-
As on Windows:
\is the separator, and/is read as one too. - 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.core.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. - withResource(JavaFileManager.Location, String, byte[]) - Method in class be.imgn.gaia.processing.testing.TestCompiler
-
Returns a compiler that also gives the compilation a binary resource, such as an image, as
TestCompiler.withResource(JavaFileManager.Location, String, String)does with text. - withResource(JavaFileManager.Location, String, String) - Method in class be.imgn.gaia.processing.testing.TestCompiler
-
Returns a compiler that also gives the compilation a resource, such as a file an annotation processor reads with
Filer.getResource(JavaFileManager.Location, CharSequence, CharSequence), besides the resources this one gives. - 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 the current default charset, 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 the current default charset. - 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.core.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