Index

A B C D E F G H I K M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractBinding<T> - Class in build.codemodel.dependency.injection
An abstract Binding.
AbstractBinding(Dependency) - Constructor for class build.codemodel.dependency.injection.AbstractBinding
Constructs an AbstractBinding for the specified Dependency.
AbstractBindingBuilder<T> - Class in build.codemodel.dependency.injection
An abstract BindingBuilder.
AbstractBindingBuilder(InjectionFramework, TypeUsage) - Constructor for class build.codemodel.dependency.injection.AbstractBindingBuilder
Constructs the AbstractBindingBuilder.
AbstractDependency - Class in build.codemodel.dependency.injection
An abstract Dependency.
AbstractDependency() - Constructor for class build.codemodel.dependency.injection.AbstractDependency
 
add(Class) - Method in interface build.codemodel.dependency.injection.MultiBinder
Adds a binding by implementation class, which is instantiated via the Context at injection time.
add(Supplier) - Method in interface build.codemodel.dependency.injection.MultiBinder
Adds a binding via supplier, which is called at injection time to produce the value.
add(T) - Method in interface build.codemodel.dependency.injection.MultiBinder
Adds a pre-constructed value to the set.
addResolver(Resolver) - Method in class build.codemodel.dependency.injection.ChainedResolver
Adds the specified Resolver.
addResolver(Resolver) - Method in interface build.codemodel.dependency.injection.Context
Adds the specified Resolver
addResolver(BiFunction) - Method in interface build.codemodel.dependency.injection.Context
Adds a Resolver produced by the specified Function based on this Context.
as(String) - Method in class build.codemodel.dependency.injection.AbstractBindingBuilder
 
as(String) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Configures the BindingBuilder to create Bindings injectable with Dependencys that require named values, the name being specified using the Named annotation.
asAllInterfaces() - Method in interface build.codemodel.dependency.injection.BindingBuilder
Registers a Binding of the bound value to each non-java.* interface in its type hierarchy.
asAllInterfaces(Predicate) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Registers a Binding of the bound value to each interface in its type hierarchy that matches the supplied Predicate.

B

bind(Class) - Method in interface build.codemodel.dependency.injection.Binder
Creates a new fluent BindingBuilder for the specified Class of Binding, allowing definition, configuration and construction of a Binding.
bind(T) - Method in interface build.codemodel.dependency.injection.Context
Creates a BindingBuilder pre-loaded with the specified instance value, enabling BindingBuilder.asAllInterfaces() and BindingBuilder.asAllInterfaces(Predicate) to register the value against every interface in its type hierarchy in a single call.
Binder - Interface in build.codemodel.dependency.injection
A Binder provides the ability to create Bindings.
Binding<T> - Interface in build.codemodel.dependency.injection
Defines a mechanism to resolve a Dependency for injection.
BindingAlreadyExistsException - Exception Class in build.codemodel.dependency.injection
Indicates an attempt to create an Binding when one with the same Dependency already exists.
BindingAlreadyExistsException(String) - Constructor for exception class build.codemodel.dependency.injection.BindingAlreadyExistsException
BindingBuilder<T> - Interface in build.codemodel.dependency.injection
A fluent builder for Bindings.
BindingGraphContributor - Interface in build.codemodel.dependency.injection
Observes binding registration and dependency resolution events in an InjectionContext.
BindingGraphTrait - Class in build.codemodel.dependency.injection
A Trait on JDKCodeModel that holds the binding graph for an InjectionContext.
BindingGraphTrait.UnsatisfiedDependency - Record Class in build.codemodel.dependency.injection
Describes a dependency from a registered binding to a type that is not registered as an explicit binding in the context.
BindingKind - Enum Class in build.codemodel.dependency.injection
Classifies how a Binding produces its value.
BindingNode - Record Class in build.codemodel.dependency.injection
A vertex in the Track 2 binding graph.
BindingNode(JDKTypeDescriptor, Class, Class, BindingKind) - Constructor for record class build.codemodel.dependency.injection.BindingNode
Creates an instance of a BindingNode record class.
bindings() - Method in class build.codemodel.dependency.injection.BindingGraphTrait
Returns all registered BindingNodes in this graph.
bindScope(Class, Scope) - Method in class build.codemodel.dependency.injection.InjectionFramework
Registers a Scope implementation for the specified scope annotation type.
bindSet(Class) - Method in interface build.codemodel.dependency.injection.Binder
Returns a MultiBinder for the specified element type, creating it if it does not yet exist.
build.codemodel.dependency.injection - module build.codemodel.dependency.injection
An implementation of the Jakarta Dependency Injection specification using the JDKCodeModel.
build.codemodel.dependency.injection - package build.codemodel.dependency.injection
 
buildTrait() - Method in interface build.codemodel.dependency.injection.BindingGraphContributor
Builds a BindingGraphTrait from the events accumulated so far.

C

call(ScopedValue.CallableOp) - Method in class build.codemodel.dependency.injection.ScopedValueScope
Enters the scope, executes action, and returns its result.
ChainedResolver - Class in build.codemodel.dependency.injection
An immutable Resolver defined by zero or more other Resolvers, to be consulted in-order of definition.
CLASS - Enum constant in enum class build.codemodel.dependency.injection.BindingKind
An instance of a concrete class is created and injected on demand.
ClassBinding<T> - Interface in build.codemodel.dependency.injection
A Binding that requires an instance of a concrete Class to be created.
close() - Method in interface build.codemodel.dependency.injection.Context
Closes this Context, invoking any PreDestroy lifecycle methods on instantiated singleton instances in reverse dependency order (dependents are destroyed before their dependencies).
codeModel() - Method in class build.codemodel.dependency.injection.InjectionFramework
Obtains the JDKCodeModel used by InjectionFramework.
compile(JDKCodeModel, CodeModel, TelemetryRecorder) - Method in class build.codemodel.dependency.injection.WiringReportCompiler
 
concreteClass() - Method in interface build.codemodel.dependency.injection.ClassBinding
The concrete Class.
ConfigurationResolver - Class in build.codemodel.dependency.injection
A Resolver of Configuration Options.
configure(Binder) - Method in interface build.codemodel.dependency.injection.Module
Contributes bindings to the given Binder.
configure(Consumer) - Method in interface build.codemodel.dependency.injection.Binder
Configures the Binder using the specified Consumer.
ConstructorInjectionPoint - Class in build.codemodel.dependency.injection
An InjectionPoint for a ConstructorDescriptor.
Context - Interface in build.codemodel.dependency.injection
An Injector that manages zero or more Bindings to be used for injection into InjectionPoints.
contributeBinding(BindingNode) - Method in interface build.codemodel.dependency.injection.BindingGraphContributor
Called each time a Binding is registered in an InjectionContext (including override registrations via toOverriding).
contributeDependency(BindingNode, BindingNode, DependencyEdge) - Method in interface build.codemodel.dependency.injection.BindingGraphContributor
Called each time a Dependency is resolved during injection.
create() - Static method in class build.codemodel.dependency.injection.InjectionFramework
Creates an InjectionFramework with a default non-caching JDKCodeModel.
create(Dependency) - Method in interface build.codemodel.dependency.injection.Context
Creates an instance of the type represented by the specified Dependency with values resolved from the Context.
create(Resolver...) - Static method in class build.codemodel.dependency.injection.ChainedResolver
Creates a new ChainedResolver.
create(TypeUsage) - Method in interface build.codemodel.dependency.injection.Context
Creates an instance of the type represented by a TypeUsage with values resolved from the Context.
create(Class) - Method in interface build.codemodel.dependency.injection.Context
Creates an instance of the specified class by locating and injecting a constructor annotated with Inject with values resolved from the Context.
CyclicDependencyException - Exception Class in build.codemodel.dependency.injection
Thrown when a cyclic dependency has been detected between Classes.
CyclicDependencyException(Dependency) - Constructor for exception class build.codemodel.dependency.injection.CyclicDependencyException
Constructs a CyclicDependencyException based on a Dependency that has a Dependency on itself.
CyclicDependencyException(Dependency, Dependency) - Constructor for exception class build.codemodel.dependency.injection.CyclicDependencyException
CyclicDependencyException(List) - Constructor for exception class build.codemodel.dependency.injection.CyclicDependencyException
Constructs a CyclicDependencyException with the full cycle path discovered by static graph analysis (e.g. from Context.validate()).

D

declaringModule() - Method in record class build.codemodel.dependency.injection.BindingNode
Returns the value of the declaringModule record component.
DefaultOptionResolver - Class in build.codemodel.dependency.injection
A Resolver that instantiates Option subclasses via their Default-annotated factory (no-arg constructor, static method, or static field) when no other resolver provides them.
dependencies() - Method in class build.codemodel.dependency.injection.ConstructorInjectionPoint
 
dependencies() - Method in class build.codemodel.dependency.injection.FieldInjectionPoint
 
dependencies() - Method in interface build.codemodel.dependency.injection.InjectionPoint
The Dependencys for the parameters required to be injected at the InjectionPoint, in the order in which they are required.
dependencies() - Method in class build.codemodel.dependency.injection.MethodInjectionPoint
 
dependenciesOf(BindingNode) - Method in class build.codemodel.dependency.injection.BindingGraphTrait
Returns the BindingNodes that the given node directly depends on (its successors in the directed graph — the dependencies it requires).
dependency() - Method in class build.codemodel.dependency.injection.AbstractBinding
 
dependency() - Method in interface build.codemodel.dependency.injection.Binding
dependency() - Method in record class build.codemodel.dependency.injection.DependencyEdge
Returns the value of the dependency record component.
dependency() - Method in exception class build.codemodel.dependency.injection.UnsatisfiedDependencyException
Obtains the Dependency that was not satisfied.
Dependency - Interface in build.codemodel.dependency.injection
Defines a TypeUsage for Dependency Injection with an Injector.
DependencyEdge - Record Class in build.codemodel.dependency.injection
An edge in the Track 2 binding graph.
DependencyEdge(InjectionPoint, Dependency) - Constructor for record class build.codemodel.dependency.injection.DependencyEdge
Creates an instance of a DependencyEdge record class.
dependentsOf(BindingNode) - Method in class build.codemodel.dependency.injection.BindingGraphTrait
Returns the BindingNodes that directly depend on the given node (its predecessors in the directed graph — the bindings that require it).

E

edge() - Method in record class build.codemodel.dependency.injection.BindingGraphTrait.UnsatisfiedDependency
Returns the value of the edge record component.
empty(Class) - Static method in class build.codemodel.dependency.injection.OptionalResolver
Creates an empty OptionalResolver.
equals(Object) - Method in class build.codemodel.dependency.injection.AbstractDependency
 
equals(Object) - Method in record class build.codemodel.dependency.injection.BindingGraphTrait.UnsatisfiedDependency
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class build.codemodel.dependency.injection.BindingNode
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class build.codemodel.dependency.injection.DependencyEdge
Indicates whether some other object is "equal to" this one.

F

fieldDescriptor() - Method in class build.codemodel.dependency.injection.FieldInjectionPoint
Obtains the FieldDescriptor for which the FieldInjectionPoint was created.
FieldInjectionPoint - Class in build.codemodel.dependency.injection
An InjectionPoint for a FieldDescriptor.
findCycle() - Method in class build.codemodel.dependency.injection.BindingGraphTrait
Returns the full cycle path if a dependency cycle exists among the registered bindings, otherwise returns empty.
findScope(JDKTypeDescriptor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Returns the registered Scope for the given JDKTypeDescriptor, if the type carries a scope annotation that has been registered via InjectionFramework.bindScope(Class, Scope).
findScopeEntry(JDKTypeDescriptor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Returns the registered scope entry (annotation class + Scope) for the given JDKTypeDescriptor, if the type carries a scope annotation that has been registered via InjectionFramework.bindScope(Class, Scope).
from() - Method in record class build.codemodel.dependency.injection.BindingGraphTrait.UnsatisfiedDependency
Returns the value of the from record component.

G

getInjectableDescriptor(JDKTypeDescriptor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Obtains the InjectableDescriptor for the specified JDKTypeDescriptor, using the JDKTypeDescriptor if necessary to establish one.
getInjectableDescriptor(Class) - Method in class build.codemodel.dependency.injection.InjectionFramework
Obtains the InjectableDescriptor for the specified Class, using the JDKCodeModel if necessary to establish one.
getMessage() - Method in exception class build.codemodel.dependency.injection.CyclicDependencyException
 
getMessage() - Method in exception class build.codemodel.dependency.injection.ValidationException
 
getQualifierAnnotationTypes(Traitable) - Method in class build.codemodel.dependency.injection.InjectionFramework
Determines the AnnotationTypeUsages of the specified Traitable that have the Qualifier meta-annotation.
graph() - Method in class build.codemodel.dependency.injection.BindingGraphTrait
Returns the underlying WeightedGraph for consumers that need direct algorithm access.

H

hashCode() - Method in class build.codemodel.dependency.injection.AbstractDependency
 
hashCode() - Method in record class build.codemodel.dependency.injection.BindingGraphTrait.UnsatisfiedDependency
Returns a hash code value for this object.
hashCode() - Method in record class build.codemodel.dependency.injection.BindingNode
Returns a hash code value for this object.
hashCode() - Method in record class build.codemodel.dependency.injection.DependencyEdge
Returns a hash code value for this object.
hasQualifierAnnotation(JDKTypeDescriptor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Determines if the specified JDKTypeDescriptor, usually for an Annotation, is annotated with Qualifier.

I

IndependentDependency - Class in build.codemodel.dependency.injection
A Dependency independently defined outside the scope of an InjectionPoint.
initializeEagerSingletons() - Method in interface build.codemodel.dependency.injection.Context
Pre-creates all Singleton-scoped class bindings in dependency order, using Graphs.parallelizableGroups(VertexGraph) to initialize independent groups in parallel.
inject(Object, Object[]) - Method in class build.codemodel.dependency.injection.ConstructorInjectionPoint
 
inject(Object, Object[]) - Method in class build.codemodel.dependency.injection.FieldInjectionPoint
 
inject(Object, Object[]) - Method in interface build.codemodel.dependency.injection.InjectionPoint
Inject into the InjectionPoint with the necessary zero or more resolved actual parameter InjectionPoint.dependencies().
inject(Object, Object[]) - Method in class build.codemodel.dependency.injection.MethodInjectionPoint
 
inject(T) - Method in interface build.codemodel.dependency.injection.Injector
Resolves and injects values into the specified injectable object.
InjectableDescriptor - Class in build.codemodel.dependency.injection
Defines information concerning the inject-ability of a JDKTypeDescriptor with the InjectionFramework.
InjectionException - Exception Class in build.codemodel.dependency.injection
A RuntimeException thrown when injection fails.
InjectionException() - Constructor for exception class build.codemodel.dependency.injection.InjectionException
Constructs a InjectionException
InjectionException(String) - Constructor for exception class build.codemodel.dependency.injection.InjectionException
Constructs an InjectionException with a specific message.
InjectionException(String, Throwable) - Constructor for exception class build.codemodel.dependency.injection.InjectionException
Constructs an InjectionException caused by a specific Throwable with a provided message.
InjectionException(Throwable) - Constructor for exception class build.codemodel.dependency.injection.InjectionException
Constructs an InjectionException caused by a specific Throwable.
InjectionFailedException - Exception Class in build.codemodel.dependency.injection
An InjectionException thrown when injection into an InjectionPoint fails.
InjectionFailedException(InjectionPoint) - Constructor for exception class build.codemodel.dependency.injection.InjectionFailedException
InjectionFailedException(InjectionPoint, String) - Constructor for exception class build.codemodel.dependency.injection.InjectionFailedException
Constructs an InjectionFailedException with a specific message.
InjectionFailedException(InjectionPoint, String, Throwable) - Constructor for exception class build.codemodel.dependency.injection.InjectionFailedException
Constructs an InjectionFailedException caused by a specific Throwable with a provided message.
InjectionFailedException(InjectionPoint, Throwable) - Constructor for exception class build.codemodel.dependency.injection.InjectionFailedException
Constructs an InjectionFailedException caused by a specific Throwable.
injectionFramework - Variable in class build.codemodel.dependency.injection.AbstractBindingBuilder
InjectionFramework - Class in build.codemodel.dependency.injection
A JDKCodeModel-based Adapter allowing the runtime discovery of InjectionPoints and JSR-330-compliant Dependency Injection of Classes and Objects
InjectionFramework(JDKCodeModel) - Constructor for class build.codemodel.dependency.injection.InjectionFramework
Constructs an InjectionFramework.
injectionPoint() - Method in record class build.codemodel.dependency.injection.DependencyEdge
Returns the value of the injectionPoint record component.
injectionPoint() - Method in exception class build.codemodel.dependency.injection.InjectionFailedException
Obtains the InjectionPoint that failed.
injectionPoint() - Method in class build.codemodel.dependency.injection.InjectionPointDependency
Obtains the InjectionPoint for which the Dependency was established.
InjectionPoint - Interface in build.codemodel.dependency.injection
Describes a point with in a JDKTypeDescriptor in which Dependencys may be injected.
InjectionPointDependency - Class in build.codemodel.dependency.injection
A Dependency defined by an InjectionPoint.
injectionPoints() - Method in class build.codemodel.dependency.injection.InjectableDescriptor
Obtains the InjectionPoints defined for the JDKTypeDescriptor.
Injector - Interface in build.codemodel.dependency.injection
Resolves and injects values into fields, methods and/or constructors annotated with Inject.
install(Module) - Method in interface build.codemodel.dependency.injection.Binder
Installs the specified Module, applying its bindings to this Binder.
isInjectable() - Method in class build.codemodel.dependency.injection.InjectableDescriptor
Determines if there are InjectionPoints defined for the JDKTypeDescriptor
isInjectionPoint(Traitable) - Method in class build.codemodel.dependency.injection.InjectionFramework
Determines if a Traitable represents an InjectionPoint, which means it is non-static, non-abstract with an AnnotationTypeUsage for Inject.
isPostInject(MethodDescriptor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Determines if a MethodDescriptor represents an PostInject method, which means it is non-static, non-abstract with an AnnotationTypeUsage for PostInject.
isPreDestroy(MethodDescriptor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Determines if a MethodDescriptor represents a PreDestroy method.
isProvides(MethodDescriptor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Determines if a MethodDescriptor represents a Provides method, which means it is non-static, non-abstract, non-void with an AnnotationTypeUsage for Provides.
isSingleton(JDKTypeDescriptor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Determines if the specified JDKTypeDescriptor is annotated as a Singleton.

K

kind() - Method in record class build.codemodel.dependency.injection.BindingNode
Returns the value of the kind record component.

M

MethodInjectionPoint - Class in build.codemodel.dependency.injection
Module - Interface in build.codemodel.dependency.injection
A reusable unit of binding configuration.
Modules - Class in build.codemodel.dependency.injection
Factory methods for composing Modules.
MULTI - Enum constant in enum class build.codemodel.dependency.injection.BindingKind
A multibinding set — produced by Binder.bindSet(Class).
MultiBinder<T> - Interface in build.codemodel.dependency.injection
Accumulates multiple bindings for the same type, making them injectable as Set, Collection, Iterable, Stream, or List.

N

newContext() - Method in interface build.codemodel.dependency.injection.Context
Creates a new Context with the this Context as a parent solver.
newContext() - Method in class build.codemodel.dependency.injection.InjectionFramework
Creates a new empty Context.
newContext(Module...) - Method in class build.codemodel.dependency.injection.InjectionFramework
Creates a new Context with the specified Modules pre-installed.
newContext(Resolver...) - Method in class build.codemodel.dependency.injection.InjectionFramework
Creates a new Context initialized with the specified Resolvers.
NOOP - Static variable in interface build.codemodel.dependency.injection.BindingGraphContributor
No-op implementation used until Track 2 installs a real contributor.

O

of(Configuration) - Static method in class build.codemodel.dependency.injection.ConfigurationResolver
of(Dependency, T) - Static method in interface build.codemodel.dependency.injection.ValueBinding
Creates a ValueBinding for the specified Dependency and value.
of(InjectionFramework) - Static method in class build.codemodel.dependency.injection.DefaultOptionResolver
of(InjectionPoint, Dependency) - Static method in class build.codemodel.dependency.injection.InjectionPointDependency
of(TypeUsage, Function) - Static method in class build.codemodel.dependency.injection.IndependentDependency
Creates a IndependentDependency for the specified TypeUsage.
of(JDKTypeDescriptor, ConstructorDescriptor, Function) - Static method in class build.codemodel.dependency.injection.ConstructorInjectionPoint
of(JDKTypeDescriptor, FieldDescriptor, Function) - Static method in class build.codemodel.dependency.injection.FieldInjectionPoint
of(JDKTypeDescriptor, MethodDescriptor, Function) - Static method in class build.codemodel.dependency.injection.MethodInjectionPoint
of(JDKTypeDescriptor, Stream, Stream, Stream) - Static method in class build.codemodel.dependency.injection.InjectableDescriptor
Creates a new InjectableDescriptor for the specified JDKTypeDescriptor.
of(JDKCodeModel) - Static method in class build.codemodel.dependency.injection.SystemPropertyResolver
Creates a new SystemPropertyResolver for the specified JDKCodeModel.
of(Class, T) - Static method in class build.codemodel.dependency.injection.QualifiedResolver
Creates a new QualifiedResolver that resolves Injectable Dependencys to the provided non-null Object when the Dependency.typeUsage() is annotated with the specified Annotation class.
of(Class, Supplier) - Static method in class build.codemodel.dependency.injection.OptionalResolver
Creates an OptionalResolver.
of(Class, O) - Static method in class build.codemodel.dependency.injection.OptionalResolver
Creates an OptionalResolver.
of(Object, InjectionFramework) - Static method in class build.codemodel.dependency.injection.ProvidesResolver
Creates a ProvidesResolver for the specified provider object.
of(Function) - Static method in interface build.codemodel.dependency.injection.Resolver
Creates a Resolver of values using the specified Function from a Dependency to an Optional Binding.
of(Predicate, T) - Static method in class build.codemodel.dependency.injection.QualifiedResolver
Creates a new QualifiedResolver that resolves Injectable Dependencys to the provided non-null Object when the Dependency.typeUsage() satisfies specified AnnotationTypeUsage Predicate.
OptionalResolver<T> - Class in build.codemodel.dependency.injection
Resolver that will resolve a specific Optional Object that is assignable to a specified Class.
override(Module, Module) - Static method in class build.codemodel.dependency.injection.Modules
Returns a Module whose bindings are base's bindings with overrides winning on any conflicts.

P

PostInject - Annotation Interface in build.codemodel.dependency.injection
Defines a zero-args non-static method to be invoked on an Object after successful injection with an Injector.
postInjectionMethods() - Method in class build.codemodel.dependency.injection.InjectableDescriptor
Obtains the PostInject annotated MethodDescriptors defined for the JDKTypeDescriptor.
PreDestroy - Annotation Interface in build.codemodel.dependency.injection
Marks a zero-arg method to be invoked by Context.close() when the owning Context is closed.
preDestroyMethods() - Method in class build.codemodel.dependency.injection.InjectableDescriptor
Obtains the PreDestroy annotated MethodDescriptors defined for the JDKTypeDescriptor.
problems() - Method in exception class build.codemodel.dependency.injection.ValidationException
Returns the list of problems detected during validation.
ProviderResolver - Class in build.codemodel.dependency.injection
A Resolver of JSR-330 Provider-based specifications of Dependencys.
ProviderResolver(InjectionFramework, Context) - Constructor for class build.codemodel.dependency.injection.ProviderResolver
Constructs a ProviderResolver for a specified Context
Provides - Annotation Interface in build.codemodel.dependency.injection
Defines a zero-args non-static non-void method whose return value is made available for injection via a ProvidesResolver.
ProvidesResolver - Class in build.codemodel.dependency.injection
A Resolver of values produced by Provides-annotated methods on a provider object.

Q

QualifiedResolver<T> - Class in build.codemodel.dependency.injection
A Resolver to resolve to a specific non-null Object if and only if a requested Dependency satisfies an AnnotationTypeUsage Predicate.

R

resolve(Dependency) - Method in class build.codemodel.dependency.injection.ChainedResolver
 
resolve(Dependency) - Method in class build.codemodel.dependency.injection.ConfigurationResolver
 
resolve(Dependency) - Method in class build.codemodel.dependency.injection.DefaultOptionResolver
 
resolve(Dependency) - Method in class build.codemodel.dependency.injection.OptionalResolver
 
resolve(Dependency) - Method in class build.codemodel.dependency.injection.ProviderResolver
 
resolve(Dependency) - Method in class build.codemodel.dependency.injection.ProvidesResolver
 
resolve(Dependency) - Method in class build.codemodel.dependency.injection.QualifiedResolver
 
resolve(Dependency) - Method in interface build.codemodel.dependency.injection.Resolver
Attempts to resolve a value for the type specified by the Dependency.
resolve(Dependency) - Method in class build.codemodel.dependency.injection.SystemPropertyResolver
 
resolver() - Method in interface build.codemodel.dependency.injection.Context
Obtains a Resolver that can be used to resolve Dependencys based on this Context.
Resolver<T> - Interface in build.codemodel.dependency.injection
A facility to resolve Bindings for Dependencys required for injection.
run(Runnable) - Method in class build.codemodel.dependency.injection.ScopedValueScope
Enters the scope and executes action.

S

scope() - Method in record class build.codemodel.dependency.injection.BindingNode
Returns the value of the scope record component.
scope(ValueBinding) - Method in interface build.codemodel.dependency.injection.Scope
Wraps the given unscoped ValueBinding in a scoped Binding.
scope(ValueBinding) - Method in class build.codemodel.dependency.injection.ScopedValueScope
 
Scope - Interface in build.codemodel.dependency.injection
Controls the lifecycle and sharing of instances produced by a Binding.
ScopeAnnotation - Annotation Interface in build.codemodel.dependency.injection
Meta-annotation that marks an annotation as a scope annotation.
ScopedValueScope - Class in build.codemodel.dependency.injection
A Scope backed by a ScopedValue.
ScopedValueScope() - Constructor for class build.codemodel.dependency.injection.ScopedValueScope
 
setBindingGraphContributor(BindingGraphContributor) - Method in class build.codemodel.dependency.injection.InjectionFramework
Installs a BindingGraphContributor that will be notified of every binding registration and dependency resolution for all contexts created by this framework.
signature() - Method in interface build.codemodel.dependency.injection.Dependency
Obtains the unique signature for the Dependency, consisting of the TypeName and any AnnotationTypeUsages that have been annotated with the Qualifier meta-annotation.
signature() - Method in class build.codemodel.dependency.injection.IndependentDependency
 
signature() - Method in class build.codemodel.dependency.injection.InjectionPointDependency
 
snapshot(Path) - Method in interface build.codemodel.dependency.injection.Context
Builds a BindingGraphTrait from the current contributor state, attaches it to the framework's JDKCodeModel, and writes a human-readable wiring report to outputPath.
SUPPLIER - Enum constant in enum class build.codemodel.dependency.injection.BindingKind
A Supplier produces the value.
SystemProperty - Annotation Interface in build.codemodel.dependency.injection
Specifies that a particular system property value is required for Injection, optionally using a SystemProperty.Default value if the system property is not defined.
SystemProperty.Default - Annotation Interface in build.codemodel.dependency.injection
Specifies that a default value for a SystemProperty that may be coerced and/or used for Injection.
SystemPropertyResolver - Class in build.codemodel.dependency.injection
A Resolver of values for SystemProperty annotated Injection points, that uses System.getProperties() to resolve values.

T

to(Class) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Creates a Binding that uses an instance of the specified concrete Class to construct values for injection.
to(Supplier) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Creates a Binding that uses the specified Supplier for acquiring values for injection.
to(T) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Creates a Binding that uses the specified value for injection.
toOverriding(Class) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Replaces an existing Binding for this type with an instance of the specified concrete Class, or registers a new Binding if none exists.
toOverriding(Supplier) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Replaces an existing Binding for this type with the specified Supplier, or registers a new Binding if none exists.
toOverriding(T) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Replaces an existing Binding for this type with the specified value, or registers a new Binding if none exists.
toString() - Method in class build.codemodel.dependency.injection.AbstractDependency
 
toString() - Method in record class build.codemodel.dependency.injection.BindingGraphTrait.UnsatisfiedDependency
Returns a string representation of this record class.
toString() - Method in record class build.codemodel.dependency.injection.BindingNode
Returns a string representation of this record class.
toString() - Method in record class build.codemodel.dependency.injection.DependencyEdge
Returns a string representation of this record class.
toString() - Method in exception class build.codemodel.dependency.injection.InjectionFailedException
 
typeDescriptor() - Method in record class build.codemodel.dependency.injection.BindingNode
Returns the value of the typeDescriptor record component.
typeDescriptor() - Method in class build.codemodel.dependency.injection.ConstructorInjectionPoint
 
typeDescriptor() - Method in class build.codemodel.dependency.injection.FieldInjectionPoint
 
typeDescriptor() - Method in class build.codemodel.dependency.injection.InjectableDescriptor
Obtains the JDKTypeDescriptor for which the InjectableDescriptor was established.
typeDescriptor() - Method in interface build.codemodel.dependency.injection.InjectionPoint
The JDKTypeDescriptor in which the InjectionPoint is defined
typeDescriptor() - Method in class build.codemodel.dependency.injection.MethodInjectionPoint
 
typeUsage - Variable in class build.codemodel.dependency.injection.AbstractBindingBuilder
The TypeUsage.
typeUsage() - Method in class build.codemodel.dependency.injection.AbstractBindingBuilder
Obtains the currently configured TypeUsage for the BindingBuilder.
typeUsage() - Method in interface build.codemodel.dependency.injection.Dependency
Obtains the TypeUsage for the Dependency.
typeUsage() - Method in class build.codemodel.dependency.injection.IndependentDependency
Obtains the TypeUsage for the IndependentDependency.
typeUsage() - Method in class build.codemodel.dependency.injection.InjectionPointDependency
 

U

unsatisfiedDependencies() - Method in class build.codemodel.dependency.injection.BindingGraphTrait
Returns dependency edges where the satisfying binding was not registered as an explicit binding in the context (auto-resolved or untracked types).
UnsatisfiedDependency(BindingNode, DependencyEdge) - Constructor for record class build.codemodel.dependency.injection.BindingGraphTrait.UnsatisfiedDependency
Creates an instance of a UnsatisfiedDependency record class.
UnsatisfiedDependencyException - Exception Class in build.codemodel.dependency.injection
Thrown when the value for a Dependency can not be resolved for injection.
UnsatisfiedDependencyException(Dependency) - Constructor for exception class build.codemodel.dependency.injection.UnsatisfiedDependencyException
UnsatisfiedDependencyException(Dependency, String) - Constructor for exception class build.codemodel.dependency.injection.UnsatisfiedDependencyException
UnsatisfiedDependencyException(Dependency, String, Throwable) - Constructor for exception class build.codemodel.dependency.injection.UnsatisfiedDependencyException
UnsatisfiedDependencyException(Dependency, Throwable) - Constructor for exception class build.codemodel.dependency.injection.UnsatisfiedDependencyException

V

validate() - Method in interface build.codemodel.dependency.injection.Context
Validates the current set of registered bindings before any objects are created.
ValidationException - Exception Class in build.codemodel.dependency.injection
Thrown by Context.validate() when one or more validation problems are found.
ValidationException(List) - Constructor for exception class build.codemodel.dependency.injection.ValidationException
Constructs a ValidationException with the specified list of problems.
value() - Element in annotation interface build.codemodel.dependency.injection.SystemProperty.Default
The default value.
value() - Element in annotation interface build.codemodel.dependency.injection.SystemProperty
The name of the system property.
value() - Method in interface build.codemodel.dependency.injection.ValueBinding
Obtains the non-null value.
VALUE - Enum constant in enum class build.codemodel.dependency.injection.BindingKind
A pre-built value is returned directly (e.g.
ValueBinding<T> - Interface in build.codemodel.dependency.injection
A Binding that produces the same non-null value when requested.
valueOf(String) - Static method in enum class build.codemodel.dependency.injection.BindingKind
Returns the enum constant of this class with the specified name.
values() - Static method in enum class build.codemodel.dependency.injection.BindingKind
Returns an array containing the constants of this enum class, in the order they are declared.

W

WiringReportCompiler - Class in build.codemodel.dependency.injection
A Compiler that reads the BindingGraphTrait from the JDKCodeModel and emits a human-readable wiring report.
WiringReportCompiler(Path) - Constructor for class build.codemodel.dependency.injection.WiringReportCompiler
Constructs a WiringReportCompiler that writes its output to outputPath.
with(AnnotationTypeUsage) - Method in class build.codemodel.dependency.injection.AbstractBindingBuilder
 
with(AnnotationTypeUsage) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Configures the BindingBuilder to create Bindings requiring the specified AnnotationTypeUsage.
with(Annotation) - Method in class build.codemodel.dependency.injection.AbstractBindingBuilder
 
with(Annotation) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Configures the BindingBuilder to create Bindings requiring the specified Qualifier Annotation.
with(Class) - Method in class build.codemodel.dependency.injection.AbstractBindingBuilder
 
with(Class) - Method in interface build.codemodel.dependency.injection.BindingBuilder
Configures the BindingBuilder to create Bindings requiring the specified Marker Qualifier Annotation.
withBindingGraph() - Method in class build.codemodel.dependency.injection.InjectionFramework
Installs a GraphBuildingContributor and returns this framework for fluent chaining.
A B C D E F G H I K M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form