Index

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

A

Aggregators - Interface in honeyroasted.fill.reflect
A collection of some basic method, field, and constructor aggregators for use in a ReflectionInjector
ALL_CONSTRUCTORS - Static variable in interface honeyroasted.fill.reflect.Aggregators
An aggregator that produces all constructors of a given class.
ALL_FIELDS - Static variable in interface honeyroasted.fill.reflect.Aggregators
An aggregator that produces all fields of a given class.
ALL_METHODS - Static variable in interface honeyroasted.fill.reflect.Aggregators
An aggregator that produces all methods of a given class.
and(BiPredicate<? super InjectionTarget, ? super JTypeSystem>) - Method in interface honeyroasted.fill.bindings.Matcher
 
ANNOTATED_CONSTRUCTORS - Static variable in interface honeyroasted.fill.reflect.Aggregators
An aggregator that produces all constructors of a given class that are annotated with an injection annotation (or that have every parameter annotated with an injection annotation).
ANNOTATED_FIELDS - Static variable in interface honeyroasted.fill.reflect.Aggregators
An aggregator that produces all fields of a given class that are annotated with an injection annotation.
ANNOTATED_METHODS - Static variable in interface honeyroasted.fill.reflect.Aggregators
An aggregator that produces all methods of a given class that are annotated with an injection annotation (or that have every parameter annotated with an injection annotation).
annotation(Class<? extends Annotation>) - Static method in interface honeyroasted.fill.bindings.Matchers
Creates a Matcher that matches InjectionTargets with the given annotation
annotations() - Method in class honeyroasted.fill.InjectionTarget
 
append(ReflectionInjectorBuilder) - Method in class honeyroasted.fill.reflect.ReflectionInjectorBuilder
Appends all the bindings from the given builder to this builder

B

bind(Binding...) - Method in interface honeyroasted.fill.InjectorBuilder
Adds one or more bindings to this builder
bind(Binding...) - Method in class honeyroasted.fill.reflect.ReflectionInjectorBuilder
 
bind(Matcher) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with the given matcher and returns it, the binding builder may then be used to bind to a value and continue back into this builder
bind(JTypeToken<?>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules), the matcher builder may then be used to bind to a value and continue back into this builder
bind(JTypeToken<?>, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules) and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
bind(JTypeToken<?>, String) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules) and the given name, the matcher builder may then be used to bind to a value and continue back into this builder
bind(JTypeToken<?>, String, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules), the given name and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
bind(JType) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules), the matcher builder may then be used to bind to a value and continue back into this builder
bind(JType, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules) and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
bind(JType, String) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules) and the given name, the matcher builder may then be used to bind to a value and continue back into this builder
bind(JType, String, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules), the given name and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
bind(Type) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules), the matcher builder may then be used to bind to a value and continue back into this builder
bind(Type, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules) and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
bind(Type, String) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules) and the given name, the matcher builder may then be used to bind to a value and continue back into this builder
bind(Type, String, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on assignment rules), the given name and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
Binding - Interface in honeyroasted.fill.bindings
Represents an injection binding
BindingBuilder<B,I> - Class in honeyroasted.fill.bindings
An intermediate builder that takes a Matcher and ReflectionInjectorBuilder and constructs a Binding and adds it to the ReflectionInjectorBuilder
BindingBuilder(Matcher, B) - Constructor for class honeyroasted.fill.bindings.BindingBuilder
Creates a new BindingBuilder
bindings() - Method in class honeyroasted.fill.bindings.SequenceBinding
Returns the children Bindings for this Sequence binding.
build() - Method in interface honeyroasted.fill.InjectorBuilder
 
build() - Method in class honeyroasted.fill.reflect.ReflectionInjectorBuilder
 
builder() - Static method in class honeyroasted.fill.reflect.ReflectionInjector
 

C

claims(JTypeSystem, InjectionTarget) - Method in interface honeyroasted.fill.bindings.Binding
Test whether this Binding handles the given InjectionTarget
claims(JTypeSystem, InjectionTarget) - Method in class honeyroasted.fill.bindings.NonBinding
 
claims(JTypeSystem, InjectionTarget) - Method in class honeyroasted.fill.bindings.SequenceBinding
 
claims(JTypeSystem, InjectionTarget) - Method in class honeyroasted.fill.bindings.SimpleBinding
 
constructorAggregator(Function<Class<?>, Collection<Constructor<?>>>) - Method in class honeyroasted.fill.reflect.ReflectionInjectorBuilder
Sets the constructor aggregator for this builder.
create(Class<T>) - Method in interface honeyroasted.fill.Injector
Creates a new instance of the given class by attempting to inject into a constructor
create(Class<T>) - Method in class honeyroasted.fill.reflect.ReflectionInjector
 
createAndInject(Class<T>) - Method in interface honeyroasted.fill.Injector
Creates a new instance of the given class by attempting to inject into a constructor, then injects the instance's fields and methods

D

DummyObject - Interface in honeyroasted.fill
A marker interface for Objects which should be overwritten by injection
dummyObjectMatcher(BiPredicate<InjectionTarget, Object>) - Method in class honeyroasted.fill.reflect.ReflectionInjectorBuilder
Sets the dummy objet matcher for this builder.

E

error(String) - Static method in class honeyroasted.fill.InjectionResult
Creates an InjectionResult of the type InjectionResult.Type.ERROR with a value equal to the given error message
ERROR - Enum constant in enum class honeyroasted.fill.InjectionResult.Type
Indicates that an error occurred
exactBind(JTypeToken<?>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality), the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(JTypeToken<?>, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality) and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(JTypeToken<?>, String) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality) and the given name, the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(JTypeToken<?>, String, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality)), the given name and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(JType) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality), the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(JType, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality) and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(JType, String) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality) and the given name, the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(JType, String, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality), the given name and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(Type) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality), the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(Type, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality) and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(Type, String) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality) and the given name, the matcher builder may then be used to bind to a value and continue back into this builder
exactBind(Type, String, Class<? extends Annotation>) - Method in interface honeyroasted.fill.InjectorBuilder
Creates a new BindingBuilder with a matcher that matches the given type (based on exact type equality), the given name and the given annotation, the matcher builder may then be used to bind to a value and continue back into this builder
exactType(JTypeToken<?>) - Static method in interface honeyroasted.fill.bindings.Matchers
Creates a Matcher tht matches InjectionTarget with given type, based on exact type equality.
exactType(JType) - Static method in interface honeyroasted.fill.bindings.Matchers
Creates a Matcher tht matches InjectionTarget with given type, based on exact type equality.
exactType(Type) - Static method in interface honeyroasted.fill.bindings.Matchers
Creates a Matcher tht matches InjectionTarget with given type, based on exact type equality.

F

fieldAggregator(Function<Class<?>, Collection<Field>>) - Method in class honeyroasted.fill.reflect.ReflectionInjectorBuilder
Sets the field aggregator for this builder.

G

get(Class<T>) - Method in class honeyroasted.fill.InjectionTarget
Gets an Annotation on this InjectionTarget of the given type

H

handle(JTypeSystem, InjectionTarget) - Method in interface honeyroasted.fill.bindings.Binding
Handles the given InjectionTarget
handle(JTypeSystem, InjectionTarget) - Method in class honeyroasted.fill.bindings.NonBinding
 
handle(JTypeSystem, InjectionTarget) - Method in class honeyroasted.fill.bindings.SequenceBinding
 
handle(JTypeSystem, InjectionTarget) - Method in class honeyroasted.fill.bindings.SimpleBinding
 
has(Class<? extends Annotation>) - Method in class honeyroasted.fill.InjectionTarget
Checks if this InjectionTarget has an Annotation of the given type
honeyroasted.fill - package honeyroasted.fill
 
honeyroasted.fill.bindings - package honeyroasted.fill.bindings
 
honeyroasted.fill.reflect - package honeyroasted.fill.reflect
 

I

ignore() - Static method in class honeyroasted.fill.InjectionResult
 
IGNORE - Enum constant in enum class honeyroasted.fill.InjectionResult.Type
Indicates that an injection should be ignored
inject(Object) - Method in interface honeyroasted.fill.Injector
Attempts to inject the appropriate fields, and call the appropriate injection methods, on the given object
inject(Object) - Method in class honeyroasted.fill.reflect.ReflectionInjector
 
Inject - Annotation Interface in honeyroasted.fill
An annotation which makes a field or method eligible for injection
InjectionAnnotation - Annotation Interface in honeyroasted.fill
An annotation which indicates that a given annotation should make a field or method eligible for injection
InjectionException - Exception Class in honeyroasted.fill
An exception that occurs during injection
InjectionException(String) - Constructor for exception class honeyroasted.fill.InjectionException
Creates a new InjectionException with the given message
InjectionException(String, Throwable) - Constructor for exception class honeyroasted.fill.InjectionException
Creates a new InjectionException with the given message and cause
InjectionResult - Class in honeyroasted.fill
The result of an attempted injection
InjectionResult(InjectionResult.Type, Object) - Constructor for class honeyroasted.fill.InjectionResult
Creates a new InjectionResult
InjectionResult.Type - Enum Class in honeyroasted.fill
Represents the different kinds of InjectionResults
InjectionTarget - Class in honeyroasted.fill
Represents a target for a single value injection
InjectionTarget(JTypeSystem, Field) - Constructor for class honeyroasted.fill.InjectionTarget
Creates a new InjectionTarget from a Field
InjectionTarget(JTypeSystem, Parameter) - Constructor for class honeyroasted.fill.InjectionTarget
Creates a new InjectionTarget from a method Parameter
InjectionTarget(String, JType, Class<?>, List<? extends Annotation>) - Constructor for class honeyroasted.fill.InjectionTarget
Creates a new InjectionTarget
Injector<I,B> - Interface in honeyroasted.fill
An injector capable of injecting fields, methods, and constructors
InjectorBuilder<B,I> - Interface in honeyroasted.fill
Generic interface for builders that build Injectors
injectStatic(Class<?>) - Method in interface honeyroasted.fill.Injector
Attempts to inject the appropriate static fields, and call the appropriate static injection methods, on the given object
injectStatic(Class<?>) - Method in class honeyroasted.fill.reflect.ReflectionInjector
 
INSTANCE - Static variable in class honeyroasted.fill.bindings.NonBinding
An instance of NonBinding

M

Matcher - Interface in honeyroasted.fill.bindings
Represents a predicate which can match InjectionTargets
Matchers - Interface in honeyroasted.fill.bindings
Utility interface for constructing common Matchers
methodAggregator(Function<Class<?>, Collection<Method>>) - Method in class honeyroasted.fill.reflect.ReflectionInjectorBuilder
Sets the field method for this builder.

N

name() - Method in class honeyroasted.fill.InjectionTarget
 
name(String) - Static method in interface honeyroasted.fill.bindings.Matchers
Creates a Matcher that matches InjectionTargets by their names
negate() - Method in interface honeyroasted.fill.bindings.Matcher
 
NonBinding - Class in honeyroasted.fill.bindings
A Binding implementation that claims no targets
NonBinding() - Constructor for class honeyroasted.fill.bindings.NonBinding
 

O

of(Binding...) - Static method in class honeyroasted.fill.bindings.SequenceBinding
Creates a new SequenceBinding with the given bindings
of(Object) - Static method in class honeyroasted.fill.InjectionResult
Creates an InjectionResult with the given value.
or(BiPredicate<? super InjectionTarget, ? super JTypeSystem>) - Method in interface honeyroasted.fill.bindings.Matcher
 

R

rawType() - Method in class honeyroasted.fill.InjectionTarget
 
ReflectionInjector - Class in honeyroasted.fill.reflect
An Injector utilizing reflection to inject into fields, methods, and constructors
ReflectionInjector(Binding, JTypeSystem, BiPredicate<InjectionTarget, Object>, Function<Class<?>, Collection<Field>>, Function<Class<?>, Collection<Method>>, Function<Class<?>, Collection<Constructor<?>>>) - Constructor for class honeyroasted.fill.reflect.ReflectionInjector
Creates a new ReflectionInjector with the given Binding
ReflectionInjectorBuilder - Class in honeyroasted.fill.reflect
ReflectionInjectorBuilder() - Constructor for class honeyroasted.fill.reflect.ReflectionInjectorBuilder
 

S

SequenceBinding - Class in honeyroasted.fill.bindings
An implementation of Binding which contains a list of other bindings and applies the first one which claims a given target
SequenceBinding(List<Binding>) - Constructor for class honeyroasted.fill.bindings.SequenceBinding
Creates a new SequenceBinding
SET - Enum constant in enum class honeyroasted.fill.InjectionResult.Type
Indicates that an injection should be carried out
SimpleBinding - Class in honeyroasted.fill.bindings
An implementation of Binding which claims bindings that pass a Predicate and handles bindings with a Function
SimpleBinding(BiPredicate<InjectionTarget, JTypeSystem>, BiFunction<InjectionTarget, JTypeSystem, InjectionResult>) - Constructor for class honeyroasted.fill.bindings.SimpleBinding
Creates a new SimpleBinding that claims InjectionTargets with the given predicate and handles bindings with the given function

T

to(BiFunction<InjectionTarget, JTypeSystem, InjectionResult>) - Method in class honeyroasted.fill.bindings.BindingBuilder
Creates a binding with the given factory and adds it to the parent builder
to(BiFunction<InjectionTarget, JTypeSystem, InjectionResult>) - Method in interface honeyroasted.fill.bindings.Matcher
Creates a Binding from this matcher which claims all InjectionTargets this matcher matches, and which handles injections using the given function
toBuilder() - Method in interface honeyroasted.fill.Injector
Copies this Injector's settings into a builder of the appropriate type, and returns it.
toBuilder() - Method in class honeyroasted.fill.reflect.ReflectionInjector
 
toFactory(Function<InjectionTarget, Object>) - Method in class honeyroasted.fill.bindings.BindingBuilder
Creates a binding with the given factory and adds it to the parent builder
toFactory(Function<InjectionTarget, Object>) - Method in interface honeyroasted.fill.bindings.Matcher
Creates a Binding from this matcher which claims all InjectionTargets this matcher matches, and which handles injections using the given function
toInstance(Object) - Method in class honeyroasted.fill.bindings.BindingBuilder
Creates a binding with the given instance and adds it to the parent builder
toInstance(Object) - Method in interface honeyroasted.fill.bindings.Matcher
Creates a Binding from this matcher which claims all InjectionTargets this matcher matches, and which handles injections by injecting the given object
toProvider(Supplier<Object>) - Method in class honeyroasted.fill.bindings.BindingBuilder
Creates a binding with the given provider and adds it to the parent builder
toProvider(Supplier<Object>) - Method in interface honeyroasted.fill.bindings.Matcher
Creates a Binding from this matcher which claims all InjectionTargets this matcher matches, and which handles injections by injecting the result of the given supplier
type() - Method in class honeyroasted.fill.InjectionResult
 
type() - Method in class honeyroasted.fill.InjectionTarget
 
type(JTypeToken<?>) - Static method in interface honeyroasted.fill.bindings.Matchers
Creates a Matcher that matches InjectionTargets with the given type, based on assignment rules.
type(JType) - Static method in interface honeyroasted.fill.bindings.Matchers
Creates a Matcher that matches InjectionTargets with the given type, based on assignment rules.
type(Type) - Static method in interface honeyroasted.fill.bindings.Matchers
Creates a Matcher that matches InjectionTargets with the given type, based on assignment rules.
typeSystem(JTypeSystem) - Method in class honeyroasted.fill.reflect.ReflectionInjectorBuilder
Sets the JTypeSystem to use for the resulting injector

V

value() - Element in annotation interface honeyroasted.fill.Inject
 
value() - Method in class honeyroasted.fill.InjectionResult
 
valueOf(String) - Static method in enum class honeyroasted.fill.InjectionResult.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class honeyroasted.fill.InjectionResult.Type
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I M N O R S T V 
All Classes and Interfaces|All Packages|Serialized Form