Index

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

B

bind(Type, Function<TypeVariable<?>, Type>) - Static method in class org.apache.maven.di.impl.Types
Binds a given type with actual type arguments
bind(Type, Map<TypeVariable<?>, Type>) - Static method in class org.apache.maven.di.impl.Types
Binds a given type with actual type arguments
bind(Key<U>, Binding<U>) - Method in class org.apache.maven.di.impl.InjectorImpl
 
bindImplicit(Class<?>) - Method in class org.apache.maven.di.impl.InjectorImpl
 
bindImplicit(Class<?>) - Method in interface org.apache.maven.di.Injector
 
Binding<T> - Class in org.apache.maven.di.impl
 
Binding(Key<?>, Set<Key<?>>, Annotation, int) - Constructor for class org.apache.maven.di.impl.Binding
 
Binding(Key<? extends T>, Set<Key<?>>) - Constructor for class org.apache.maven.di.impl.Binding
 
Binding.BindingToConstructor<T> - Class in org.apache.maven.di.impl
 
Binding.BindingToInstance<T> - Class in org.apache.maven.di.impl
 
Binding.TupleConstructorN<R> - Interface in org.apache.maven.di.impl
 
bindingFromConstructor(Key<T>, Constructor<T>) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
bindingFromMethod(Method) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
BindingInitializer<T> - Class in org.apache.maven.di.impl
 
BindingInitializer(Set<Key<?>>) - Constructor for class org.apache.maven.di.impl.BindingInitializer
 
BindingToInstance(T) - Constructor for class org.apache.maven.di.impl.Binding.BindingToInstance
 
bindInstance(Class<T>, T) - Method in interface org.apache.maven.di.Injector
 
bindInstance(Class<U>, U) - Method in class org.apache.maven.di.impl.InjectorImpl
 
bindScope(Class<? extends Annotation>, Scope) - Method in class org.apache.maven.di.impl.InjectorImpl
 
bindScope(Class<? extends Annotation>, Scope) - Method in interface org.apache.maven.di.Injector
 

C

combine(List<BindingInitializer<T>>) - Static method in class org.apache.maven.di.impl.BindingInitializer
 
compile(Function<Key<?>, Supplier<?>>) - Method in class org.apache.maven.di.impl.Binding.BindingToConstructor
 
compile(Function<Key<?>, Supplier<?>>) - Method in class org.apache.maven.di.impl.Binding.BindingToInstance
 
compile(Function<Key<?>, Supplier<?>>) - Method in class org.apache.maven.di.impl.Binding
 
compile(Function<Key<?>, Supplier<?>>) - Method in class org.apache.maven.di.impl.BindingInitializer
 
compile(Binding<Q>) - Method in class org.apache.maven.di.impl.InjectorImpl
 
create() - Static method in interface org.apache.maven.di.Injector
 
create(Object...) - Method in interface org.apache.maven.di.impl.Binding.TupleConstructorN
 

D

DIException - Exception Class in org.apache.maven.di.impl
A runtime exception that is thrown on startup when some static conditions fail (missing or cyclic dependencies, incorrect annotations etc.) or in runtime when you ask an Injector for an instance it does not have a binding for.
DIException(String) - Constructor for exception class org.apache.maven.di.impl.DIException
 
DIException(String, Throwable) - Constructor for exception class org.apache.maven.di.impl.DIException
 
discover(ClassLoader) - Method in class org.apache.maven.di.impl.InjectorImpl
 
discover(ClassLoader) - Method in interface org.apache.maven.di.Injector
 
doBindImplicit(Key<?>, Binding<?>) - Method in class org.apache.maven.di.impl.InjectorImpl
 

E

equals(Object) - Method in class org.apache.maven.di.impl.Types.GenericArrayTypeImpl
 
equals(Object) - Method in class org.apache.maven.di.impl.Types.ParameterizedTypeImpl
 
equals(Object) - Method in class org.apache.maven.di.impl.Types.WildcardTypeImpl
 
equals(Object) - Method in class org.apache.maven.di.Key
 

F

fieldInjector(Key<T>, Field) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 

G

generateConstructorBinding(Key<T>) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
generateImplicitBinding(Key<T>) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
generateInjectingInitializer(Key<T>) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
genericArrayType(Type) - Static method in class org.apache.maven.di.impl.Types
Creates an instance of GenericArrayType with a given component type
getActualTypeArguments() - Method in class org.apache.maven.di.impl.Types.ParameterizedTypeImpl
 
getActualTypeArguments(Type) - Static method in class org.apache.maven.di.impl.Types
Returns an array of actual type arguments for a given Type
getAllSuperTypes(Type) - Static method in class org.apache.maven.di.impl.Types
Get all super classes and interface implemented by the given type.
getAllTypeBindings(Type) - Static method in class org.apache.maven.di.impl.Types
Returns a map of all type bindings for a given Type.
getAnnotatedElements(Class<?>, Class<? extends Annotation>, Function<Class<?>, T[]>, boolean) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
getBindings() - Method in class org.apache.maven.di.impl.InjectorImpl
 
getBindings(Key<T>) - Method in class org.apache.maven.di.impl.InjectorImpl
 
getBoundKeys() - Method in class org.apache.maven.di.impl.InjectorImpl
 
getCompiledBinding(Key<Q>) - Method in class org.apache.maven.di.impl.InjectorImpl
 
getDependencies() - Method in class org.apache.maven.di.impl.Binding
 
getDependencies() - Method in class org.apache.maven.di.impl.BindingInitializer
 
getDisplayName(Type) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
getDisplayString() - Method in class org.apache.maven.di.impl.Binding
 
getDisplayString() - Method in class org.apache.maven.di.Key
Returns an underlying type with display string formatting (package names stripped) and prepended qualifier display string if this key has a qualifier.
getDisplayString(Class<? extends Annotation>, Annotation) - Static method in class org.apache.maven.di.impl.Utils
 
getDisplayString(Object) - Static method in class org.apache.maven.di.impl.Utils
 
getGenericComponentType() - Method in class org.apache.maven.di.impl.Types.GenericArrayTypeImpl
 
getInstance(Class<T>) - Method in class org.apache.maven.di.impl.InjectorImpl
 
getInstance(Class<T>) - Method in interface org.apache.maven.di.Injector
 
getInstance(Key<T>) - Method in class org.apache.maven.di.impl.InjectorImpl
 
getInstance(Key<T>) - Method in interface org.apache.maven.di.Injector
 
getLowerBounds() - Method in class org.apache.maven.di.impl.Types.WildcardTypeImpl
 
getOriginalKey() - Method in class org.apache.maven.di.impl.Binding
 
getOuterClassInstance(Object) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
getOwnerType() - Method in class org.apache.maven.di.impl.Types.ParameterizedTypeImpl
 
getPriority() - Method in class org.apache.maven.di.impl.Binding
 
getQualifier() - Method in class org.apache.maven.di.Key
 
getRawType() - Method in class org.apache.maven.di.impl.Types.ParameterizedTypeImpl
 
getRawType() - Method in class org.apache.maven.di.Key
A shortcut for Types.getRawType(Type)(key.getType()).
getRawType(Type) - Static method in class org.apache.maven.di.impl.Types
Returns a raw Class for a given Type.
getScope() - Method in class org.apache.maven.di.impl.Binding
 
getSimpleName(Type) - Static method in class org.apache.maven.di.impl.Types
Returns a simple name for a given Type
getType() - Method in class org.apache.maven.di.Key
 
getTypeBindings(Type) - Static method in class org.apache.maven.di.impl.Types
Returns a map of type bindings for a given Type
getTypeParameter(int) - Method in class org.apache.maven.di.Key
Returns a type parameter of the underlying type wrapped as a key with no qualifier.
getUpperBounds() - Method in class org.apache.maven.di.impl.Types.WildcardTypeImpl
 
getUppermostType(Type[]) - Static method in class org.apache.maven.di.impl.Types
Returns the most common type among given types

H

hashCode() - Method in class org.apache.maven.di.impl.Types.GenericArrayTypeImpl
 
hashCode() - Method in class org.apache.maven.di.impl.Types.ParameterizedTypeImpl
 
hashCode() - Method in class org.apache.maven.di.impl.Types.WildcardTypeImpl
 
hashCode() - Method in class org.apache.maven.di.Key
 

I

initializeWith(BindingInitializer<T>) - Method in class org.apache.maven.di.impl.Binding
 
injectInstance(T) - Method in class org.apache.maven.di.impl.InjectorImpl
 
injectInstance(T) - Method in interface org.apache.maven.di.Injector
 
Injector - Interface in org.apache.maven.di
 
InjectorImpl - Class in org.apache.maven.di.impl
 
InjectorImpl() - Constructor for class org.apache.maven.di.impl.InjectorImpl
 
isAssignable(Type, Type) - Static method in class org.apache.maven.di.impl.Types
Tests whether a from type is assignable to to type
isMarker(Class<? extends Annotation>) - Static method in class org.apache.maven.di.impl.Utils
 

K

Key<T> - Class in org.apache.maven.di
The key defines an identity of a binding.
Key() - Constructor for class org.apache.maven.di.Key
 
Key(Object) - Constructor for class org.apache.maven.di.Key
 
Key(Type, Object) - Constructor for class org.apache.maven.di.Key
 
keyOf(Type, Type, AnnotatedElement) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 

L

list(List<Supplier<T>>) - Method in class org.apache.maven.di.impl.InjectorImpl
 

M

map(Map<K, Supplier<V>>) - Method in class org.apache.maven.di.impl.InjectorImpl
 
methodInjector(Key<T>, Method) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 

N

NO_TYPES - Static variable in class org.apache.maven.di.impl.Types
 

O

of(Class<T>) - Static method in class org.apache.maven.di.Key
 
of(Class<T>, Object) - Static method in class org.apache.maven.di.Key
 
ofType(Type) - Static method in class org.apache.maven.di.Key
 
ofType(Type, Object) - Static method in class org.apache.maven.di.Key
 
org.apache.maven.di - package org.apache.maven.di
 
org.apache.maven.di.impl - package org.apache.maven.di.impl
 

P

parameterizedType(Class<?>, Type...) - Static method in class org.apache.maven.di.impl.Types
Creates an instance of ParameterizedType
parameterizedType(Type, Type, Type[]) - Static method in class org.apache.maven.di.impl.Types
Creates an instance of ParameterizedType
prioritize(int) - Method in class org.apache.maven.di.impl.Binding
 

Q

qualifierOf(AnnotatedElement) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 

R

ReflectionUtils - Class in org.apache.maven.di.impl
 
ReflectionUtils() - Constructor for class org.apache.maven.di.impl.ReflectionUtils
 

S

scope(Annotation) - Method in class org.apache.maven.di.impl.Binding
 
scope(Key<T>, Annotation, Supplier<T>) - Method in interface org.apache.maven.di.Scope
 
Scope - Interface in org.apache.maven.di
 
scopeOf(AnnotatedElement) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
simplifyType(Type) - Static method in class org.apache.maven.di.impl.Types
 

T

to(Key<R>, Binding.TupleConstructorN<R>, Class<?>[]) - Static method in class org.apache.maven.di.impl.Binding
 
to(Key<R>, Binding.TupleConstructorN<R>, Key<?>[]) - Static method in class org.apache.maven.di.impl.Binding
 
to(Key<R>, Binding.TupleConstructorN<R>, Key<?>[], int) - Static method in class org.apache.maven.di.impl.Binding
 
toDependencies(Type, Executable) - Static method in class org.apache.maven.di.impl.ReflectionUtils
 
toInstance(T) - Static method in class org.apache.maven.di.impl.Binding
 
toString() - Method in class org.apache.maven.di.impl.Binding.BindingToConstructor
 
toString() - Method in class org.apache.maven.di.impl.Binding.BindingToInstance
 
toString() - Method in class org.apache.maven.di.impl.Binding
 
toString() - Method in class org.apache.maven.di.impl.Types.GenericArrayTypeImpl
 
toString() - Method in class org.apache.maven.di.impl.Types.ParameterizedTypeImpl
 
toString() - Method in class org.apache.maven.di.impl.Types.WildcardTypeImpl
 
toString() - Method in class org.apache.maven.di.Key
 
TypeNotBoundException(String) - Constructor for exception class org.apache.maven.di.impl.Types.TypeNotBoundException
 
Types - Class in org.apache.maven.di.impl
Various helper methods for type processing
Types() - Constructor for class org.apache.maven.di.impl.Types
 
Types.GenericArrayTypeImpl - Class in org.apache.maven.di.impl
 
Types.ParameterizedTypeImpl - Class in org.apache.maven.di.impl
 
Types.TypeNotBoundException - Exception Class in org.apache.maven.di.impl
 
Types.WildcardTypeImpl - Class in org.apache.maven.di.impl
 

U

Utils - Class in org.apache.maven.di.impl
 
Utils() - Constructor for class org.apache.maven.di.impl.Utils
 

W

WILDCARD_TYPE_ANY - Static variable in class org.apache.maven.di.impl.Types
 
wildcardType(Type[], Type[]) - Static method in class org.apache.maven.di.impl.Types
Creates an instance of WildcardType bound by upper and lower bounds
wildcardTypeAny() - Static method in class org.apache.maven.di.impl.Types
Returns an instance of WildcardType that matches any type
wildcardTypeExtends(Type) - Static method in class org.apache.maven.di.impl.Types
Creates an instance of WildcardType bound by a single upper bound
wildcardTypeSuper(Type) - Static method in class org.apache.maven.di.impl.Types
Creates an instance of WildcardType bound by a single lower bound
withKey(Key<?>) - Method in class org.apache.maven.di.impl.Binding
 
B C D E F G H I K L M N O P Q R S T U W 
All Classes and Interfaces|All Packages|Serialized Form