A B C D E F G H I L M N O P Q R S T U V W 

A

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
Abstract implementation of SatisfactionVisitor.
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 an element to this pattern with multiplicity Multiplicity.ONE.
append(Class<?>) - Method in class org.grouplens.grapht.context.ContextPattern
Append a type element to this pattern with multiplicity Multiplicity.ONE.
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).

B

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 is the result tuple of a BindingFunction.
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
Utility methods for BindRule.
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.

C

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
A class loader context, used to restore the state from ClassLoaders.pushContext(ClassLoader).
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
 

D

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
A builder for DAG nodes.
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
A binding function that looks for DefaultImplementation or DefaultProvider on the desired type or the qualifier.
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
A builder for DependencySolvers.
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
 

E

empty() - Static method in class org.grouplens.grapht.context.ContextPattern
Create an empty context pattern.
emptySet() - Static method in enum org.grouplens.grapht.Dependency.Flag
 
emptySet() - Static method in enum org.grouplens.grapht.solver.BindingFlag
 
equals(Object) - Method in class org.grouplens.grapht.Component
 
equals(Object) - Method in class org.grouplens.grapht.context.ContextMatch
 
equals(Object) - Method in class org.grouplens.grapht.context.ContextPattern.Element
 
equals(Object) - Method in class org.grouplens.grapht.context.ContextPattern
 
equals(Object) - Method in class org.grouplens.grapht.Dependency
 
equals(Object) - Method in class org.grouplens.grapht.graph.DAGEdge
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire.Signature
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
 
equals(Object) - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
 
equals(Object) - Method in class org.grouplens.grapht.util.AbstractChain
 
equals(Object) - Method in class org.grouplens.grapht.util.ClassProxy
 
equals(Object) - Method in class org.grouplens.grapht.util.ConstructorProxy
 
equals(Object) - Method in class org.grouplens.grapht.util.FieldProxy
 
equals(Object) - Method in class org.grouplens.grapht.util.MethodProxy
 
erase(Type) - Static method in class org.grouplens.grapht.util.Types
Compute the erasure of a type.
exclude(Class<?>) - Method in interface org.grouplens.grapht.Binding
Exclude the provided type from being matched when examining injection points.
extend(Desire) - Method in class org.grouplens.grapht.solver.DesireChain
Extend this chain with a new desire.
extend(Satisfaction, InjectionPoint) - Method in class org.grouplens.grapht.solver.InjectionContext
Create a new context that is updated to have the satisfaction and attribute pushed to the end of its type path.
extractHead() - Static method in class org.grouplens.grapht.graph.DAGEdge
 
extractTail() - Static method in class org.grouplens.grapht.graph.DAGEdge
 

F

FieldInjectionPoint - Class in org.grouplens.grapht.reflect.internal
FieldInjectionPoint is an injection point wrapping a field.
FieldInjectionPoint(Field) - Constructor for class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
Create an injection point wrapping the given field
FieldProxy - Class in org.grouplens.grapht.util
Proxy class for serializing fields.
findEdgeBFS(Predicate<? super DAGEdge<V, E>>) - Method in class org.grouplens.grapht.graph.DAGNode
Do a breadth-first search for an edge.
findNodeBFS(Predicate<? super DAGNode<V, E>>) - Method in class org.grouplens.grapht.graph.DAGNode
Do a breadth-first search for a node.
fixed() - Method in interface org.grouplens.grapht.Binding
Configure the binding so that its results are 'fixed'.
format(InjectionContext, DesireChain) - Method in exception org.grouplens.grapht.ResolutionException
 
format(InjectionPoint) - Method in exception org.grouplens.grapht.ResolutionException
 
format(InjectionPoint, Class<?>) - Method in exception org.grouplens.grapht.ResolutionException
 
fromSupplier(Supplier<T>, Class<T>) - Static method in class org.grouplens.grapht.util.Providers
Convert a supplier to a provider.

G

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
Deprecated.
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
Deprecated.
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.

H

hashCode() - Method in class org.grouplens.grapht.Component
 
hashCode() - Method in class org.grouplens.grapht.context.ContextMatch
 
hashCode() - Method in class org.grouplens.grapht.context.ContextPattern.Element
 
hashCode() - Method in class org.grouplens.grapht.context.ContextPattern
 
hashCode() - Method in class org.grouplens.grapht.Dependency
 
hashCode() - Method in class org.grouplens.grapht.graph.DAGEdge
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire.Signature
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
 
hashCode() - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
 
hashCode() - Method in class org.grouplens.grapht.util.AbstractChain
 
hashCode() - Method in class org.grouplens.grapht.util.ClassProxy
 
hashCode() - Method in class org.grouplens.grapht.util.ConstructorProxy
 
hashCode() - Method in class org.grouplens.grapht.util.FieldProxy
 
hashCode() - Method in class org.grouplens.grapht.util.MethodProxy
 
hasInitialDesire(Desire) - Static method in class org.grouplens.grapht.Dependency
Create a predicate matching dependencies with the specified initial desire.
hasInitialDesire(Desire) - Static method in class org.grouplens.grapht.solver.DesireChain
 
hasInstance() - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
 
hasInstance() - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
 
hasInstance() - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
 
hasInstance() - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
 
hasInstance() - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
 
hasInstance() - Method in interface org.grouplens.grapht.reflect.Satisfaction
Query whether this satisfaction already has an instance to return.
hasNullableAnnotation(Annotation[]) - Static method in class org.grouplens.grapht.util.Types
Return true if the array of Annotations contains an Annotation with a simple name of 'Nullable'.
headMatches(Predicate<? super DAGNode<V, E>>) - Static method in class org.grouplens.grapht.graph.DAGEdge
 

I

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
Deprecated.
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
InjectionContext represents the current path through the dependency graph to the desire being resolved by BindingFunction.bind(InjectionContext, DesireChain).
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
Deprecated.
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
Deprecated.
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 Instantiators.
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
 

L

labelMatches(Predicate<? super E>) - Static method in class org.grouplens.grapht.graph.DAGEdge
 
labelMatches(Predicate<? super V>) - Static method in class org.grouplens.grapht.graph.DAGNode
 
length - Variable in class org.grouplens.grapht.util.AbstractChain
 

M

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?

N

named(String) - Static method in class org.grouplens.grapht.Names
Get a Named annotation instance whose value equals the provided String.
Names - Class in org.grouplens.grapht
Names is a utility class to create Named annotation instances when configuring an injector that relies on named qualifiers.
Names() - Constructor for class org.grouplens.grapht.Names
 
newBuilder() - Static method in class org.grouplens.grapht.graph.DAGNode
Construct a new DAG node builder.
newBuilder(V) - Static method in class org.grouplens.grapht.graph.DAGNode
Construct a new DAG node builder.
newBuilder() - Static method in class org.grouplens.grapht.solver.BindingResult
 
newBuilder(Desire, CachePolicy) - Static method in class org.grouplens.grapht.solver.BindingResult
 
newBuilder() - Static method in class org.grouplens.grapht.solver.DependencySolver
Create a new dependency solver builder.
newCopyBuilder() - Method in interface org.grouplens.grapht.solver.BindRule
Create a new bind rule builder initialized to copy this bind rule.
NoArgumentInjectionPoint - Class in org.grouplens.grapht.reflect.internal
 
NoArgumentInjectionPoint(Method) - Constructor for class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
Create a NoArgumentInjectionPoint that wraps the given no-argument method.
notNull(String, Object) - Static method in class org.grouplens.grapht.util.Preconditions
 
NullDependencyException - Exception in org.grouplens.grapht
A non-null dependency had a null resolution.
NullDependencyException(InjectionPoint) - Constructor for exception org.grouplens.grapht.NullDependencyException
 
nullOfType(Class<?>) - Static method in class org.grouplens.grapht.reflect.Satisfactions
 
NullSatisfaction - Class in org.grouplens.grapht.reflect.internal
NullSatisfaction is a satisfaction that explicitly satisfies desires with the null value.
NullSatisfaction(Class<?>) - Constructor for class org.grouplens.grapht.reflect.internal.NullSatisfaction
Create a NullSatisfaction that uses null to satisfy the given class type.

O

of(Class<T>) - Static method in class org.grouplens.grapht.annotation.AnnotationBuilder
Constructor method to allow the builder type to be inferred.
of(Class<?>) - Static method in class org.grouplens.grapht.util.ClassProxy
Construct a class proxy for a class.
of(Constructor) - Static method in class org.grouplens.grapht.util.ConstructorProxy
Construct a proxy for a constructor.
of(Field) - Static method in class org.grouplens.grapht.util.FieldProxy
Construct a proxy for a field.
of(Method) - Static method in class org.grouplens.grapht.util.MethodProxy
Construct a proxy for a method.
of(T) - Static method in class org.grouplens.grapht.util.Providers
 
of(T, Class<?>) - Static method in class org.grouplens.grapht.util.Providers
 
ofInstance(Object) - Static method in class org.grouplens.grapht.Instantiators
Create an instantiator that returns an instance.
ofNull(Class<?>) - Static method in class org.grouplens.grapht.Instantiators
Create an instantiator that returns a null value.
ofProvider(Provider<?>) - Static method in class org.grouplens.grapht.Instantiators
Convert a providerInstantiator to an instantiator.
ofProviderInstantiator(Instantiator) - Static method in class org.grouplens.grapht.Instantiators
Flatten an instnatiator of providers into an instantiator of the provided type.
org.grouplens.grapht - package org.grouplens.grapht
 
org.grouplens.grapht.annotation - package org.grouplens.grapht.annotation
Annotations to control the configuration injector.
org.grouplens.grapht.context - package org.grouplens.grapht.context
 
org.grouplens.grapht.graph - package org.grouplens.grapht.graph
Graph data structure exposed by Grapht.
org.grouplens.grapht.reflect - package org.grouplens.grapht.reflect
Interface for Grapht's use of Java reflection and type analysis.
org.grouplens.grapht.reflect.internal - package org.grouplens.grapht.reflect.internal
Implementation of Grapht reflection interfaces.
org.grouplens.grapht.solver - package org.grouplens.grapht.solver
Dependency resolution.
org.grouplens.grapht.util - package org.grouplens.grapht.util
 

P

parameterizedType(Class<?>, Type...) - Static method in class org.grouplens.grapht.util.Types
Create a parameterized type wrapping the given class and type arguments.
pop() - Method in class org.grouplens.grapht.util.ClassLoaderContext
Restore the original class loader before this context was entered.
Preconditions - Class in org.grouplens.grapht.util
Utility to organize checks for common assertions, and to throw appropriately worded exceptions on failure.
previous - Variable in class org.grouplens.grapht.util.AbstractChain
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.grouplens.grapht.annotation.AnnotationValidator
 
ProviderBindingFunction - Class in org.grouplens.grapht.solver
BindingFunction that enables provider-injection.
ProviderBindingFunction() - Constructor for class org.grouplens.grapht.solver.ProviderBindingFunction
 
ProviderClassSatisfaction - Class in org.grouplens.grapht.reflect.internal
ProviderClassSatisfaction is a satisfaction implementation that satisfies a type given a Provider class capable of providing that type.
ProviderClassSatisfaction(Class<? extends Provider<?>>) - Constructor for class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
Create a ProviderClassSatisfaction that wraps a given provider type.
providerInstance(Provider<?>) - Static method in class org.grouplens.grapht.reflect.Satisfactions
 
ProviderInstanceSatisfaction - Class in org.grouplens.grapht.reflect.internal
Satisfaction implementation wrapping an existing Provider instance.
ProviderInstanceSatisfaction(Provider<?>) - Constructor for class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
Create a new satisfaction that wraps the given Provider instance.
Providers - Class in org.grouplens.grapht.util
Utility methods for providers.
providerType(Class<? extends Provider<?>>) - Static method in class org.grouplens.grapht.reflect.Satisfactions
 
pushContext(ClassLoader) - Static method in class org.grouplens.grapht.util.ClassLoaders
Use the specified class loader for the current thread's context class loader.
pushContext(Thread, ClassLoader) - Static method in class org.grouplens.grapht.util.ClassLoaders
Use the specified class loader for the given thread's context class loader.

Q

QualifierMatcher - Interface in org.grouplens.grapht.reflect
QualifierMatcher encapsulates the logic used to determine if a BindRule or ContextElementMatcher match a particular Qualifier.
Qualifiers - Class in org.grouplens.grapht.reflect
Utilities related to Qualifier implementations.

R

ReflectionDesire - Class in org.grouplens.grapht.reflect.internal
ReflectionDesire is an implementation of desire that contains all necessary implementation to represent a desire, except that the point of injection is abstracted by an InjectionPoint.
ReflectionDesire(InjectionPoint) - Constructor for class org.grouplens.grapht.reflect.internal.ReflectionDesire
Create a ReflectionDesire that immediately wraps the given InjectionPoint.
ReflectionDesire(Class<?>, InjectionPoint, Satisfaction) - Constructor for class org.grouplens.grapht.reflect.internal.ReflectionDesire
Create a ReflectionDesire that represents the dependency for desiredType that will be injected into the given InjectionPoint.
ReflectionDesire.Signature - Class in org.grouplens.grapht.reflect.internal
 
ReflectionDesire.Signature(Method) - Constructor for class org.grouplens.grapht.reflect.internal.ReflectionDesire.Signature
 
removeDefaultExclusion(Class<?>) - Method in class org.grouplens.grapht.BindingFunctionBuilder
Remove a type that is currently being excluded.
replaceNode(DAGNode<V, E>, DAGNode<V, E>, Map<DAGNode<V, E>, DAGNode<V, E>>) - Method in class org.grouplens.grapht.graph.DAGNode
Replace one node with another in this graph.
ResolutionException - Exception in org.grouplens.grapht
Exception thrown when there is a dependency resolution error.
ResolutionException() - Constructor for exception org.grouplens.grapht.ResolutionException
 
ResolutionException(String) - Constructor for exception org.grouplens.grapht.ResolutionException
 
ResolutionException(Throwable) - Constructor for exception org.grouplens.grapht.ResolutionException
 
ResolutionException(String, Throwable) - Constructor for exception org.grouplens.grapht.ResolutionException
 
resolve(Desire) - Method in class org.grouplens.grapht.solver.DependencySolver
Update the dependency graph to include the given desire.
resolve() - Method in class org.grouplens.grapht.util.ClassProxy
Resolve a class proxy to a class.
resolve() - Method in class org.grouplens.grapht.util.ConstructorProxy
Resolve this proxy into a Constructor instance.
resolve() - Method in class org.grouplens.grapht.util.FieldProxy
Resolve this proxy into a Field instance.
resolve() - Method in class org.grouplens.grapht.util.MethodProxy
Resolve this proxy into a Method instance.
restrict(Class<?>) - Method in interface org.grouplens.grapht.reflect.Desire
Return a new Desire that restricts the type of this desire to the given class.
restrict(Satisfaction) - Method in interface org.grouplens.grapht.reflect.Desire
Return a new Desire that restricts the type of this desire to the erased type of the satisfaction.
restrict(Class<?>) - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
 
restrict(Satisfaction) - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
 
reverse() - Method in class org.grouplens.grapht.util.AbstractChain
 
reverseIterator() - Method in class org.grouplens.grapht.util.AbstractChain
Iterate over this chain's elements in reverse order.
rewrite(DAGNode<Component, Dependency>) - Method in class org.grouplens.grapht.solver.DependencySolver
Rewrite a dependency graph using the rules in this solver.
ROOT_SATISFACTION - Static variable in class org.grouplens.grapht.solver.DependencySolver
 
rootNode() - Static method in class org.grouplens.grapht.solver.DependencySolver
Get a singleton root node for a dependency graph.
RuleBasedBindingFunction - Class in org.grouplens.grapht.solver
BindingFunction that uses BindRules created by the fluent API to bind desires to other desires or satisfactions.
RuleBasedBindingFunction(Multimap<ContextMatcher, BindRule>) - Constructor for class org.grouplens.grapht.solver.RuleBasedBindingFunction
 

S

Satisfaction - Interface in org.grouplens.grapht.reflect
A concrete type.
Satisfactions - Class in org.grouplens.grapht.reflect
Class to construct specific Satisfaction implementations.
SatisfactionVisitor<T> - Interface in org.grouplens.grapht.reflect
An interface for visiting Satisfactions.
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
As AnnotationBuilder.set(String, boolean) but assigns a byte value.
set(String, short) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a short value.
set(String, int) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns an int value.
set(String, long) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a long value.
set(String, char) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a char value.
set(String, float) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a float value.
set(String, double) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a double value.
set(String, String) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a String value.
set(String, Annotation) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns an Annotation instance to the value.
set(String, boolean[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a boolean[] value.
set(String, byte[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a byte[] value.
set(String, short[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a short[] value.
set(String, int[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a int[] value.
set(String, long[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a long[] value.
set(String, char[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a char[] value.
set(String, float[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a float[] value.
set(String, double[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a double[] value.
set(String, String[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns a String[] value.
set(String, A[]) - Method in class org.grouplens.grapht.annotation.AnnotationBuilder
As AnnotationBuilder.set(String, boolean) but assigns an Annotation array to the value.
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.

T

tailMatches(Predicate<? super DAGNode<V, E>>) - Static method in class org.grouplens.grapht.graph.DAGEdge
 
tailValue - Variable in class org.grouplens.grapht.util.AbstractChain
 
terminates() - Method in class org.grouplens.grapht.solver.BindingResult
 
to(Class<? extends T>, boolean) - Method in interface org.grouplens.grapht.Binding
Complete this binding by specifying a subtype that will satisfy the desired type.
to(Class<? extends T>) - Method in interface org.grouplens.grapht.Binding
Bind to an implementation type non-terminally.
to(T) - Method in interface org.grouplens.grapht.Binding
Complete this binding by specifying an instance to use.
toClass(Class<?>, QualifierMatcher, Class<?>, CachePolicy, boolean) - Static method in class org.grouplens.grapht.solver.BindRules
Deprecated.
toNull() - Method in interface org.grouplens.grapht.Binding
Complete this binding by explicitly binding to null.
toNull(Class<? extends T>) - Method in interface org.grouplens.grapht.Binding
Complete this binding by explicitly binding to null with a type.
toProvider(Class<? extends Provider<? extends T>>) - Method in interface org.grouplens.grapht.Binding
Complete this binding by specifying a Provider class to be instantiated and used to create instances of type T.
toProvider(Provider<? extends T>) - Method in interface org.grouplens.grapht.Binding
Complete this binding by specifying a Provider instance that will be used to create instances of type T to satisfy this binding.
toProvider(Instantiator) - Static method in class org.grouplens.grapht.Instantiators
Convert an instantiator to a provider.
toSatisfaction(Satisfaction) - Method in interface org.grouplens.grapht.Binding
Bind this binding directly to a satisfaction.
toSatisfaction(Class<?>, QualifierMatcher, Satisfaction, CachePolicy, boolean) - Static method in class org.grouplens.grapht.solver.BindRules
Deprecated.
toString() - Method in class org.grouplens.grapht.Component
 
toString() - Method in class org.grouplens.grapht.context.ContextMatch
 
toString() - Method in class org.grouplens.grapht.context.ContextPattern.Element
 
toString() - Method in class org.grouplens.grapht.context.ContextPattern
 
toString() - Method in class org.grouplens.grapht.Dependency
 
toString() - Method in class org.grouplens.grapht.graph.DAGEdge
 
toString() - Method in class org.grouplens.grapht.graph.DAGNode
 
toString() - Method in class org.grouplens.grapht.graph.DAGNodeBuilder
 
toString() - Method in class org.grouplens.grapht.reflect.internal.ClassSatisfaction
 
toString() - Method in class org.grouplens.grapht.reflect.internal.ConstructorParameterInjectionPoint
 
toString() - Method in class org.grouplens.grapht.reflect.internal.FieldInjectionPoint
 
toString() - Method in class org.grouplens.grapht.reflect.internal.InstanceSatisfaction
 
toString() - Method in class org.grouplens.grapht.reflect.internal.NoArgumentInjectionPoint
 
toString() - Method in class org.grouplens.grapht.reflect.internal.NullSatisfaction
 
toString() - Method in class org.grouplens.grapht.reflect.internal.ProviderClassSatisfaction
 
toString() - Method in class org.grouplens.grapht.reflect.internal.ProviderInstanceSatisfaction
 
toString() - Method in class org.grouplens.grapht.reflect.internal.ReflectionDesire
 
toString() - Method in class org.grouplens.grapht.reflect.internal.SetterInjectionPoint
 
toString() - Method in class org.grouplens.grapht.reflect.internal.SimpleInjectionPoint
 
toString() - Method in class org.grouplens.grapht.util.ClassProxy
 
toString() - Method in class org.grouplens.grapht.util.ConstructorProxy
 
toString() - Method in class org.grouplens.grapht.util.FieldProxy
 
toString() - Method in class org.grouplens.grapht.util.InstanceProvider
 
toString() - Method in class org.grouplens.grapht.util.MethodProxy
 
transformEdges(Function<? super DAGEdge<V, E>, ? extends DAGEdge<V, E>>) - Method in class org.grouplens.grapht.graph.DAGNode
Transform the edges in this graph.
transformNodes(Function<? super DAGNode<V, E>, ? extends DAGNode<V, E>>) - Static method in class org.grouplens.grapht.graph.DAGEdge
Transform an edge.
type(Class<?>) - Static method in class org.grouplens.grapht.reflect.Satisfactions
 
TypedProvider<T> - Interface in org.grouplens.grapht.util
A provider that can report at runtime the type it will provide.
Types - Class in org.grouplens.grapht.util
Static helper methods for working with types.

U

unqualified() - Method in interface org.grouplens.grapht.Binding
Configure the binding to only match injection points that have no qualifier.
UnresolvableDependencyException - Exception in org.grouplens.grapht.solver
Thrown when a desire cannot be resolved to an instantiable satisfaction.
UnresolvableDependencyException(DesireChain, InjectionContext) - Constructor for exception org.grouplens.grapht.solver.UnresolvableDependencyException
 
unshared() - Method in interface org.grouplens.grapht.Binding
Configure the binding so that new instances are always created when satisfying matched injection.

V

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.

W

withAnyQualifier() - Method in interface org.grouplens.grapht.Binding
Configure the binding to match injection points that have any qualifier annotation (including no qualifier).
within(Class<?>) - Method in interface org.grouplens.grapht.Context
Create a new Context that extends the current context stack with the given class type.
within(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.
within(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.
within(Class<?>) - Method in class org.grouplens.grapht.InjectorBuilder
 
within(Class<? extends Annotation>, Class<?>) - Method in class org.grouplens.grapht.InjectorBuilder
 
within(Annotation, Class<?>) - Method in class org.grouplens.grapht.InjectorBuilder
 
withQualifier(Class<? extends Annotation>) - Method in interface org.grouplens.grapht.Binding
Configure the binding to match the given Qualifier annotation.
withQualifier(Annotation) - Method in interface org.grouplens.grapht.Binding
Configure the binding to match injection points that have been annotated with the exact annotation instance.
A B C D E F G H I L M N O P Q R S T U V W 

Copyright © 2014 GroupLens Research. All Rights Reserved.