Index

A B C D F G I M N O P R T 
All Classes and Interfaces|All Packages|Serialized Form

A

annotatedWith(Class<A>) - Method in interface org.panda_lang.utilities.inject.Resources
Create bind for parameters annotated with the specified annotation
annotatedWithTested(Class<A>) - Method in interface org.panda_lang.utilities.inject.Resources
Create bind for parameters annotated with the specified annotation tested by the DependencyInjectionUtils.testAnnotation(Class) method
assignHandler(TriFunction<Property, A, Object[], ?>) - Method in interface org.panda_lang.utilities.inject.Bind
Assign custom handler to the bind
assignInstance(Object) - Method in interface org.panda_lang.utilities.inject.Bind
Assign an object to the bind
assignInstance(Supplier<?>) - Method in interface org.panda_lang.utilities.inject.Bind
Assign value supplier to the bind
assignThrowingHandler(ThrowingTriFunction<Property, A, Object[], ?, ? extends Exception>) - Method in interface org.panda_lang.utilities.inject.Bind
Assign custom handler to the bind which can throw an exception
assignThrowingInstance(ThrowingSupplier<?, ? extends Exception>) - Method in interface org.panda_lang.utilities.inject.Bind
Assign value supplier to the bind which can throw an exception
AutoConstruct - Annotation Interface in org.panda_lang.utilities.inject.annotations
Marks field/parameter that value should be constructed, if no other bind was found.

B

Bind<A extends Annotation> - Interface in org.panda_lang.utilities.inject
 

C

compareTo(Bind) - Method in interface org.panda_lang.utilities.inject.Bind
 
ConstructorInjector<T> - Class in org.panda_lang.utilities.inject
 
createInjector() - Static method in class org.panda_lang.utilities.inject.DependencyInjection
Create injector
createInjector(InjectorController) - Static method in class org.panda_lang.utilities.inject.DependencyInjection
Create injector
createMethodInjector(InjectorProcessor, Method) - Method in interface org.panda_lang.utilities.inject.MethodInjectorFactory
 

D

DefaultMethodInjector - Class in org.panda_lang.utilities.inject
 
DependencyInjection - Class in org.panda_lang.utilities.inject
 
DependencyInjection() - Constructor for class org.panda_lang.utilities.inject.DependencyInjection
 
DependencyInjectionException - Exception in org.panda_lang.utilities.inject
General injector exception thrown when something went wrong during the dependency injection or inside injected method/constructor
DependencyInjectionUtils - Class in org.panda_lang.utilities.inject
 
duplicate() - Method in interface org.panda_lang.utilities.inject.Resources
Duplicate (clone) resources
duplicate(InjectorController) - Method in interface org.panda_lang.utilities.inject.Injector
Duplicate (clone) resources

F

fetchAnnotations(Executable) - Method in interface org.panda_lang.utilities.inject.Resources
Fetch annotations assigned to the given executable
fetchAnnotations(Parameter) - Method in interface org.panda_lang.utilities.inject.Resources
Fetch annotations assigned to the given parameter
FieldsInjector<T> - Class in org.panda_lang.utilities.inject
 
forConstructor(Class<T>) - Method in interface org.panda_lang.utilities.inject.Injector
Create injector for the given type
forConstructor(Constructor<T>) - Method in interface org.panda_lang.utilities.inject.Injector
Create injector for the given constructor
forFields(Class<T>) - Method in interface org.panda_lang.utilities.inject.Injector
Create injector for fields (and constructor)
forFields(Constructor<T>) - Method in interface org.panda_lang.utilities.inject.Injector
Create injector for fields (and constructor)
forGeneratedMethod(Method) - Method in interface org.panda_lang.utilities.inject.Injector
Generate injector for the given method
fork() - Method in interface org.panda_lang.utilities.inject.Resources
Create a fork of resources.
fork(InjectorController) - Method in interface org.panda_lang.utilities.inject.Injector
Create a fork of resources.
forMethod(Method) - Method in interface org.panda_lang.utilities.inject.Injector
Create injector for the given method

G

getAnnotation(Class<A>) - Method in interface org.panda_lang.utilities.inject.Property
Get the specific annotation
getAnnotations() - Method in interface org.panda_lang.utilities.inject.Property
Get annotations assigned to the property
getAssociatedType() - Method in interface org.panda_lang.utilities.inject.Bind
Get an associated type with the bind
getBind(Class<?>) - Method in interface org.panda_lang.utilities.inject.Resources
Get bind for the specified type or annotation
getConstructor() - Method in class org.panda_lang.utilities.inject.ConstructorInjector
 
getDataType() - Method in interface org.panda_lang.utilities.inject.Bind
Get a data type
getField() - Method in interface org.panda_lang.utilities.inject.Property
Get associated field if present
getHandler(Parameter) - Method in interface org.panda_lang.utilities.inject.Resources
Get bind for the given parameter
getMethod() - Method in class org.panda_lang.utilities.inject.DefaultMethodInjector
 
getMethod() - Method in interface org.panda_lang.utilities.inject.MethodInjector
 
getName() - Method in interface org.panda_lang.utilities.inject.Property
Get property name
getParameter() - Method in interface org.panda_lang.utilities.inject.Property
Get associated parameter if present
getParametrizedType() - Method in interface org.panda_lang.utilities.inject.Property
Get the generic signature used by the property
getResources() - Method in interface org.panda_lang.utilities.inject.Injector
Get resources of injector
getType() - Method in interface org.panda_lang.utilities.inject.Property
Get a property type
getValue(Property, A, Object...) - Method in interface org.panda_lang.utilities.inject.Bind
Get the value of bind for the required (parameter) type and instance of a bind type

I

initialize(Resources) - Method in interface org.panda_lang.utilities.inject.InjectorController
Resources initializer
Inject - Annotation Interface in org.panda_lang.utilities.inject.annotations
Marks fields that should be injected during the construction of the object.
Injectable - Annotation Interface in org.panda_lang.utilities.inject.annotations
Enables DI context for annotated annotation.
Injector - Interface in org.panda_lang.utilities.inject
 
InjectorController - Interface in org.panda_lang.utilities.inject
 
invoke(Object, Object...) - Method in class org.panda_lang.utilities.inject.DefaultMethodInjector
Invoke injector with the given instance
invoke(Object, Object...) - Method in interface org.panda_lang.utilities.inject.MethodInjector
 
invokeAnnotatedMethods(Class<? extends Annotation>, Object, Object...) - Method in interface org.panda_lang.utilities.inject.Injector
Invoke methods annotated with the given annotation
invokeMethod(Method, Object, Object...) - Method in interface org.panda_lang.utilities.inject.Injector
Invoke the method using Injector
invokeParameter(Parameter, Object...) - Method in interface org.panda_lang.utilities.inject.Injector
Get value that would be used to inject the given parameter

M

MethodInjector - Interface in org.panda_lang.utilities.inject
 
MethodInjectorFactory - Interface in org.panda_lang.utilities.inject
 
MissingBindException - Exception in org.panda_lang.utilities.inject
Specific exception thrown when the bind is missing

N

newInstance(Class<T>, Object...) - Method in interface org.panda_lang.utilities.inject.Injector
Create a new instance of the specified type using Injector
newInstance(Object...) - Method in class org.panda_lang.utilities.inject.ConstructorInjector
 
newInstance(Object...) - Method in class org.panda_lang.utilities.inject.FieldsInjector
 
newInstance(Constructor<T>, Object...) - Method in interface org.panda_lang.utilities.inject.Injector
Create a new instance of the specified constructor using Injector
newInstanceWithFields(Class<T>, Object...) - Method in interface org.panda_lang.utilities.inject.Injector
Create a new instance of the specified type using Injector with support for field injection
newInstanceWithFields(Constructor<T>, Object...) - Method in interface org.panda_lang.utilities.inject.Injector
Create a new instance of the specified constructor using Injector with support for field injection

O

on(Class<?>) - Method in interface org.panda_lang.utilities.inject.Resources
Create bind for the specified type
org.panda_lang.utilities.inject - package org.panda_lang.utilities.inject
 
org.panda_lang.utilities.inject.annotations - package org.panda_lang.utilities.inject.annotations
 

P

PostConstruct - Annotation Interface in org.panda_lang.utilities.inject.annotations
Marks method that should be called after an object is constructed.
processAnnotated(Class<A>, ThrowingQuadFunction<A, Property, V, Object[], R, E>) - Method in interface org.panda_lang.utilities.inject.Resources
Process injected object annotated with the given annotation
processAnnotatedType(Class<A>, Class<V>, ThrowingQuadFunction<A, Property, V, Object[], R, E>) - Method in interface org.panda_lang.utilities.inject.Resources
Process injected of the given type and annotated with the given annotation
processType(Class<V>, ThrowingTriFunction<Property, V, Object[], R, E>) - Method in interface org.panda_lang.utilities.inject.Resources
Process injected object of the given type
Property - Interface in org.panda_lang.utilities.inject
Represents injectable property.

R

Resources - Interface in org.panda_lang.utilities.inject
Represents collection of registered binds

T

testAnnotation(Class<T>) - Static method in class org.panda_lang.utilities.inject.DependencyInjectionUtils
Check if annotation is available at runtime and is annotated by Injectable annotation
A B C D F G I M N O P R T 
All Classes and Interfaces|All Packages|Serialized Form