- AbstractChain<E> - Class in org.grouplens.grapht.util
-
Base class for implementing chains, immutable reverse singly-linked lists.
- AbstractChain(AbstractChain<E>, E) - Constructor for class org.grouplens.grapht.util.AbstractChain
-
Construct a new chain node.
- AbstractContext - Class in org.grouplens.grapht
-
Implementations of convenience methods on
Context
.
- AbstractContext() - Constructor for class org.grouplens.grapht.AbstractContext
-
- AbstractSatisfactionVisitor<T> - Class in org.grouplens.grapht.reflect
-
- AbstractSatisfactionVisitor() - Constructor for class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
Construct a visitor with a null default.
- AbstractSatisfactionVisitor(T) - Constructor for class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
Construct a visitor with the specified default value.
- addBindingFunction(BindingFunction) - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Add a binding function to the dependency solver.
- addBindingFunction(BindingFunction, boolean) - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Add a binding function to the dependency solver.
- addBindingFunctions(BindingFunction...) - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Add multiple binding function to the dependency solver.
- addBindingFunctions(Iterable<BindingFunction>) - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Add multiple binding function to the dependency solver.
- addDefaultExclusion(Class<?>) - Method in class org.grouplens.grapht.BindingFunctionBuilder
-
Add a type to be excluded from when generating bind rules.
- addEdge(DAGNode<V, E>, E) - Method in class org.grouplens.grapht.graph.DAGNodeBuilder
-
Add an edge.
- addEdge(Pair<DAGNode<V, E>, E>) - Method in class org.grouplens.grapht.graph.DAGNodeBuilder
-
Add an edge.
- addFlag(BindingFlag) - Method in class org.grouplens.grapht.solver.BindingResult.Builder
-
- addFlag(BindingFlag) - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Add a flag to the constructed bind rule.
- AllowUnqualifiedMatch - Annotation Type in org.grouplens.grapht.annotation
-
Mark a qualifier as allowing unqualified matches.
- AnnotationBuilder<T extends Annotation> - Class in org.grouplens.grapht.annotation
-
AnnotationBuilder is a "builder" for creating proxy Annotation instances.
- AnnotationBuilder(Class<T>) - Constructor for class org.grouplens.grapht.annotation.AnnotationBuilder
-
Create a new AnnotationBuilder without any assigned values, that will
create annotations of the given class type.
- AnnotationValidator - Class in org.grouplens.grapht.annotation
-
Annotation processor that checks and validates DI annotations.
- AnnotationValidator() - Constructor for class org.grouplens.grapht.annotation.AnnotationValidator
-
- any() - Static method in class org.grouplens.grapht.context.ContextPattern
-
Create a context pattern matching any context.
- append(ContextElementMatcher, Multiplicity) - Method in class org.grouplens.grapht.context.ContextPattern
-
Append an element to this pattern.
- append(ContextElementMatcher) - Method in class org.grouplens.grapht.context.ContextPattern
-
- append(Class<?>) - Method in class org.grouplens.grapht.context.ContextPattern
-
- append(ContextPattern) - Method in class org.grouplens.grapht.context.ContextPattern
-
Append a context pattern to this pattern.
- appendDotStar() - Method in class org.grouplens.grapht.context.ContextPattern
-
Return a pattern matching any context of which the current pattern matches a prefix.
- apply(Pair<Satisfaction, InjectionPoint>) - Method in interface org.grouplens.grapht.context.ContextElementMatcher
-
Return true if this ContextElementMatcher matches or applies to the given Satisfaction and
Qualifier.
- apply(Annotation) - Method in interface org.grouplens.grapht.reflect.QualifierMatcher
-
Return true if this matcher matches the given qualifier annotation.
- apply(Desire) - Method in interface org.grouplens.grapht.solver.BindRule
-
Apply this BindRule to the given Desire, and return a restricted and
possibly satisfied desire.
- applyModule(Module) - Method in class org.grouplens.grapht.BindingFunctionBuilder
-
Run the module's
bind()
method on the root
context of this builder.
- applyModule(Module) - Method in class org.grouplens.grapht.InjectorBuilder
-
Apply a module to the root context of this InjectorBuilder (i.e.
- at(Class<?>) - Method in interface org.grouplens.grapht.Context
-
Create a new Context that extends the current context stack with the given class type as an
anchored match.
- at(Class<? extends Annotation>, Class<?>) - Method in interface org.grouplens.grapht.Context
-
Create a new Context that extends the current context stack with the given class and Qualifier
annotation as an anchored match.
- at(Annotation, Class<?>) - Method in interface org.grouplens.grapht.Context
-
Create a new Context that extends the current context stack with the given class, qualified
by the specific Annotation instance.
- at(Class<?>) - Method in class org.grouplens.grapht.InjectorBuilder
-
- at(Class<? extends Annotation>, Class<?>) - Method in class org.grouplens.grapht.InjectorBuilder
-
- at(Annotation, Class<?>) - Method in class org.grouplens.grapht.InjectorBuilder
-
- Attribute - Annotation Type in org.grouplens.grapht.annotation
-
Attribute is an auxiliary annotation, like Qualifier
, that can be
used to add additional information to injection points (setters,
constructors, fields).
- bind(Class<? extends Annotation>, Class<T>) - Method in class org.grouplens.grapht.AbstractContext
-
- bind(Class<T>) - Method in interface org.grouplens.grapht.Context
-
Start a new binding for the given type T within the scope of this
context.
- bind(Class<? extends Annotation>, Class<T>) - Method in interface org.grouplens.grapht.Context
-
Start a new binding for a qualified type.
- bind(Class<T>) - Method in class org.grouplens.grapht.InjectorBuilder
-
- bind(InjectionContext, DesireChain) - Method in interface org.grouplens.grapht.solver.BindingFunction
-
Find the applicable binding, if any, for a desire in a particular context.
- bind(InjectionContext, DesireChain) - Method in class org.grouplens.grapht.solver.DefaultDesireBindingFunction
-
- bind(InjectionContext, DesireChain) - Method in class org.grouplens.grapht.solver.ProviderBindingFunction
-
- bind(InjectionContext, DesireChain) - Method in class org.grouplens.grapht.solver.RuleBasedBindingFunction
-
- bindAny(Class<T>) - Method in class org.grouplens.grapht.AbstractContext
-
- bindAny(Class<T>) - Method in interface org.grouplens.grapht.Context
-
Start a new binding for a type irrespective of qualifier.
- bindAny(Class<T>) - Method in class org.grouplens.grapht.InjectorBuilder
-
- Binding<T> - Interface in org.grouplens.grapht
-
Binding is part of the fluent API used for configuring an
Injector
.
- BindingFlag - Enum in org.grouplens.grapht.solver
-
- BindingFunction - Interface in org.grouplens.grapht.solver
-
Locate bindings for an injection point.
- BindingFunctionBuilder - Class in org.grouplens.grapht
-
BindingFunctionBuilder provides a convenient access to the fluent API and
converts calls to
Context
and
Binding
methods into multiple
BindingFunctions
.
- BindingFunctionBuilder() - Constructor for class org.grouplens.grapht.BindingFunctionBuilder
-
Create a new InjectorConfigurationBuilder that automatically generates bind rules for
super and intermediate types.
- BindingFunctionBuilder(boolean) - Constructor for class org.grouplens.grapht.BindingFunctionBuilder
-
Create a new InjectorConfigurationBuilder.
- BindingFunctionBuilder.RuleSet - Enum in org.grouplens.grapht
-
BindingFunctionBuilder generates three binding functions at separate
priorities.
- BindingResult - Class in org.grouplens.grapht.solver
-
- BindingResult.Builder - Class in org.grouplens.grapht.solver
-
- BindRule - Interface in org.grouplens.grapht.solver
-
BindRule is a partial function from desire to desire that acts as a binding.
- BindRuleBuilder - Class in org.grouplens.grapht.solver
-
Builder for bind rules.
- BindRuleBuilder() - Constructor for class org.grouplens.grapht.solver.BindRuleBuilder
-
- BindRules - Class in org.grouplens.grapht.solver
-
- box(Type) - Static method in class org.grouplens.grapht.util.Types
-
Return the boxed version of the given type if the type is primitive.
- box(Class<?>) - Static method in class org.grouplens.grapht.util.Types
-
Return the boxed version of the given type if the type is primitive.
- build() - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Build an Annotation instance of type T that is configured to return the
values assigned by the various set() methods for its defined attributes.
- build(BindingFunctionBuilder.RuleSet) - Method in class org.grouplens.grapht.BindingFunctionBuilder
-
Return the built BindingFunction for the given RuleSet.
- build() - Method in class org.grouplens.grapht.graph.DAGNodeBuilder
-
- build() - Method in class org.grouplens.grapht.InjectorBuilder
-
- build() - Method in class org.grouplens.grapht.solver.BindingResult.Builder
-
- build() - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
- build() - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Build a dependency solver.
- CachePolicy - Enum in org.grouplens.grapht
-
- ClassInstantiator - Class in org.grouplens.grapht.reflect.internal
-
Instantiates class instances.
- ClassInstantiator(Class<?>, List<Desire>, Map<Desire, Instantiator>) - Constructor for class org.grouplens.grapht.reflect.internal.ClassInstantiator
-
Create an ClassInstantiator that will provide instances of the given
type, with given the list of desires and a function mapping that
satisfies those providers.
- ClassLoaderContext - Class in org.grouplens.grapht.util
-
- ClassLoaders - Class in org.grouplens.grapht.util
-
Utility methods for class loaders.
- ClassProxy - Class in org.grouplens.grapht.util
-
A serialization proxy for class instances.
- ClassSatisfaction - Class in org.grouplens.grapht.reflect.internal
-
ClassSatisfaction is a satisfaction that instantiates instances of a given
type.
- ClassSatisfaction(Class<?>) - Constructor for class org.grouplens.grapht.reflect.internal.ClassSatisfaction
-
Create a satisfaction wrapping the given class type.
- clone() - Method in class org.grouplens.grapht.BindingFunctionBuilder
-
- compareTo(ContextMatch) - Method in class org.grouplens.grapht.context.ContextMatch
-
- compareTo(BindRule) - Method in interface org.grouplens.grapht.solver.BindRule
-
Compare this bind rule to another.
- Component - Class in org.grouplens.grapht
-
A component to be instantiated in the final dependency plan.
- configure(Context) - Method in interface org.grouplens.grapht.Module
-
Configure bindings given the root Context, ct.
- ConstructionException - Exception in org.grouplens.grapht
-
Thrown when there is an error constructing a component.
- ConstructionException(InjectionPoint, String) - Constructor for exception org.grouplens.grapht.ConstructionException
-
- ConstructionException(InjectionPoint, Throwable) - Constructor for exception org.grouplens.grapht.ConstructionException
-
- ConstructionException(InjectionPoint, String, Throwable) - Constructor for exception org.grouplens.grapht.ConstructionException
-
- ConstructionException(String, Throwable) - Constructor for exception org.grouplens.grapht.ConstructionException
-
- ConstructionException(Class<?>, Throwable) - Constructor for exception org.grouplens.grapht.ConstructionException
-
- ConstructionException(Member, String, Throwable) - Constructor for exception org.grouplens.grapht.ConstructionException
-
- ConstructionException(Class<?>, String, Throwable) - Constructor for exception org.grouplens.grapht.ConstructionException
-
- ConstructorParameterInjectionPoint - Class in org.grouplens.grapht.reflect.internal
-
ConstructorParameterInjectionPoint is an injection point wrapping a parameter
of a constructor.
- ConstructorParameterInjectionPoint(Constructor<?>, int) - Constructor for class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
Create a ConstructorParameterInjectionPoint that wraps the given parameter index for the
given constructor, ctor.
- ConstructorProxy - Class in org.grouplens.grapht.util
-
Proxy class for serializing constructors
- Context - Interface in org.grouplens.grapht
-
Context is the main entry point for configuring bind rules using the fluent
API.
- ContextElementMatcher - Interface in org.grouplens.grapht.context
-
ContextElementMatcher represents a "pattern" that can match an element within the
dependency context created as a Resolver follows a dependency hierarchy.
- ContextElements - Class in org.grouplens.grapht.context
-
Utilities for context matching.
- ContextElements.MatchPriority - Enum in org.grouplens.grapht.context
-
Match priority constants.
- ContextMatch - Class in org.grouplens.grapht.context
-
Interface for context matches.
- ContextMatcher - Interface in org.grouplens.grapht.context
-
Interface for context matchers.
- ContextPattern - Class in org.grouplens.grapht.context
-
A regular pattern matching contexts.
- ContextPattern.Element - Class in org.grouplens.grapht.context
-
An element of the context pattern.
- ContextPattern.Element(ContextElementMatcher, Multiplicity) - Constructor for class org.grouplens.grapht.context.ContextPattern.Element
-
- copyBuilder(DAGNode<V, E>) - Static method in class org.grouplens.grapht.graph.DAGNode
-
Create a new builder initialized to build a copy of the specified node.
- create(Satisfaction, CachePolicy) - Static method in class org.grouplens.grapht.Component
-
Create a new Component wrapping the given satisfaction and cache policy.
- create(DesireChain, EnumSet<Dependency.Flag>) - Static method in class org.grouplens.grapht.Dependency
-
- create(DAGNode<V, E>, DAGNode<V, E>, E) - Static method in class org.grouplens.grapht.graph.DAGEdge
-
- create() - Static method in class org.grouplens.grapht.graph.MergePool
-
Create a merge pool that checks node labels for equality.
- create() - Static method in class org.grouplens.grapht.InjectionContainer
-
Create a new instantiator with a default policy of MEMOIZE
.
- create(CachePolicy) - Static method in class org.grouplens.grapht.InjectionContainer
-
Create a new instantiator.
- create(ClassLoader, Module...) - Static method in class org.grouplens.grapht.InjectorBuilder
-
Create a new injector builder using the specified class loader.
- create(Module...) - Static method in class org.grouplens.grapht.InjectorBuilder
-
Create a new injector builder with the default SPI.
- create(Annotation, Class<?>, boolean) - Static method in class org.grouplens.grapht.reflect.Desires
-
Create a new desire.
- create() - Static method in class org.grouplens.grapht.solver.BindRuleBuilder
-
- create(ClassLoader) - Static method in class org.grouplens.grapht.solver.DefaultDesireBindingFunction
-
- create() - Static method in class org.grouplens.grapht.solver.DefaultDesireBindingFunction
-
- createInjectionPoint(Annotation, Class<?>, boolean) - Static method in class org.grouplens.grapht.reflect.Desires
-
- CyclicDependencyException - Exception in org.grouplens.grapht.solver
-
Thrown by when a cyclic dependency is detected and could not be broken or
bypassed by the solver.
- CyclicDependencyException(Desire, String) - Constructor for exception org.grouplens.grapht.solver.CyclicDependencyException
-
- DAGEdge<V,E> - Class in org.grouplens.grapht.graph
-
Edges in DAGs.
- DAGNode<V,E> - Class in org.grouplens.grapht.graph
-
A node in a (rooted) DAG.
- DAGNodeBuilder<V,E> - Class in org.grouplens.grapht.graph
-
- DAGNodeBuilder() - Constructor for class org.grouplens.grapht.graph.DAGNodeBuilder
-
- DAGNodeBuilder(V) - Constructor for class org.grouplens.grapht.graph.DAGNodeBuilder
-
- DefaultBoolean - Annotation Type in org.grouplens.grapht.annotation
-
A default value for a qualified boolean.
- DefaultDesireBindingFunction - Class in org.grouplens.grapht.solver
-
- DefaultDouble - Annotation Type in org.grouplens.grapht.annotation
-
A default value for a double parameter.
- DefaultImplementation - Annotation Type in org.grouplens.grapht.annotation
-
A default implementation for a Qualifier
.
- DefaultInjector - Class in org.grouplens.grapht.solver
-
DefaultInjector is the default Injector implementation.
- DefaultInjector(BindingFunction...) - Constructor for class org.grouplens.grapht.solver.DefaultInjector
-
Create a new DefaultInjector.
- DefaultInjector(CachePolicy, BindingFunction...) - Constructor for class org.grouplens.grapht.solver.DefaultInjector
-
Create a new DefaultInjector.
- DefaultInjector(CachePolicy, int, BindingFunction...) - Constructor for class org.grouplens.grapht.solver.DefaultInjector
-
Create a new DefaultInjector.
- DefaultInteger - Annotation Type in org.grouplens.grapht.annotation
-
A default value for an integer parameter.
- DefaultNull - Annotation Type in org.grouplens.grapht.annotation
-
Mark a component or qualifier as defaulting to null
.
- DefaultProvider - Annotation Type in org.grouplens.grapht.annotation
-
DefaultProvider specifies a Provider implementation to act as a default binding
for types annotated with it.
- DefaultString - Annotation Type in org.grouplens.grapht.annotation
-
A default value for a string parameter.
- defaultValue - Variable in class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
- Dependency - Class in org.grouplens.grapht
-
Track information about a particular resolved dependency.
- Dependency.Flag - Enum in org.grouplens.grapht
-
Flags associated with a dependency.
- DependencySolver - Class in org.grouplens.grapht.solver
-
DependencySolver is a utility for resolving Desires into a dependency graph,
where nodes are shared when permitted by a Satisfaction's dependency
configuration.
- DependencySolverBuilder - Class in org.grouplens.grapht.solver
-
- DependencySolverBuilder() - Constructor for class org.grouplens.grapht.solver.DependencySolverBuilder
-
- Desire - Interface in org.grouplens.grapht.reflect
-
A possibly-not-concrete type.
- DesireChain - Class in org.grouplens.grapht.solver
-
A sequence of desires.
- Desires - Class in org.grouplens.grapht.reflect
-
- get(int) - Method in class org.grouplens.grapht.util.AbstractChain
-
- get() - Method in class org.grouplens.grapht.util.InstanceProvider
-
- get() - Method in class org.grouplens.grapht.util.MemoizingProvider
-
- getAdjacentNodes() - Method in class org.grouplens.grapht.graph.DAGNode
-
Get the nodes that are adjacent to this node (only considering outgoing edges).
- getAttribute(Class<A>) - Method in interface org.grouplens.grapht.reflect.InjectionPoint
-
Return the attribute of type A that is applied to the injection point.
- getAttribute(Class<A>) - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
- getAttribute(Class<A>) - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
-
- getAttribute(Class<A>) - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
-
- getAttribute(Class<A>) - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
- getAttribute(Class<A>) - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
-
- getAttributes() - Method in interface org.grouplens.grapht.reflect.InjectionPoint
-
- getAttributes() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
- getAttributes() - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
-
- getAttributes() - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
-
- getAttributes() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
- getAttributes() - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
-
- getBackEdge(DAGNode<Component, Dependency>, Desire) - Method in class org.grouplens.grapht.solver.DependencySolver
-
Get the back edge for a particular node and desire, if one exists.
- getBackEdges() - Method in class org.grouplens.grapht.solver.DependencySolver
-
Get the map of back-edges for circular dependencies.
- getBindingFunctions() - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Get the current list of binding functions.
- getBindRules() - Method in exception org.grouplens.grapht.solver.MultipleBindingsException
-
- getCachePolicy() - Method in class org.grouplens.grapht.Component
-
- getCachePolicy() - Method in class org.grouplens.grapht.solver.BindingResult
-
- getCachePolicy() - Method in interface org.grouplens.grapht.solver.BindRule
-
Get the rule's cache policy.
- getCachePolicy() - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Get the cache policy.
- getClassName() - Method in class org.grouplens.grapht.util.ClassProxy
-
Get the class name.
- getContext() - Method in exception org.grouplens.grapht.solver.MultipleBindingsException
-
- getContext() - Method in exception org.grouplens.grapht.solver.UnresolvableDependencyException
-
- getCurrentDesire() - Method in class org.grouplens.grapht.solver.DesireChain
-
- getDefaultCachePolicy() - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
-
- getDefaultCachePolicy() - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
-
- getDefaultCachePolicy() - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
-
- getDefaultCachePolicy() - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
-
- getDefaultCachePolicy() - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
-
- getDefaultCachePolicy() - Method in interface org.grouplens.grapht.reflect.Satisfaction
-
Get the default cache policy for instances created by this satisfaction.
- getDefaultClassLoader() - Static method in class org.grouplens.grapht.util.Types
-
- getDefaultPolicy() - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Get the current default policy.
- getDependencies() - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
-
- getDependencies() - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
-
- getDependencies() - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
-
- getDependencies() - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
-
- getDependencies() - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
-
- getDependencies() - Method in interface org.grouplens.grapht.reflect.Satisfaction
-
Get this satisfaction's dependencies.
- getDependencyType() - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Get the dependency type to match.
- getDesire() - Method in class org.grouplens.grapht.solver.BindingResult
-
- getDesire() - Method in exception org.grouplens.grapht.solver.CyclicDependencyException
-
- getDesire() - Method in exception org.grouplens.grapht.solver.MultipleBindingsException
-
- getDesire() - Method in exception org.grouplens.grapht.solver.UnresolvableDependencyException
-
- getDesireChain() - Method in class org.grouplens.grapht.Dependency
-
Get the desire chain associated with this dependency.
- getDesiredType() - Method in interface org.grouplens.grapht.reflect.Desire
-
- getDesiredType() - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
-
- getDesires(Class<?>) - Static method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
-
Return a list of desires that must satisfied in order to instantiate the
given type.
- getEdges() - Method in class org.grouplens.grapht.graph.DAGNodeBuilder
-
Get the set of edges.
- getErasedType() - Method in interface org.grouplens.grapht.reflect.InjectionPoint
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
- getErasedType() - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
-
- getErasedType() - Method in interface org.grouplens.grapht.reflect.Satisfaction
-
Get the type-erased class of this satisfaction's type.
- getFlags() - Method in class org.grouplens.grapht.Dependency
-
Get the flags associated with this dependency.
- getFlags() - Method in interface org.grouplens.grapht.solver.BindRule
-
Get the flags attached to this bind rule.
- getGenerateRules() - Method in class org.grouplens.grapht.BindingFunctionBuilder
-
- getGraph() - Method in class org.grouplens.grapht.solver.DependencySolver
-
Get the current full dependency graph.
- getHead() - Method in class org.grouplens.grapht.graph.DAGEdge
-
Get the edge's head (starting node).
- getImplementation() - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Get the target implementation.
- getIncomingEdges(DAGNode<V, E>) - Method in class org.grouplens.grapht.graph.DAGNode
-
Get the incoming edges to a node reachable from this node.
- getInitialDesire() - Method in class org.grouplens.grapht.Dependency
-
Convenience method to get the initial desire that prompted this dependency.
- getInitialDesire() - Method in class org.grouplens.grapht.solver.DesireChain
-
- getInjectionPoint() - Method in exception org.grouplens.grapht.ConstructionException
-
- getInjectionPoint() - Method in interface org.grouplens.grapht.reflect.Desire
-
- getInjectionPoint() - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
-
- getInstance(Class<T>) - Method in interface org.grouplens.grapht.Injector
-
Get an instance of T based on the bindings that this Injector was
configured with.
- getInstance(Annotation, Class<T>) - Method in interface org.grouplens.grapht.Injector
-
Get an instance of T with the given Qualifier
annotation.
- getInstance() - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
-
- getInstance(Class<T>) - Method in class org.grouplens.grapht.solver.DefaultInjector
-
- getInstance(Annotation, Class<T>) - Method in class org.grouplens.grapht.solver.DefaultInjector
-
- getKey() - Method in class org.grouplens.grapht.solver.DesireChain
-
Get this chain's key.
- getLabel() - Method in class org.grouplens.grapht.graph.DAGEdge
-
Get the edge's label.
- getLabel() - Method in class org.grouplens.grapht.graph.DAGNode
-
Get the label for this node.
- getLabel() - Method in class org.grouplens.grapht.graph.DAGNodeBuilder
-
Get the label set for this node.
- getLeading() - Method in class org.grouplens.grapht.solver.InjectionContext
-
Get everything except the last element of this context.
- getMatcher() - Method in class org.grouplens.grapht.context.ContextPattern.Element
-
- getMaxDepth() - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Get the maximum depth.
- getMember() - Method in interface org.grouplens.grapht.reflect.InjectionPoint
-
Return the Member that produced this injection point.
- getMember() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
- getMember() - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
-
- getMember() - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
-
- getMember() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
- getMember() - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
-
- getMessage() - Method in exception org.grouplens.grapht.InvalidBindingException
-
- getMessage() - Method in exception org.grouplens.grapht.solver.CyclicDependencyException
-
- getMessage() - Method in exception org.grouplens.grapht.solver.MultipleBindingsException
-
- getMessage() - Method in exception org.grouplens.grapht.solver.UnresolvableDependencyException
-
- getMultiplicity() - Method in class org.grouplens.grapht.context.ContextPattern.Element
-
- getOutgoingEdge(DAGNode<V, E>, E) - Method in class org.grouplens.grapht.graph.DAGNode
-
Get the outgoing edge with the specified target and label, if it exists.
- getOutgoingEdges() - Method in class org.grouplens.grapht.graph.DAGNode
-
Get the outgoing edges of this node.
- getOutgoingEdgeWithLabel(E) - Method in class org.grouplens.grapht.graph.DAGNode
-
Get an outgoing edge from this node with the specified label, if it exists.
- getOutgoingEdgeWithLabel(Predicate<? super E>) - Method in class org.grouplens.grapht.graph.DAGNode
-
Search for an outgoing edge by a predicate.
- getParameterIndex() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
- getParameterIndex() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
- getPreviousDesires() - Method in class org.grouplens.grapht.solver.DesireChain
-
Return the list of desires up to, but not including, the current desire.
- getPriority() - Method in interface org.grouplens.grapht.context.MatchElement
-
Get the priority of this element matcher.
- getPriority() - Method in interface org.grouplens.grapht.reflect.QualifierMatcher
-
Get the priority of this matcher.
- getProvidedType() - Method in class org.grouplens.grapht.util.InstanceProvider
-
- getProvidedType() - Method in class org.grouplens.grapht.util.MemoizingProvider
-
- getProvidedType() - Method in interface org.grouplens.grapht.util.TypedProvider
-
Get the type of object that will be provided by this provider.
- getProvidedType(Class<? extends Provider<?>>) - Static method in class org.grouplens.grapht.util.Types
-
Get the type that is provided by a given implementation of
Provider
.
- getProvidedType(Provider<?>) - Static method in class org.grouplens.grapht.util.Types
-
Get the type that is provided by the Provider instance.
- getProvider() - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
-
- getProviderType() - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
-
- getQualifier() - Method in interface org.grouplens.grapht.reflect.InjectionPoint
-
Return the qualifier annotation added to the injection point.
- getQualifier() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
- getQualifier() - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
-
- getQualifier() - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
-
- getQualifier() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
- getQualifier() - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
-
- getQualifierMatcher() - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Get the configured qualifer matcher.
- getReachableNodes() - Method in class org.grouplens.grapht.graph.DAGNode
-
- getRootContext() - Method in class org.grouplens.grapht.BindingFunctionBuilder
-
- getRootNode() - Method in class org.grouplens.grapht.solver.DependencySolver
-
- getRules() - Method in class org.grouplens.grapht.solver.RuleBasedBindingFunction
-
Get the rules underlying this binding function.
- getSatisfaction() - Method in class org.grouplens.grapht.Component
-
- getSatisfaction() - Method in interface org.grouplens.grapht.reflect.Desire
-
Get the satisfaction (concrete type) if this desire is fully resolved.
- getSatisfaction() - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
-
- getSatisfaction() - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Get the target satisfaction.
- getSolver() - Method in class org.grouplens.grapht.solver.DefaultInjector
-
- getSortedNodes() - Method in class org.grouplens.grapht.graph.DAGNode
-
Topographical sort all nodes reachable from the given root node.
- getSupportedAnnotationTypes() - Method in class org.grouplens.grapht.annotation.AnnotationValidator
-
- getSupportedSourceVersion() - Method in class org.grouplens.grapht.annotation.AnnotationValidator
-
- getTail() - Method in class org.grouplens.grapht.graph.DAGEdge
-
Get the edge's tail (ending node).
- getTailValue() - Method in class org.grouplens.grapht.util.AbstractChain
-
- getTriggerFunctions() - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Get the current list of trigger binding functions.
- getType() - Method in exception org.grouplens.grapht.ConstructionException
-
- getType() - Method in interface org.grouplens.grapht.Instantiator
-
Get the type that this instantiator will instantiate.
- getType() - Method in exception org.grouplens.grapht.InvalidBindingException
-
- getType() - Method in interface org.grouplens.grapht.reflect.InjectionPoint
-
Return the type required to satisfy the injection point.
- getType() - Method in class org.grouplens.grapht.reflect.internal.ClassInstantiator
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
- getType() - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
-
- getType() - Method in interface org.grouplens.grapht.reflect.Satisfaction
-
Get the type of this satisfaction.
- getTypeDistance() - Method in interface org.grouplens.grapht.context.MatchElement
-
Get the type distance of this match.
- getTypeDistance(Class<?>, Class<?>) - Static method in class org.grouplens.grapht.util.Types
-
Return the type distance between the child and parent types.
- in(Class<?>) - Method in class org.grouplens.grapht.AbstractContext
-
Deprecated.
- in(Class<? extends Annotation>, Class<?>) - Method in class org.grouplens.grapht.AbstractContext
-
Deprecated.
- in(Annotation, Class<?>) - Method in class org.grouplens.grapht.AbstractContext
-
Deprecated.
- in(Class<?>) - Method in interface org.grouplens.grapht.Context
-
- in(Class<? extends Annotation>, Class<?>) - Method in interface org.grouplens.grapht.Context
-
- in(Annotation, Class<?>) - Method in interface org.grouplens.grapht.Context
-
- inferDefault() - Static method in class org.grouplens.grapht.util.ClassLoaders
-
Infer a default class loader.
- inferDefault(Class<?>) - Static method in class org.grouplens.grapht.util.ClassLoaders
-
Infer a default class loader.
- initialContext() - Static method in class org.grouplens.grapht.solver.DependencySolver
-
Get an initial injection context.
- InjectionContainer - Class in org.grouplens.grapht
-
Container for dependency-injected components.
- InjectionContext - Class in org.grouplens.grapht.solver
-
- InjectionException - Exception in org.grouplens.grapht
-
- InjectionException() - Constructor for exception org.grouplens.grapht.InjectionException
-
- InjectionException(String) - Constructor for exception org.grouplens.grapht.InjectionException
-
- InjectionException(Throwable) - Constructor for exception org.grouplens.grapht.InjectionException
-
- InjectionException(String, Throwable) - Constructor for exception org.grouplens.grapht.InjectionException
-
- InjectionPoint - Interface in org.grouplens.grapht.reflect
-
InjectionPoint represents a point of injection for an instantiable type.
- Injector - Interface in org.grouplens.grapht
-
Injector uses dependency injection to act as a factory for creating instances
with complex dependencies.
- InjectorBuilder - Class in org.grouplens.grapht
-
InjectorBuilder is a Builder implementation that is capable of creating a
simple
Injector
.
- InjectorBuilder(Module...) - Constructor for class org.grouplens.grapht.InjectorBuilder
-
- inRange(int, int, int) - Static method in class org.grouplens.grapht.util.Preconditions
-
- instance(Object) - Static method in class org.grouplens.grapht.reflect.Satisfactions
-
- InstanceProvider<T> - Class in org.grouplens.grapht.util
-
InstanceProvider is a simple Provider that always provides the same instance.
- InstanceProvider(T) - Constructor for class org.grouplens.grapht.util.InstanceProvider
-
- InstanceSatisfaction - Class in org.grouplens.grapht.reflect.internal
-
Satisfaction implementation wrapping an instance.
- InstanceSatisfaction(Object) - Constructor for class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
-
Create a new instance node wrapping an instance.
- instantiate() - Method in interface org.grouplens.grapht.Instantiator
-
- instantiate() - Method in class org.grouplens.grapht.reflect.internal.ClassInstantiator
-
- Instantiator - Interface in org.grouplens.grapht
-
Interface for instantiating components.
- Instantiators - Class in org.grouplens.grapht
-
Utilities and methods for building and working with
Instantiator
s.
- InvalidBindingException - Exception in org.grouplens.grapht
-
Thrown when a binding configuration is invalid, which often occurs when an
implementation type is bound to a type that it is not a subclass of, or when
an annotation is intended to be used as a qualifier but has not been
annotated with Qualifier
.
- InvalidBindingException(Class<?>) - Constructor for exception org.grouplens.grapht.InvalidBindingException
-
- InvalidBindingException(Class<?>, String) - Constructor for exception org.grouplens.grapht.InvalidBindingException
-
- InvalidBindingException(Class<?>, Throwable) - Constructor for exception org.grouplens.grapht.InvalidBindingException
-
- InvalidBindingException(Class<?>, String, Throwable) - Constructor for exception org.grouplens.grapht.InvalidBindingException
-
- invertMatch(ContextElementMatcher) - Static method in class org.grouplens.grapht.context.ContextElements
-
- isAssignable(Class<?>, Class<?>) - Static method in class org.grouplens.grapht.util.Preconditions
-
- isConsumed() - Method in enum org.grouplens.grapht.context.Multiplicity
-
- isDeferred() - Method in class org.grouplens.grapht.solver.BindingResult
-
- isFixed() - Method in class org.grouplens.grapht.Dependency
-
Query whether this dependency is immune to rewriting.
- isFixed() - Method in class org.grouplens.grapht.solver.BindingResult
-
Query if the binding result is fixed.
- isInstantiable() - Method in interface org.grouplens.grapht.reflect.Desire
-
Query whether this desire is instantiable, that is, resolved to a
concrete type.
- isInstantiable() - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
-
- isInstantiable(Class<?>) - Static method in class org.grouplens.grapht.util.Types
-
Return true if the type is not abstract and not an interface, and has
a constructor annotated with Inject
or its only constructor
is the default constructor.
- isNullable() - Method in interface org.grouplens.grapht.reflect.InjectionPoint
-
- isNullable() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
-
- isNullable() - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
-
- isNullable() - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
-
- isNullable() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
- isNullable() - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
-
- isOptional() - Method in enum org.grouplens.grapht.context.Multiplicity
-
- isQualifier(Class<? extends Annotation>) - Static method in class org.grouplens.grapht.reflect.Qualifiers
-
Return true or false whether or not the annotation type represents a
Qualifier
- isQualifier(Class<?>) - Static method in class org.grouplens.grapht.util.Preconditions
-
- isSerializationPermissive() - Static method in class org.grouplens.grapht.util.ClassProxy
-
- isTerminal() - Method in interface org.grouplens.grapht.solver.BindRule
-
Query whether this rule is terminal.
- isTerminal() - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Query whether the binding will be terminal.
- iterator() - Method in class org.grouplens.grapht.util.AbstractChain
-
- makeInstantiator(DAGNode<Component, Dependency>) - Method in class org.grouplens.grapht.InjectionContainer
-
Get a provider that, when invoked, will return an instance of the component represented
by a graph.
- makeInstantiator(DAGNode<Component, Dependency>, SetMultimap<DAGNode<Component, Dependency>, DAGEdge<Component, Dependency>>) - Method in class org.grouplens.grapht.InjectionContainer
-
Get a provider that, when invoked, will return an instance of the component represented
by a graph with back edges.
- makeInstantiator(Map<Desire, Instantiator>) - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
-
- makeInstantiator(Map<Desire, Instantiator>) - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
-
- makeInstantiator(Map<Desire, Instantiator>) - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
-
- makeInstantiator(Map<Desire, Instantiator>) - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
-
- makeInstantiator(Map<Desire, Instantiator>) - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
-
- makeInstantiator(Map<Desire, Instantiator>) - Method in interface org.grouplens.grapht.reflect.Satisfaction
-
Create an instantiator from this satisfaction.
- match(Class<? extends Annotation>) - Static method in class org.grouplens.grapht.reflect.Qualifiers
-
- match(Annotation) - Static method in class org.grouplens.grapht.reflect.Qualifiers
-
- matchAny() - Static method in class org.grouplens.grapht.context.ContextElements
-
- matchAny() - Static method in class org.grouplens.grapht.reflect.Qualifiers
-
- matchDefault() - Static method in class org.grouplens.grapht.reflect.Qualifiers
-
The default qualifier matcher.
- MatchElement - Interface in org.grouplens.grapht.context
-
A single element in a context match.
- MatchElement.Order - Enum in org.grouplens.grapht.context
-
Orderings for the match order.
- matches(InjectionContext) - Method in interface org.grouplens.grapht.context.ContextMatcher
-
Attempt to match this context matcher against the specified context.
- matches(InjectionContext) - Method in class org.grouplens.grapht.context.ContextPattern
-
- matches(Annotation) - Method in interface org.grouplens.grapht.reflect.QualifierMatcher
-
Return true if this matcher matches the given qualifier annotation.
- matches(Desire) - Method in interface org.grouplens.grapht.solver.BindRule
-
- matching(ContextPattern) - Method in interface org.grouplens.grapht.Context
-
Restruct context to matching a particular pattern.
- matching(ContextPattern) - Method in class org.grouplens.grapht.InjectorBuilder
-
- matchNone() - Static method in class org.grouplens.grapht.reflect.Qualifiers
-
- matchType(Class<?>) - Static method in class org.grouplens.grapht.context.ContextElements
-
- matchType(Class<?>, QualifierMatcher) - Static method in class org.grouplens.grapht.context.ContextElements
-
- memoize(Instantiator) - Static method in class org.grouplens.grapht.Instantiators
-
Memoize an instantiator.
- memoize(Provider<T>) - Static method in class org.grouplens.grapht.util.Providers
-
- MemoizingProvider<T> - Class in org.grouplens.grapht.util
-
MemoizingProvider is a Provider that enforces memoization or caching on
another Provider that it wraps.
- MemoizingProvider(Provider<T>) - Constructor for class org.grouplens.grapht.util.MemoizingProvider
-
- merge(DAGNode<V, E>) - Method in class org.grouplens.grapht.graph.MergePool
-
Merge and simplify a graph.
- MergePool<V,E> - Class in org.grouplens.grapht.graph
-
Merges graphs to remove redundant nodes.
- MethodProxy - Class in org.grouplens.grapht.util
-
Proxy class for serializing methods
- Module - Interface in org.grouplens.grapht
-
Module represents a grouping of related configuration.
- MultipleBindingsException - Exception in org.grouplens.grapht.solver
-
Thrown when a BindingFunction would be required to return multiple binding
results for a given desire and context.
- MultipleBindingsException(DesireChain, InjectionContext, Collection<?>) - Constructor for exception org.grouplens.grapht.solver.MultipleBindingsException
-
- Multiplicity - Enum in org.grouplens.grapht.context
-
Multiplicity of element matches - how many times may/must an element match?
- Satisfaction - Interface in org.grouplens.grapht.reflect
-
A concrete type.
- Satisfactions - Class in org.grouplens.grapht.reflect
-
- SatisfactionVisitor<T> - Interface in org.grouplens.grapht.reflect
-
- set(String, boolean) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the annotation defined member given by name to the boolean
value.
- set(String, byte) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, short) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, int) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, long) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, char) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, float) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, double) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, String) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, Annotation) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, boolean[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, byte[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, short[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, int[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, long[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, char[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, float[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, double[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, String[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(String, A[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
- set(BindingFlag...) - Static method in enum org.grouplens.grapht.solver.BindingFlag
-
- setCachePolicy(CachePolicy) - Method in class org.grouplens.grapht.solver.BindingResult.Builder
-
- setCachePolicy(CachePolicy) - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Set the cache policy.
- setDefaultCachePolicy(CachePolicy) - Method in class org.grouplens.grapht.InjectorBuilder
-
Set the default cache policy used by injectors created by this builder.
- setDefaultPolicy(CachePolicy) - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Set the default policy for the solver.
- setDependencyType(Class<?>) - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Set the dependency type to match.
- setDesire(Desire) - Method in class org.grouplens.grapht.solver.BindingResult.Builder
-
- setFlags(EnumSet<BindingFlag>) - Method in class org.grouplens.grapht.solver.BindingResult.Builder
-
- setFlags(EnumSet<BindingFlag>) - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Set the flags on this bind rule.
- setImplementation(Class<?>) - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Set the target implementation.
- setLabel(V) - Method in class org.grouplens.grapht.graph.DAGNodeBuilder
-
Set the node's label.
- setMaxDepth(int) - Method in class org.grouplens.grapht.solver.DependencySolverBuilder
-
Set the maximum object graph depth, for cycle detection.
- setProviderInjectionEnabled(boolean) - Method in class org.grouplens.grapht.InjectorBuilder
-
Set whether or not to enable provider injection support in the built
Injectors.
- setQualifierMatcher(QualifierMatcher) - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Set the qualifier matcher.
- setSatisfaction(Satisfaction) - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Set the satisfaction to bind to.
- SetterInjectionPoint - Class in org.grouplens.grapht.reflect.internal
-
SetterInjectionPoint represents an injection point via a setter method.
- SetterInjectionPoint(Method, int) - Constructor for class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
-
Create a SetterInjectionPoint that wraps the given setter method.
- setTerminal(boolean) - Method in class org.grouplens.grapht.solver.BindRuleBuilder
-
Set whether the binding will be terminal.
- setValue(boolean) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given boolean value.
- setValue(byte) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given byte value.
- setValue(short) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given short value.
- setValue(int) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given int value.
- setValue(long) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given long value.
- setValue(double) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given double value.
- setValue(float) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given float value.
- setValue(char) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given char value.
- setValue(String) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given String value.
- setValue(A) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given annotation.
- setValue(boolean[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given boolean array.
- setValue(byte[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given byte array.
- setValue(short[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given short array.
- setValue(int[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given int array.
- setValue(long[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given long array.
- setValue(double[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given double array.
- setValue(float[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given float array.
- setValue(char[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given char array.
- setValue(String[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given String array.
- setValue(A[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
-
Set the 'value' attribute to the given annotation array.
- shared() - Method in interface org.grouplens.grapht.Binding
-
Configure the binding so that a shared instance is always used when
satisfying matched injection points, effectively making it a singleton or
memoized within its container.
- shouldBeInstantiable(Class<?>) - Static method in class org.grouplens.grapht.util.Types
-
Return true if the type is not abstract and not an interface.
- SimpleInjectionPoint - Class in org.grouplens.grapht.reflect.internal
-
- SimpleInjectionPoint(Annotation, Class<?>, boolean) - Constructor for class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
-
- singleton(V) - Static method in class org.grouplens.grapht.graph.DAGNode
-
Create a new DAG node with no outgoing edges.
- singleton(Desire) - Static method in class org.grouplens.grapht.solver.DesireChain
-
- singleton(Satisfaction, InjectionPoint) - Static method in class org.grouplens.grapht.solver.InjectionContext
-
Construct a singleton injection context.
- singleton(Satisfaction) - Static method in class org.grouplens.grapht.solver.InjectionContext
-
Construct a singleton injection context with no attributes.
- size() - Method in class org.grouplens.grapht.util.AbstractChain
-
- SolverException - Exception in org.grouplens.grapht.solver
-
Deprecated.
- SolverException() - Constructor for exception org.grouplens.grapht.solver.SolverException
-
Deprecated.
- SolverException(String) - Constructor for exception org.grouplens.grapht.solver.SolverException
-
Deprecated.
- SolverException(Throwable) - Constructor for exception org.grouplens.grapht.solver.SolverException
-
Deprecated.
- SolverException(String, Throwable) - Constructor for exception org.grouplens.grapht.solver.SolverException
-
Deprecated.
- subsequence(Class<?>...) - Static method in class org.grouplens.grapht.context.ContextPattern
-
Create a context matcher matching any context with the specified subsequence.
- subsequence(ContextElementMatcher...) - Static method in class org.grouplens.grapht.context.ContextPattern
-
Create a context matcher matching any context with a subequence matching the provided matchers.
- valueOf(String) - Static method in enum org.grouplens.grapht.BindingFunctionBuilder.RuleSet
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.grouplens.grapht.CachePolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.grouplens.grapht.context.ContextElements.MatchPriority
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.grouplens.grapht.context.MatchElement.Order
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.grouplens.grapht.context.Multiplicity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.grouplens.grapht.Dependency.Flag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.grouplens.grapht.solver.BindingFlag
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.grouplens.grapht.BindingFunctionBuilder.RuleSet
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.grouplens.grapht.CachePolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.grouplens.grapht.context.ContextElements.MatchPriority
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.grouplens.grapht.context.MatchElement.Order
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.grouplens.grapht.context.Multiplicity
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.grouplens.grapht.Dependency.Flag
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.grouplens.grapht.solver.BindingFlag
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- visit(SatisfactionVisitor<T>) - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
-
- visit(SatisfactionVisitor<T>) - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
-
- visit(SatisfactionVisitor<T>) - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
-
- visit(SatisfactionVisitor<T>) - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
-
- visit(SatisfactionVisitor<T>) - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
-
- visit(SatisfactionVisitor<T>) - Method in interface org.grouplens.grapht.reflect.Satisfaction
-
Visit the satisfaction.
- visitClass(Class<?>) - Method in class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
- visitClass(Class<?>) - Method in interface org.grouplens.grapht.reflect.SatisfactionVisitor
-
Called when visiting a satisfaction that will instantiate a class.
- visitDefault() - Method in class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
Default method called when other methods are not overridden.
- visitInstance(Object) - Method in class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
- visitInstance(Object) - Method in interface org.grouplens.grapht.reflect.SatisfactionVisitor
-
Called when visiting a satisfaction that will return a pre-configured instance.
- visitNull() - Method in class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
- visitNull() - Method in interface org.grouplens.grapht.reflect.SatisfactionVisitor
-
Called when visiting a null satisfaction.
- visitProviderClass(Class<? extends Provider<?>>) - Method in class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
- visitProviderClass(Class<? extends Provider<?>>) - Method in interface org.grouplens.grapht.reflect.SatisfactionVisitor
-
Called when visiting a satisfaction that will instantiate and invoke a provider class.
- visitProviderInstance(Provider<?>) - Method in class org.grouplens.grapht.reflect.AbstractSatisfactionVisitor
-
- visitProviderInstance(Provider<?>) - Method in interface org.grouplens.grapht.reflect.SatisfactionVisitor
-
Called when visiting a satisfaction that will invoke a pre-instantiated provider.