Interface InjectorBuilder<B extends InjectorBuilder<B,I>, I extends Injector<I,B>>
- Type Parameters:
B- This typeI- The associatedInjectortype
- All Known Implementing Classes:
ReflectionInjectorBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAdds one or more bindings to this builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith the given matcher and returns it, the binding builder may then be used to bind to a value and continue back into this builderdefault BindingBuilder<B, I> bind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> bind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> bind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> bind(honeyroasted.jype.type.JType type) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> bind(honeyroasted.jype.type.JType type, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> bind(honeyroasted.jype.type.JType type, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> bind(Type type, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> bind(Type type, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderbuild()default BindingBuilder<B, I> exactBind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> exactBind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> exactBind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> exactBind(honeyroasted.jype.type.JType type) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> exactBind(honeyroasted.jype.type.JType type, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> exactBind(honeyroasted.jype.type.JType type, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> exactBind(Type type, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> Creates a newBindingBuilderwith 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 builderdefault BindingBuilder<B, I> exactBind(Type type, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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
-
Method Details
-
bind
-
build
I build()- Returns:
- A new
Injectorwith the bindings from thisInjectorBuilder
-
bind
Creates a newBindingBuilderwith the given matcher and returns it, the binding builder may then be used to bind to a value and continue back into this builder- Parameters:
matcher- The matcher to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
Creates a newBindingBuilderwith 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- Parameters:
token- The type to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
default BindingBuilder<B,I> exactBind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token) Creates a newBindingBuilderwith 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- Parameters:
token- The type to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
default BindingBuilder<B,I> bind(honeyroasted.jype.type.JType type, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
type- The type to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
default BindingBuilder<B,I> exactBind(honeyroasted.jype.type.JType type, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
type- The type to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
default BindingBuilder<B,I> bind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
token- The type to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
default BindingBuilder<B,I> exactBind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
token- The type to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to usename- The name to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to usename- The name to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to usename- The name to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to usename- The name to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
default BindingBuilder<B,I> bind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, String name) Creates a newBindingBuilderwith 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- Parameters:
token- The type to usename- The name to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
default BindingBuilder<B,I> exactBind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, String name) Creates a newBindingBuilderwith 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- Parameters:
token- The type to usename- The name to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
Creates a newBindingBuilderwith 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- Parameters:
type- The type to usename- The name to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
default BindingBuilder<B,I> exactBind(Type type, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
type- The type to usename- The name to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
default BindingBuilder<B,I> bind(honeyroasted.jype.type.JType type, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
type- The type to usename- The name to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
default BindingBuilder<B,I> exactBind(honeyroasted.jype.type.JType type, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
type- The type to usename- The name to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
bind
default BindingBuilder<B,I> bind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
token- The type to usename- The name to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-
exactBind
default BindingBuilder<B,I> exactBind(honeyroasted.jype.system.resolver.reflection.JTypeToken<?> token, String name, Class<? extends Annotation> annotation) Creates a newBindingBuilderwith 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- Parameters:
token- The type to usename- The name to useannotation- The annotation to use- Returns:
- A new
BindingBuilderreferencing thisReflectionInjectorBuilder
-