All Classes and Interfaces
Class
Description
The elements a
Step gets 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.An annotation to write, such as
@Override or @SuppressWarnings({"unchecked", "rawtypes"}).A builder of
Annotations.Reads the values of an annotation, defaults included, with the types they are declared with.
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.The name of an array type, such as
String[].Classes, case mapping, comparison and trimming of ASCII characters, as many protocols, file formats and identifiers
define them.
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.
Writes the content of a file to a stream.
A writable destination of bytes, such as a file, that opens a new stream each time it is written.
A readable source of bytes, such as a file or a URL, that opens a new stream each time it is read.
Charsets that gaia relies on.
A writable destination of characters, such as a text file, that opens a new stream each time it is written.
A readable source of characters, such as a text file or a string, that opens a new stream each time it is read.
The name of a class, interface, enum, record or annotation type, possibly nested in others.
A fragment of code: statements, an expression, or Javadoc text, with placeholders for the types and names it refers
to.
A builder of
CodeBlocks.The outcome of a
TestCompiler run: whether it succeeded, every diagnostic, and every generated file.AssertJ assertions on a
Compilation.How a memory file system behaves: its path style, roots, working directory, capacity, name matching, attribute views,
default attributes, clock and features.
A builder of
Configurations.AssertJ assertions on the diagnostics of a
Compilation that matched an earlier assertion, such as
CompilationAssert.hadErrorContaining(String).Reports errors, warnings and notes at a precise place in the source: an element, one of its annotations, or one
attribute of that annotation.
The base directories where applications store their files, as defined by the XDG Base Directory Specification.
A source of environment variables: the running JVM's, or fixed ones for tests.
Delivers each event it is given to the subscribers of the event's class and of all its supertypes.
Builds an
EventBus.Directories under one root directory, such as a test's temporary directory, so that code under test never
touches the real ones.Builds
FakeDirectories.A
Platform with the operating system of your choice and its directories under a root directory, such as a
test's temporary directory.Builds a
FakePlatform.A
Ticker that only moves when told to, so that tests of timing code are exact and instant.An optional capability of a file system.
A field, such as
private static final int LIMIT = 10;.A builder of
Fields.Writes the Java source files a processor generates, with their package declaration and imports: modelled as a
JavaFile, or written as text.A Java source file: a package, one top-level type, and the imports they need, which are worked out when the file is
written.
A builder of
JavaFiles.A multimap that keeps the values of each key in a list, in the order they were added, duplicates included.
Static factories and collectors for unmodifiable maps that iterate in the order their keys are given.
Creates file systems in memory.
A method, a constructor, or the compact constructor of a record.
A builder of
Methods.Collectors that
Collectors does not provide.Navigation, casts and checks on
Elements that javax.lang.model does not provide.Gatherers that
Gatherers does not provide.A function of an element and its index in a stream.
A predicate of an element and its index in a stream.
Checks and conversions on
TypeMirrors that javax.lang.model does not provide.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.AssertJ assertions on a
Multimap.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.
A collection that counts how many times it contains each element: its occurrences.
An element of a multiset with its count.
AssertJ assertions on a
Multiset: the assertions on any collection, such as contains or
hasSize, which counts occurrences, and assertions on the count of each element.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 over foo, foo,
bar.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.
How the names of the files of a directory are matched when they are looked up.
A naming convention: a way to write a name made of several words, such as
timeoutSeconds or
timeout-seconds, and the conversion from one to another.Subscribes a method as
@Subscribe does, but has each of its events delivered on a new virtual
thread, with VirtualThreadExecutor.The operating systems a
Platform can tell apart: one for each of Platform.isLinux(),
Platform.isMacOS() and Platform.isWindows(), and one for the other Unix-like systems, for which all
three are false.A parameter of a method or constructor, or a component of a record, such as
final String name.A builder of
Parameters.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 as Outer<String>.Inner.How the paths of a file system are written: their separators, roots and the characters their names may have.
The platform the JVM runs on: its operating system and the directories applications use on it.
Detects a
Platform from its sources.The system properties and environment variables a JVM typically has on an operating system, to detect a
Platform from, so that tests run the real detection of the directories of any operating system:Builds a
PlatformPreset.Checks that a method is called correctly, and throws the matching exception if not.
The name of a primitive type, or
void.Everything a processor works with: javac's processing environment, and gaia's helpers on top of it.
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
Diagnostics reports it.AssertJ assertions on an annotation processor class.
An option of an annotation processor, given to javac as
-Aname=value, with its type and default value.An interval of comparable values: all the values between a lower and an upper bound.
A bound of a range: closed, open, or absent.
A bound that includes its endpoint.
A bound that excludes its endpoint.
The absence of a bound: the range extends forever on that side.
AssertJ assertions on a
Range.Writes the service files
ServiceLoader reads on the class path:
META-INF/services/<service>, listing the implementations of a service, one binary name per line.A multimap that keeps the values of each key in a set, without duplicates: adding an entry it already contains leaves
it unchanged.
Static factories and a collector for unmodifiable sets that iterate in the order their elements are given.
Makes
CompilationExtension share one compilation across all the tests of the annotated class, and its nested
classes, instead of starting one per test.A multiset that keeps its elements sorted, by their natural ordering or by a comparator: the multiset counterpart of
NavigableSet.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.Splits text into parts around a separator: a character, a literal string or a regular expression.
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.An annotation processor made of
Steps, which takes care of processing rounds.Measures elapsed time, on a
Ticker rather than on the wall clock.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.
Subscribes the
@Subscribe methods a class declares, and those with a
subscribing annotation: implemented by the code
gaia-processor generates for that class, and found by
EventBus.register(Object) with ServiceLoader.Subscribes the methods of a listener, on behalf of the event bus.
Marks an annotation that subscribes the methods it annotates as
@Subscribe does, and has the bus
deliver their events through an executor, such as on a given thread.What
EventBus.subscribe(Class, java.util.function.Consumer) or EventBus.register(Object) subscribed,
until it is closed.A source of system properties: the running JVM's, or fixed ones for tests.
Compiles in-memory sources with the system Java compiler, in process, running the given annotation processors.
Creates exceptions from the exception that caused them.
A source of nanosecond time, for measuring elapsed time: only the difference between two readings is meaningful.
A class, interface, enum, record or annotation type, or an anonymous class.
A builder of
Types.The kinds of type.
A
TypeMirror with the equals and hashCode of the type it denotes, for use in sets and maps:
TypeMirror itself does not define them, and two mirrors of List<String> need not be equal.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.The name of a type variable, such as
T.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 +.Runs each task on a new virtual thread: the executor of
@OnVirtualThread.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) and
MoreElements.effectiveVisibility(javax.lang.model.element.Element).The name of a wildcard type argument:
?, ? extends T or ? super T.