Index
All Classes and Interfaces|All Packages
A
- add(ModuleRuntimeAccessOptions.Builder, ModuleRuntimeAccessOptions) - Static method in class com.netflix.module.ModuleRuntimeAccess
-
Adds all options to a builder.
- addExports() - Method in class com.netflix.module.ModuleRuntimeAccessOptions
-
Returns qualified package exports.
- addExports(String, String, String) - Method in class com.netflix.module.ModuleRuntimeAccessOptions.Builder
-
Adds a qualified package export.
- addOpens() - Method in class com.netflix.module.ModuleRuntimeAccessOptions
-
Returns qualified package opens.
- addOpens(String, String, String) - Method in class com.netflix.module.ModuleRuntimeAccessOptions.Builder
-
Adds a qualified package open operation.
- algorithm() - Method in record class com.netflix.module.ModuleHash
-
Returns the value of the
algorithmrecord component.
B
- build() - Method in class com.netflix.module.ModuleInfoHash.Builder
-
Creates an immutable snapshot of the recorded entries.
- build() - Method in class com.netflix.module.ModuleRuntimeAccessOptions.Builder
-
Creates an immutable option set.
C
- checkLaunch(List) - Static method in class com.netflix.module.ModuleRuntimeAccess
-
Resolves a modular launch and verifies recorded requirements against its arguments.
- checkRequirements(ModuleRuntimeAccessOptions, ModuleRuntimeAccessOptions) - Static method in class com.netflix.module.ModuleRuntimeAccess
-
Verifies that supplied options include every required authorization.
- close() - Method in class com.netflix.module.compile.ModuleCompiler
- com.netflix.module - package com.netflix.module
- com.netflix.module.compile - package com.netflix.module.compile
- com.netflix.tools.jig - module com.netflix.tools.jig
-
Resolves module paths, module source paths, module versions, and tool arguments for modular Java projects.
- compareTo(ModulePathEntry) - Method in record class com.netflix.module.compile.ModulePathEntry
- compareTo(ModuleInfoHash.Coordinate) - Method in record class com.netflix.module.ModuleInfoHash.Coordinate
- compilationHash() - Method in class com.netflix.module.compile.CompiledModule
-
Computes a conservative compile-time API identity.
- compile(Path, ModuleCompiler.Configuration, int) - Method in class com.netflix.module.compile.ModuleCompiler
-
Compiles or reuses a source module with the default options.
- compile(Path, ModuleCompiler.Configuration, int, ModuleCompiler.Options) - Method in class com.netflix.module.compile.ModuleCompiler
-
Compiles a source module with explicit reuse and diagnostic options.
- CompiledModule - Class in com.netflix.module.compile
-
An immutable compiled module represented by a base directory and optional patch.
- computeAndPut(ModuleReference) - Method in class com.netflix.module.ModuleInfoHash.Builder
-
Computes and records the hash of a module using the coordinate reported by its descriptor.
- Configuration(String, OptionalInt, boolean, Optional, ModuleRuntimeAccessOptions, List, ModuleCompiler.ModulePathResolver) - Constructor for record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Creates a configuration without a main class or additional observable sources.
- Configuration(String, OptionalInt, boolean, Optional, Optional, ModuleRuntimeAccessOptions, List, ModuleCompiler.ModulePathResolver) - Constructor for record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Creates a configuration without additional observable source modules.
- Configuration(String, OptionalInt, boolean, Optional, Optional, ModuleRuntimeAccessOptions, Map, List, ModuleCompiler.ModulePathResolver) - Constructor for record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Validates, normalizes, and creates a compilation configuration.
- Coordinate(String) - Constructor for record class com.netflix.module.ModuleInfoHash.Coordinate
-
Creates an unversioned module coordinate.
- Coordinate(String, String) - Constructor for record class com.netflix.module.ModuleInfoHash.Coordinate
-
Creates a coordinate by parsing a module version.
- Coordinate(String, Optional) - Constructor for record class com.netflix.module.ModuleInfoHash.Coordinate
-
Validates and creates a module coordinate.
- covers(ModuleInfoHash) - Method in class com.netflix.module.ModuleInfoHash
-
Tests whether all observed entries occur unchanged in this set.
D
- DEFAULT - Static variable in record class com.netflix.module.compile.ModuleCompiler.Options
-
Reuses output and emits diagnostics.
- differences(ModuleInfoHash) - Method in class com.netflix.module.ModuleInfoHash
-
Describes entries which are missing, no longer observed, or changed.
- digest() - Method in record class com.netflix.module.ModuleHash
-
Returns the value of the
digestrecord component.
E
- emitDiagnostics() - Method in record class com.netflix.module.compile.ModuleCompiler.Options
-
Returns the value of the
emitDiagnosticsrecord component. - EMPTY - Static variable in class com.netflix.module.ModuleRuntimeAccessOptions
-
An option set containing no runtime access.
- enableFinalFieldMutation() - Method in class com.netflix.module.ModuleRuntimeAccessOptions
-
Returns modules authorized to mutate final fields.
- enableFinalFieldMutation(String) - Method in class com.netflix.module.ModuleRuntimeAccessOptions.Builder
-
Authorizes final-field mutation for a module.
- enableNativeAccess() - Method in class com.netflix.module.ModuleRuntimeAccessOptions
-
Returns modules authorized for native access.
- enableNativeAccess(String) - Method in class com.netflix.module.ModuleRuntimeAccessOptions.Builder
-
Authorizes native access for a module.
- equals(Object) - Method in class com.netflix.module.compile.CompiledModule
- equals(Object) - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.netflix.module.compile.ModuleCompiler.ModulePath
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.netflix.module.compile.ModuleCompiler.Options
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.netflix.module.compile.ModulePathEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.netflix.module.ModuleHash
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.netflix.module.ModuleInfoHash.Coordinate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.netflix.module.ModuleInfoHash
- equals(Object) - Method in class com.netflix.module.ModuleRuntimeAccessOptions
- equals(Object) - Method in record class com.netflix.module.ModuleRuntimeAccessOptions.PackageAccess
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.netflix.module.ModuleRuntimeMetadata
-
Indicates whether some other object is "equal to" this one.
F
- forceCompilation() - Method in record class com.netflix.module.compile.ModuleCompiler.Options
-
Returns the value of the
forceCompilationrecord component. - forModule(ModuleRuntimeAccessOptions, String) - Static method in class com.netflix.module.ModuleRuntimeAccess
-
Selects options whose access is granted to one target module.
- fromClassBytes(byte[]) - Static method in record class com.netflix.module.ModuleRuntimeMetadata
-
Reads metadata from
module-info.classbytes.
G
- get(ModuleInfoHash.Coordinate) - Method in class com.netflix.module.ModuleInfoHash
-
Returns the hash recorded for a coordinate.
- get(String) - Method in class com.netflix.module.ModuleInfoHash
-
Returns the hash recorded for an unversioned module name.
- get(String, String) - Method in class com.netflix.module.ModuleInfoHash
-
Returns the hash recorded for a module name and descriptor version.
H
- hash() - Method in class com.netflix.module.compile.CompiledModule
-
Computes the byte-oriented module hash only when it is requested.
- hash() - Method in record class com.netflix.module.compile.ModulePathEntry
-
Returns the value of the
hashrecord component. - hashCode() - Method in class com.netflix.module.compile.CompiledModule
- hashCode() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.netflix.module.compile.ModuleCompiler.ModulePath
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.netflix.module.compile.ModuleCompiler.Options
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.netflix.module.compile.ModulePathEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.netflix.module.ModuleHash
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.netflix.module.ModuleInfoHash.Coordinate
-
Returns a hash code value for this object.
- hashCode() - Method in class com.netflix.module.ModuleInfoHash
- hashCode() - Method in class com.netflix.module.ModuleRuntimeAccessOptions
- hashCode() - Method in record class com.netflix.module.ModuleRuntimeAccessOptions.PackageAccess
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.netflix.module.ModuleRuntimeMetadata
-
Returns a hash code value for this object.
- hashForKey(ModuleInfoHash.Coordinate) - Method in class com.netflix.module.ModuleInfoHash
-
Returns the hash recorded for a coordinate.
- hasPatchModule() - Method in record class com.netflix.module.compile.ModuleCompiler.ModulePath
-
Tests whether the module requires a
--patch-modulepath.
I
- isEmpty() - Method in class com.netflix.module.ModuleRuntimeAccessOptions
-
Tests whether this set authorizes no runtime access.
K
- keys() - Method in class com.netflix.module.ModuleInfoHash
-
Returns the recorded coordinates.
L
- location() - Method in record class com.netflix.module.compile.ModulePathEntry
-
Returns the value of the
locationrecord component.
M
- mainClass() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
mainClassrecord component. - mapper() - Static method in class com.netflix.module.ModuleRuntimeAccessAttribute
-
Returns the Class-File API mapper for this attribute.
- mapperOption() - Static method in class com.netflix.module.ModuleRuntimeAccessAttribute
-
Returns a Class-File API option which recognizes this attribute.
- MODULE - Enum constant in enum class com.netflix.module.ModuleHash.Type
-
A complete module.
- ModuleCompiler - Class in com.netflix.module.compile
-
Compiles Java source modules to immutable filesystem directories.
- ModuleCompiler(Path) - Constructor for class com.netflix.module.compile.ModuleCompiler
-
Creates a compiler which does not emit diagnostics.
- ModuleCompiler(Path, DiagnosticListener) - Constructor for class com.netflix.module.compile.ModuleCompiler
-
Creates a compiler that reports current and retained javac diagnostics to
diagnosticListener. - ModuleCompiler.Configuration - Record Class in com.netflix.module.compile
-
Immutable inputs affecting compilation and output reuse.
- ModuleCompiler.ModulePath - Record Class in com.netflix.module.compile
-
Filesystem paths presenting a compiled module.
- ModuleCompiler.ModulePathResolver - Interface in com.netflix.module.compile
-
Resolves the filesystem path for a declared module-path entry.
- ModuleCompiler.Options - Record Class in com.netflix.module.compile
-
Controls reuse, diagnostic emission, and verbose javac output for one compilation.
- ModuleHash - Record Class in com.netflix.module
-
Content identity of a resolved module or module patch.
- ModuleHash(ModuleHash.Type, String, String) - Constructor for record class com.netflix.module.ModuleHash
-
Validates and creates a module hash.
- ModuleHash.Type - Enum Class in com.netflix.module
-
The kind of module content represented by a hash.
- ModuleInfoHash - Class in com.netflix.module
-
Reads, writes, and verifies detached
module-info.hashfiles. - ModuleInfoHash.Builder - Class in com.netflix.module
-
Builds immutable detached module hash sets.
- ModuleInfoHash.Coordinate - Record Class in com.netflix.module
-
A module key in a hash file.
- moduleName() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
moduleNamerecord component. - moduleName() - Method in record class com.netflix.module.compile.ModulePathEntry
-
Returns the value of the
moduleNamerecord component. - moduleName() - Method in record class com.netflix.module.ModuleInfoHash.Coordinate
-
Returns the value of the
moduleNamerecord component. - modulePath() - Method in record class com.netflix.module.compile.ModuleCompiler.ModulePath
-
Returns the value of the
modulePathrecord component. - modulePath(String, CompiledModule) - Method in class com.netflix.module.compile.ModuleCompiler
-
Returns a reusable module path, retaining a patch when one is available.
- modulePath(String, CompiledModule, boolean) - Method in class com.netflix.module.compile.ModuleCompiler
-
Returns paths presenting a compiled module, optionally materializing a complete module rather than returning a patch.
- ModulePath(Path, Path) - Constructor for record class com.netflix.module.compile.ModuleCompiler.ModulePath
-
Creates an instance of a
ModulePathrecord class. - modulePathEntries() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
modulePathEntriesrecord component. - ModulePathEntry - Record Class in com.netflix.module.compile
-
Compilation identity of a module supplied to a javac module-path location.
- ModulePathEntry(String, StandardLocation, ModuleHash) - Constructor for record class com.netflix.module.compile.ModulePathEntry
-
Validates and creates a module-path entry.
- ModuleRuntimeAccess - Class in com.netflix.module
-
Reads, writes, combines, and validates module runtime access requirements.
- ModuleRuntimeAccessAttribute - Class in com.netflix.module
-
A module's fully qualified runtime access requirements.
- ModuleRuntimeAccessOptions - Class in com.netflix.module
-
Fully qualified runtime access options authorized by a source module.
- ModuleRuntimeAccessOptions.Builder - Class in com.netflix.module
-
Builds immutable runtime access option sets.
- ModuleRuntimeAccessOptions.PackageAccess - Record Class in com.netflix.module
-
A qualified package export or open operation.
- ModuleRuntimeMetadata - Record Class in com.netflix.module
-
Runtime metadata not exposed by
ModuleDescriptor. - ModuleRuntimeMetadata(int, boolean) - Constructor for record class com.netflix.module.ModuleRuntimeMetadata
-
Validates and creates module runtime metadata.
- moduleSha256(ModuleReference) - Static method in record class com.netflix.module.ModuleHash
-
Computes a SHA-256 identity from the names and bytes of a module's resources using the
ModuleHashesalgorithm in JDK 15. - moduleSources() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
moduleSourcesrecord component. - moduleVersion() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
moduleVersionrecord component.
N
- newBuilder() - Static method in class com.netflix.module.ModuleInfoHash
-
Creates an empty hash-set builder.
- newBuilder() - Static method in class com.netflix.module.ModuleRuntimeAccessOptions
-
Creates an empty option builder.
O
- of(ModuleRuntimeAccessOptions) - Static method in class com.netflix.module.ModuleRuntimeAccessAttribute
-
Creates an attribute containing runtime access requirements.
- options() - Method in class com.netflix.module.ModuleRuntimeAccessAttribute
-
Returns the requirements stored in this attribute.
- Options(boolean, boolean) - Constructor for record class com.netflix.module.compile.ModuleCompiler.Options
-
Creates options without javac verbose output.
- Options(boolean, boolean, Writer) - Constructor for record class com.netflix.module.compile.ModuleCompiler.Options
-
Creates an instance of a
Optionsrecord class.
P
- PackageAccess(String, String, String) - Constructor for record class com.netflix.module.ModuleRuntimeAccessOptions.PackageAccess
-
Validates and creates a package access operation.
- packageName() - Method in record class com.netflix.module.ModuleRuntimeAccessOptions.PackageAccess
-
Returns the value of the
packageNamerecord component. - parse(String) - Static method in record class com.netflix.module.ModuleHash
-
Parses the
type:algorithm:digestexternal form. - parseArguments(List) - Static method in class com.netflix.module.ModuleRuntimeAccess
-
Parses recognized runtime access options from launcher arguments.
- PATCH - Enum constant in enum class com.netflix.module.ModuleHash.Type
-
Content applied with
--patch-module. - patchModulePath() - Method in record class com.netflix.module.compile.ModuleCompiler.ModulePath
-
Returns the value of the
patchModulePathrecord component. - patchSha256(Path) - Static method in record class com.netflix.module.ModuleHash
-
Computes a SHA-256 identity for a patch archive or directory.
- paths() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
pathsrecord component. - preview() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
previewrecord component. - preview() - Method in record class com.netflix.module.ModuleRuntimeMetadata
-
Returns the value of the
previewrecord component. - put(ModuleInfoHash.Coordinate, ModuleHash) - Method in class com.netflix.module.ModuleInfoHash.Builder
-
Records a hash by coordinate.
- put(String, ModuleHash) - Method in class com.netflix.module.ModuleInfoHash.Builder
-
Records a hash by unversioned module name.
- put(String, String, ModuleHash) - Method in class com.netflix.module.ModuleInfoHash.Builder
-
Records a hash by module name and descriptor version.
R
- read(ModuleReference) - Static method in class com.netflix.module.ModuleRuntimeAccess
-
Reads the runtime access attribute from a module descriptor.
- read(ModuleReference) - Static method in record class com.netflix.module.ModuleRuntimeMetadata
-
Reads metadata from a module descriptor.
- read(Path) - Static method in record class com.netflix.module.ModuleHash
-
Reads a hash in external form from a single-line file.
- read(Path) - Static method in class com.netflix.module.ModuleInfoHash
-
Reads a detached module hash file.
- release() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
releaserecord component. - release() - Method in record class com.netflix.module.ModuleRuntimeMetadata
-
Returns the value of the
releaserecord component. - resolve(ModulePathEntry) - Method in interface com.netflix.module.compile.ModuleCompiler.ModulePathResolver
-
Resolves an entry without changing its declared identity.
- runtimeAccess() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns the value of the
runtimeAccessrecord component.
S
- SILENT - Static variable in record class com.netflix.module.compile.ModuleCompiler.Options
-
Reuses output without emitting retained or current diagnostics.
- size() - Method in class com.netflix.module.ModuleInfoHash
-
Returns the number of recorded coordinates.
- sourceModule() - Method in record class com.netflix.module.ModuleRuntimeAccessOptions.PackageAccess
-
Returns the value of the
sourceModulerecord component.
T
- targetModule() - Method in record class com.netflix.module.ModuleRuntimeAccessOptions.PackageAccess
-
Returns the value of the
targetModulerecord component. - toFlagValue() - Method in record class com.netflix.module.ModuleRuntimeAccessOptions.PackageAccess
-
Returns the operand accepted by
--add-exportsor--add-opens. - toString() - Method in class com.netflix.module.compile.CompiledModule
- toString() - Method in record class com.netflix.module.compile.ModuleCompiler.Configuration
-
Returns a string representation of this record class.
- toString() - Method in record class com.netflix.module.compile.ModuleCompiler.ModulePath
-
Returns a string representation of this record class.
- toString() - Method in record class com.netflix.module.compile.ModuleCompiler.Options
-
Returns a string representation of this record class.
- toString() - Method in record class com.netflix.module.compile.ModulePathEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.netflix.module.ModuleHash
-
Returns a string representation of this record class.
- toString() - Method in enum class com.netflix.module.ModuleHash.Type
- toString() - Method in record class com.netflix.module.ModuleInfoHash.Coordinate
-
Returns a string representation of this record class.
- toString() - Method in record class com.netflix.module.ModuleRuntimeAccessOptions.PackageAccess
-
Returns a string representation of this record class.
- toString() - Method in class com.netflix.module.ModuleRuntimeAccessOptions
- toString() - Method in record class com.netflix.module.ModuleRuntimeMetadata
-
Returns a string representation of this record class.
- type() - Method in record class com.netflix.module.ModuleHash
-
Returns the value of the
typerecord component.
V
- valueOf(String) - Static method in enum class com.netflix.module.ModuleHash.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.netflix.module.ModuleHash.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verboseOutput() - Method in record class com.netflix.module.compile.ModuleCompiler.Options
-
Returns the value of the
verboseOutputrecord component. - verify(ModuleReference) - Method in class com.netflix.module.ModuleInfoHash
-
Tests whether a module has the hash recorded for the coordinate reported by its descriptor.
- verify(String, String, ModuleReference) - Method in class com.netflix.module.ModuleInfoHash
-
Tests whether a module has the hash recorded for its name and version.
- version() - Method in record class com.netflix.module.ModuleInfoHash.Coordinate
-
Returns the value of the
versionrecord component.
W
- write(byte[], ModuleRuntimeAccessOptions) - Static method in class com.netflix.module.ModuleRuntimeAccess
-
Replaces the runtime access attribute in a module descriptor.
- write(CompiledModule, Path) - Method in class com.netflix.module.compile.ModuleCompiler
-
Materializes a compiled module as one complete directory.
- write(Path) - Method in record class com.netflix.module.ModuleHash
-
Writes this hash in external form followed by a line terminator.
- write(Path) - Method in class com.netflix.module.ModuleInfoHash
-
Writes entries in coordinate order.
All Classes and Interfaces|All Packages