Package | Description |
---|---|
org.grouplens.grapht | |
org.grouplens.grapht.context | |
org.grouplens.grapht.reflect |
Interface for Grapht's use of Java reflection and type analysis.
|
org.grouplens.grapht.reflect.internal |
Implementation of Grapht reflection interfaces.
|
org.grouplens.grapht.solver |
Dependency resolution.
|
Modifier and Type | Method and Description |
---|---|
InjectionPoint |
ConstructionException.getInjectionPoint() |
Modifier and Type | Method and Description |
---|---|
protected String |
ResolutionException.format(InjectionPoint ip) |
protected String |
ResolutionException.format(InjectionPoint ip,
Class<?> type) |
Constructor and Description |
---|
ConstructionException(InjectionPoint ip,
String message) |
ConstructionException(InjectionPoint ip,
String message,
Throwable cause) |
ConstructionException(InjectionPoint ip,
Throwable cause) |
NullDependencyException(InjectionPoint point) |
Modifier and Type | Method and Description |
---|---|
MatchElement |
ContextElementMatcher.apply(org.apache.commons.lang3.tuple.Pair<Satisfaction,InjectionPoint> n)
Return true if this ContextElementMatcher matches or applies to the given Satisfaction and
Qualifier.
|
Modifier and Type | Method and Description |
---|---|
static InjectionPoint |
Desires.createInjectionPoint(Annotation qualifier,
Class<?> type,
boolean nullable) |
InjectionPoint |
Desire.getInjectionPoint() |
Modifier and Type | Class and Description |
---|---|
class |
ConstructorParameterInjectionPoint
ConstructorParameterInjectionPoint is an injection point wrapping a parameter
of a constructor.
|
class |
FieldInjectionPoint
FieldInjectionPoint is an injection point wrapping a field.
|
class |
NoArgumentInjectionPoint |
class |
SetterInjectionPoint
SetterInjectionPoint represents an injection point via a setter method.
|
class |
SimpleInjectionPoint
Synthetic injection point used for
Desires.create(java.lang.annotation.Annotation, Class, boolean) . |
Modifier and Type | Method and Description |
---|---|
InjectionPoint |
ReflectionDesire.getInjectionPoint() |
Constructor and Description |
---|
ReflectionDesire(Class<?> desiredType,
InjectionPoint injectPoint,
Satisfaction satisfaction)
Create a ReflectionDesire that represents the dependency for
desiredType that will be injected into the given InjectionPoint.
|
ReflectionDesire(InjectionPoint injectPoint)
Create a ReflectionDesire that immediately wraps the given
InjectionPoint.
|
Modifier and Type | Method and Description |
---|---|
static InjectionContext |
InjectionContext.extend(InjectionContext prefix,
Satisfaction satisfaction,
InjectionPoint ip)
Extend or create an injection context.
|
InjectionContext |
InjectionContext.extend(Satisfaction satisfaction,
InjectionPoint ip)
Create a new context that is updated to have the satisfaction and attribute pushed to the
end of its type path.
|
static InjectionContext |
InjectionContext.singleton(Satisfaction satisfaction,
InjectionPoint ip)
Construct a singleton injection context.
|
Copyright © 2016 GroupLens Research. All rights reserved.