Skip navigation links
$ A B C D E F G H I K L M N O P Q R S T U V W 

$

$unsafeBind(Key<?>, Provider<?>) - Method in interface team.unnamed.inject.Binder
Deprecated.
Unsafe operation, the method is here to avoid the usage of raw-types in some cases. If you misuse it, everything will end up bugged.

The method directly puts the key with the specified provider to the map, it's not checked so it's unsafe.

$unsafeBind(Key<?>, Provider<?>) - Method in class team.unnamed.inject.impl.BinderImpl
 

A

ABSENT_INSTANCE - Static variable in class team.unnamed.inject.impl.InjectorImpl
 
AbstractModule - Class in team.unnamed.inject
 
AbstractModule() - Constructor for class team.unnamed.inject.AbstractModule
 
Annotations - Class in team.unnamed.inject.impl
Collection of factory static methods and other util methods for ease the handling of qualifiers
annotationToString(Annotation) - Static method in class team.unnamed.inject.util.ElementFormatter
Converts the provided annotationValues to a string with an annotation format using the specified annotationType
applySnapshot(List<String>) - Method in interface team.unnamed.inject.error.ErrorAttachable
Applies a snapshot, memento design pattern
applySnapshot(List<String>) - Method in class team.unnamed.inject.error.ErrorAttachableImpl
 
argument(boolean, String, Object...) - Static method in class team.unnamed.inject.util.Validate
Validates that the specified expression is true, if it is false, the method throws a IllegalArgumentException with the specified message
argument(boolean) - Static method in class team.unnamed.inject.util.Validate
Validates that the specified expression is true, if it is false, the method throws a IllegalArgumentException
asCollection(CollectionCreator) - Method in interface team.unnamed.inject.Binder.MultiBindingBuilder
Starts linking and scoping the element type using the collection creator returned instances
asCollection(Class<?>, CollectionCreator) - Method in interface team.unnamed.inject.Binder.MultiBindingBuilder
Starts linking and scoping the element type using the collection creator returned instances
asCollection(Class<?>, CollectionCreator) - Method in class team.unnamed.inject.multibinding.MultiBindingBuilderImpl
Starts building a binding using the given collection creator
asConstantProvider(Key<?>) - Method in interface team.unnamed.inject.provision.std.generic.GenericProvider
Converts this GenericProvider to a constant normal Provider that always use the given match key
asList() - Method in interface team.unnamed.inject.Binder.MultiBindingBuilder
Starts linking and scoping the element type as a List
asMap(Class<K>) - Method in interface team.unnamed.inject.Binder.MultiBindingBuilder
Starts linking and scoping the element type as a Map with the specified key type
asMap(Class<K>, MapCreator) - Method in interface team.unnamed.inject.Binder.MultiBindingBuilder
Starts linking and scoping the element type as a Map with the specified key type and map creator
asMap(TypeReference<K>) - Method in interface team.unnamed.inject.Binder.MultiBindingBuilder
Starts linking and scoping the element type as a Map with the specified key type
asMap(TypeReference<K>, MapCreator) - Method in interface team.unnamed.inject.Binder.MultiBindingBuilder
Starts linking and scoping the element type as a Map with the specified key type and map creator
asMap(TypeReference<K>, MapCreator) - Method in class team.unnamed.inject.multibinding.MultiBindingBuilderImpl
 
asSet() - Method in interface team.unnamed.inject.Binder.MultiBindingBuilder
Starts linking and scoping the element type as a Set
Assist - Annotation Type in team.unnamed.inject.assisted
Declares that the annotated parameter isn't provided by the injector, it's provided by the class creator.
Assisted - Annotation Type in team.unnamed.inject.assisted
Declares that the annotated constructor has assisted injections
attach(String...) - Method in interface team.unnamed.inject.error.ErrorAttachable
Stores all the errorMessages in this object
attach(String, Throwable) - Method in interface team.unnamed.inject.error.ErrorAttachable
Attaches the specified error using the specified reason/title/header.
attach(String...) - Method in class team.unnamed.inject.error.ErrorAttachableImpl
Adds all the messages to the list of error messages
attach(String, Throwable) - Method in class team.unnamed.inject.error.ErrorAttachableImpl
 
attachAll(ErrorAttachable) - Method in interface team.unnamed.inject.error.ErrorAttachable
Stores all the errors of the specified attachable into this object
attachAll(ErrorAttachable) - Method in class team.unnamed.inject.error.ErrorAttachableImpl
Attaches all the error messages of the specified attachable into this ErrorAttachable

B

bind(Class<T>) - Method in class team.unnamed.inject.AbstractModule
 
bind(TypeReference<T>) - Method in class team.unnamed.inject.AbstractModule
 
bind(Class<T>) - Method in interface team.unnamed.inject.Binder
 
bind(TypeReference<T>) - Method in interface team.unnamed.inject.Binder
 
bind(K) - Method in interface team.unnamed.inject.Binder.MapMultiBindingBuilder
Starts linking a key to a value
bind(TypeReference<T>) - Method in class team.unnamed.inject.impl.BinderImpl
 
bind(Class<? extends Annotation>, Scope) - Method in class team.unnamed.inject.scope.ScopeScanner
Binds the given annotationType to the specified scope instance.
binder() - Method in class team.unnamed.inject.AbstractModule
The binder field isn't used directly because we need to check if the binder is present, throwing the correct exception instead of a simple and not descriptive null pointer exception
Binder - Interface in team.unnamed.inject
 
Binder.CollectionMultiBindingBuilder<T> - Interface in team.unnamed.inject
Represents a binding builder for collections, it can be linked and scoped, it's qualified using Binder.MultiBindingBuilder
Binder.KeyBinder<K,V> - Interface in team.unnamed.inject
Represents a map key that's being bound to a value.
Binder.Linked<R,T> - Interface in team.unnamed.inject
Represents a binding builder that can be linked to another key (or the same key)
Binder.MapMultiBindingBuilder<K,V> - Interface in team.unnamed.inject
Represents a binding builder for maps, binds using a key and a value.
Binder.MultiBindingBuilder<T> - Interface in team.unnamed.inject
Represents a binding builder for collections, it can be qualified.
Binder.Qualified<R> - Interface in team.unnamed.inject
Represents a binding builder that can be qualified, for example with an annotation, an annotation type, etc.
Binder.QualifiedBindingBuilder<T> - Interface in team.unnamed.inject
Represents a binding builder that can be qualified, linked and scoped.
Binder.Scoped - Interface in team.unnamed.inject
Represents a binding builder that can be scoped.
BinderImpl - Class in team.unnamed.inject.impl
 
BinderImpl() - Constructor for class team.unnamed.inject.impl.BinderImpl
 
BindingException - Exception in team.unnamed.inject.error
An exception that can be thrown while configuring injector bindings
BindingException() - Constructor for exception team.unnamed.inject.error.BindingException
 
BindingException(String) - Constructor for exception team.unnamed.inject.error.BindingException
 
BindingException(String, Throwable) - Constructor for exception team.unnamed.inject.error.BindingException
 
BindingException(Throwable) - Constructor for exception team.unnamed.inject.error.BindingException
 

C

canonicalize() - Method in class team.unnamed.inject.key.TypeReference
Removes the reference for the upper class.
clone() - Method in class team.unnamed.inject.key.TypeReference
 
CollectionCreator - Interface in team.unnamed.inject.multibinding
Represents a collection creator used by the collection multi-binder to inject its values
ComponentResolver - Class in team.unnamed.inject.resolve
Resolves all the members of an specific type.
ComponentResolver() - Constructor for class team.unnamed.inject.resolve.ComponentResolver
 
configure(Binder) - Method in class team.unnamed.inject.AbstractModule
 
configure() - Method in class team.unnamed.inject.AbstractModule
 
configure(Binder) - Method in interface team.unnamed.inject.Module
Configures all bindings on the specified binder.
constructor() - Static method in class team.unnamed.inject.resolve.ComponentResolver
 
ConstructorResolver - Class in team.unnamed.inject.resolve
 
containsOnlyDefaultValues(Annotation) - Static method in class team.unnamed.inject.impl.Annotations
 
create(Module...) - Static method in interface team.unnamed.inject.Injector
 
create(Iterable<? extends Module>) - Static method in interface team.unnamed.inject.Injector
 
create() - Method in interface team.unnamed.inject.multibinding.CollectionCreator
 
create() - Method in interface team.unnamed.inject.multibinding.MapCreator
 
createNamed(String) - Static method in class team.unnamed.inject.impl.Annotations
Creates an instance of Named with the specified name as value for this annotation.

D

Delegated - Annotation Type in team.unnamed.inject
Indicates that the bound type is a delegate and it must be wrapped.
DelegatingStdProvider<T> - Class in team.unnamed.inject.provision
Provider wrapper used for user-provided providers (lowest level of library usage).
DelegatingStdProvider(Provider<T>) - Constructor for class team.unnamed.inject.provision.DelegatingStdProvider
 
DelegatingStdProvider(boolean, Provider<T>) - Constructor for class team.unnamed.inject.provision.DelegatingStdProvider
 
doesntRequiresContext(Key<T>) - Static method in class team.unnamed.inject.util.Validate
 

E

ElementFormatter - Class in team.unnamed.inject.util
Helper class for formatting elements like fields, methods, annotations, etc.
equals(Object) - Method in class team.unnamed.inject.key.InjectedKey
 
equals(Object) - Method in class team.unnamed.inject.key.Key
 
equals(Object) - Method in class team.unnamed.inject.key.TypeReference
 
equals(Object) - Method in class team.unnamed.inject.provision.DelegatingStdProvider
 
equals(Object) - Method in class team.unnamed.inject.resolve.solution.InjectableField
 
ErrorAttachable - Interface in team.unnamed.inject.error
Represents an object that can contain a collection of errors and then, can report all attached errors.
ErrorAttachableImpl - Class in team.unnamed.inject.error
ErrorAttachableImpl() - Constructor for class team.unnamed.inject.error.ErrorAttachableImpl
 
errorCount() - Method in interface team.unnamed.inject.error.ErrorAttachable
Returns the current error count
errorCount() - Method in class team.unnamed.inject.error.ErrorAttachableImpl
 

F

FactoryException - Exception in team.unnamed.inject.error
 
FactoryException() - Constructor for exception team.unnamed.inject.error.FactoryException
 
FactoryException(String) - Constructor for exception team.unnamed.inject.error.FactoryException
 
FactoryException(String, Throwable) - Constructor for exception team.unnamed.inject.error.FactoryException
 
FactoryException(Throwable) - Constructor for exception team.unnamed.inject.error.FactoryException
 
FieldResolver - Class in team.unnamed.inject.resolve
 
fields() - Static method in class team.unnamed.inject.resolve.ComponentResolver
 
finalize() - Method in class team.unnamed.inject.key.TypeReference
 
formatConstructor(Constructor<?>, List<InjectedKey<?>>) - Static method in class team.unnamed.inject.util.ElementFormatter
 
formatField(Field, InjectedKey<?>) - Static method in class team.unnamed.inject.util.ElementFormatter
 
formatMessages() - Method in interface team.unnamed.inject.error.ErrorAttachable
Formats the error messages in one message
formatMessages() - Method in class team.unnamed.inject.error.ErrorAttachableImpl
Formats the error messages in this error-attachable
formatMethod(Method, List<InjectedKey<?>>) - Static method in class team.unnamed.inject.util.ElementFormatter
Formats a method to a human-friendly format like

G

GenericProvider<T> - Interface in team.unnamed.inject.provision.std.generic
It's (indirectly) a Provider for not-bound parameterized types
get() - Method in class team.unnamed.inject.assisted.provision.ProxiedFactoryProvider
 
get() - Method in class team.unnamed.inject.assisted.provision.ToFactoryProvider
 
get(Key<T>) - Method in class team.unnamed.inject.impl.ProvisionStack
 
get() - Method in interface team.unnamed.inject.Provider
 
get() - Method in class team.unnamed.inject.provision.DelegatingStdProvider
 
get(Key<?>) - Method in interface team.unnamed.inject.provision.std.generic.GenericProvider
Creates an instance of T using the provided type parameters.
get(Key<?>) - Method in class team.unnamed.inject.provision.std.generic.impl.TypeReferenceGenericProvider
 
get() - Method in class team.unnamed.inject.provision.std.generic.ToGenericProvider
 
get(Key<?>) - Method in class team.unnamed.inject.provision.std.generic.ToGenericProvider
Special injector case for keys bound to generic providers
get() - Method in class team.unnamed.inject.provision.std.generic.ToGenericProvider.SyntheticGenericProvider
 
get() - Method in class team.unnamed.inject.provision.std.InstanceProvider
 
get() - Method in class team.unnamed.inject.provision.std.LinkedProvider
 
get() - Method in class team.unnamed.inject.provision.std.MethodAsProvider
 
get() - Method in class team.unnamed.inject.provision.std.ProviderTypeProvider
 
get() - Method in class team.unnamed.inject.provision.std.ScopedProvider
 
get() - Method in class team.unnamed.inject.provision.StdProvider
 
get(Key<?>) - Method in class team.unnamed.inject.provision.StdProvider
 
get(ErrorAttachable, TypeReference<?>) - Method in class team.unnamed.inject.resolve.ConstructorResolver
get(TypeReference<?>) - Method in class team.unnamed.inject.resolve.FieldResolver
get(TypeReference<?>) - Method in class team.unnamed.inject.resolve.MethodResolver
Cached alternative method for MethodResolver.resolve(team.unnamed.inject.key.TypeReference<?>, java.lang.Class<? extends java.lang.annotation.Annotation>) that always uses the Inject annotation to resolve the methods.
getBuildType() - Method in class team.unnamed.inject.assisted.provision.ProxiedFactoryProvider
 
getDeclaringType() - Method in class team.unnamed.inject.resolve.solution.InjectableConstructor
 
getDeclaringType() - Method in class team.unnamed.inject.resolve.solution.InjectableField
 
getDeclaringType() - Method in interface team.unnamed.inject.resolve.solution.InjectableMember
 
getDeclaringType() - Method in class team.unnamed.inject.resolve.solution.InjectableMethod
 
getDelegate() - Method in class team.unnamed.inject.provision.DelegatingStdProvider
 
getErrorMessages() - Method in interface team.unnamed.inject.error.ErrorAttachable
Gets an immutable copy of all the attached error messages.
getErrorMessages() - Method in class team.unnamed.inject.error.ErrorAttachableImpl
Gets an immutable copy of all the attached error messages.
getFactory() - Method in class team.unnamed.inject.assisted.provision.ProxiedFactoryProvider
 
getFactoryMethod() - Method in class team.unnamed.inject.assisted.provision.ProxiedFactoryProvider
 
getFieldType(Field) - Method in class team.unnamed.inject.key.TypeReference
 
getInstance(TypeReference<T>) - Method in class team.unnamed.inject.impl.InjectorImpl
Invokes the overloaded method InjectorImpl.getInstance(ProvisionStack, Key, boolean) passing an empty provision stack
getInstance(Key<T>, boolean) - Method in class team.unnamed.inject.impl.InjectorImpl
 
getInstance(ProvisionStack, Key<T>, boolean) - Method in class team.unnamed.inject.impl.InjectorImpl
 
getInstance(Class<T>) - Method in interface team.unnamed.inject.Injector
Converts the specified class to a TypeReference and calls the overloaded method Injector.getInstance(TypeReference)
getInstance(TypeReference<T>) - Method in interface team.unnamed.inject.Injector
Lowest-level method of Injector for instantiating and injecting a class.
getKey() - Method in class team.unnamed.inject.key.InjectedKey
 
getKeys() - Method in class team.unnamed.inject.resolve.solution.InjectableConstructor
 
getMember() - Method in class team.unnamed.inject.resolve.solution.InjectableConstructor
 
getMember() - Method in class team.unnamed.inject.resolve.solution.InjectableField
 
getMember() - Method in interface team.unnamed.inject.resolve.solution.InjectableMember
 
getMember() - Method in class team.unnamed.inject.resolve.solution.InjectableMethod
 
getProvider(Key<T>) - Method in class team.unnamed.inject.impl.BinderImpl
 
getProvider(TypeReference<T>) - Method in class team.unnamed.inject.impl.InjectorImpl
 
getProvider(Class<T>) - Method in interface team.unnamed.inject.Injector
Returns the explicit bound provider for the specified key
getProvider(TypeReference<T>) - Method in interface team.unnamed.inject.Injector
Returns the explicit bound provider for the specified key
getProvider() - Method in class team.unnamed.inject.provision.std.ProviderTypeProvider
 
getProviderAndInject(ProvisionStack, Key<T>) - Method in class team.unnamed.inject.impl.ProvisionHandle
 
getQualifier() - Method in class team.unnamed.inject.key.Key
Returns the qualifier instance attached to this type key
getQualifierType() - Method in class team.unnamed.inject.key.Key
Returns the qualifier type attached to this type key
getRawType() - Method in class team.unnamed.inject.key.TypeReference
 
getReturnValue() - Method in interface team.unnamed.inject.impl.KeyBuilder
 
getReturnValue() - Method in class team.unnamed.inject.multibinding.MultiBindingBuilderImpl
 
getScanner() - Static method in class team.unnamed.inject.scope.Scopes
Returns the scope scanner instance
getScope() - Method in class team.unnamed.inject.provision.std.ScopedProvider
 
getScoped() - Method in class team.unnamed.inject.provision.std.ScopedProvider
 
getTarget() - Method in class team.unnamed.inject.provision.std.LinkedProvider
 
getTargetConstructor() - Method in class team.unnamed.inject.assisted.provision.ProxiedFactoryProvider
 
getType() - Method in class team.unnamed.inject.key.Key
 
getType() - Method in class team.unnamed.inject.key.TypeReference
 
getUnscoped() - Method in class team.unnamed.inject.provision.std.ScopedProvider
 
getValue(InjectedKey<?>, ProvisionStack) - Method in class team.unnamed.inject.impl.InjectorImpl
 

H

has(Key<?>) - Method in class team.unnamed.inject.impl.ProvisionStack
 
hasErrors() - Method in interface team.unnamed.inject.error.ErrorAttachable
 
hasErrors() - Method in class team.unnamed.inject.error.ErrorAttachableImpl
 
hashCode() - Method in class team.unnamed.inject.key.InjectedKey
 
hashCode() - Method in class team.unnamed.inject.key.Key
 
hashCode() - Method in class team.unnamed.inject.key.TypeReference
 
hashCode() - Method in class team.unnamed.inject.provision.DelegatingStdProvider
 
hashCode() - Method in class team.unnamed.inject.resolve.solution.InjectableField
 

I

in(Scope) - Method in interface team.unnamed.inject.Binder.Scoped
Scopes the binding being built
inject(ProvisionStack, InjectorImpl) - Method in class team.unnamed.inject.assisted.provision.ProxiedFactoryProvider
 
Inject - Annotation Type in team.unnamed.inject
 
inject(ProvisionStack, InjectorImpl) - Method in class team.unnamed.inject.provision.DelegatingStdProvider
 
inject(ProvisionStack, InjectorImpl, Provider<?>) - Static method in class team.unnamed.inject.provision.Providers
 
inject(ProvisionStack, InjectorImpl) - Method in class team.unnamed.inject.provision.std.generic.ToGenericProvider
 
inject(ProvisionStack, InjectorImpl) - Method in class team.unnamed.inject.provision.std.LinkedProvider
 
inject(ProvisionStack, InjectorImpl) - Method in class team.unnamed.inject.provision.std.MethodAsProvider
 
inject(ProvisionStack, InjectorImpl) - Method in class team.unnamed.inject.provision.std.ProviderTypeProvider
 
inject(ProvisionStack, InjectorImpl) - Method in class team.unnamed.inject.provision.std.ScopedProvider
 
inject(ProvisionStack, InjectorImpl) - Method in class team.unnamed.inject.provision.StdProvider
Used by standard providers and some other providers to delegate the injection to the wrapped provider (when it's a wrapper provider) or injecting some provider properties without checking everything
inject(InjectorImpl, ProvisionStack, Object) - Method in class team.unnamed.inject.resolve.solution.InjectableConstructor
 
inject(InjectorImpl, ProvisionStack, Object) - Method in class team.unnamed.inject.resolve.solution.InjectableField
 
inject(InjectorImpl, ProvisionStack, Object) - Method in interface team.unnamed.inject.resolve.solution.InjectableMember
Gets and injects the required keys in the specified target
inject(InjectorImpl, ProvisionStack, Object) - Method in class team.unnamed.inject.resolve.solution.InjectableMethod
 
InjectableConstructor - Class in team.unnamed.inject.resolve.solution
Represents an injectable constructor, a constructor annotated with Inject or a constructor with no parameters.
InjectableConstructor(List<InjectedKey<?>>, Constructor<?>) - Constructor for class team.unnamed.inject.resolve.solution.InjectableConstructor
 
InjectableField - Class in team.unnamed.inject.resolve.solution
Represents a Field annotated with Inject and that already has resolved a key, with its requirement level defined too.
InjectableField(TypeReference<?>, InjectedKey<?>, Field) - Constructor for class team.unnamed.inject.resolve.solution.InjectableField
 
InjectableMember - Interface in team.unnamed.inject.resolve.solution
Represents an injectable member like a field, method or constructor.
InjectableMethod - Class in team.unnamed.inject.resolve.solution
Represents a Method annotated with Inject and that already has resolved its parameter keys, with its requirement level defined too.
InjectableMethod(TypeReference<?>, List<InjectedKey<?>>, Method) - Constructor for class team.unnamed.inject.resolve.solution.InjectableMethod
 
InjectAll - Annotation Type in team.unnamed.inject
Indicates that all the Fields of the annotated type will be injected
injected - Variable in class team.unnamed.inject.provision.StdProvider
 
InjectedKey<T> - Class in team.unnamed.inject.key
An extension for Key (using composition over inheritance) that adds two boolean states representing the requirement of the injection of this key and if this key will be assisted or not.
InjectedKey(Key<T>, boolean, boolean) - Constructor for class team.unnamed.inject.key.InjectedKey
 
InjectIgnore - Annotation Type in team.unnamed.inject
Indicates that the annotated Field present in a type annotated with InjectAll will be ignored (not injected)
InjectionException - Exception in team.unnamed.inject.error
An exception that can be thrown while injecting classes.
InjectionException() - Constructor for exception team.unnamed.inject.error.InjectionException
 
InjectionException(String) - Constructor for exception team.unnamed.inject.error.InjectionException
 
InjectionException(String, Throwable) - Constructor for exception team.unnamed.inject.error.InjectionException
 
InjectionException(Throwable) - Constructor for exception team.unnamed.inject.error.InjectionException
 
injectMembers(TypeReference<T>, T) - Method in class team.unnamed.inject.impl.InjectorImpl
Delegates the functionality to the abstract method InjectorImpl.injectMembers(ProvisionStack, Key, Object) passing an empty provision stack
injectMembers(ProvisionStack, Key<T>, T) - Method in class team.unnamed.inject.impl.InjectorImpl
 
injectMembers(Object) - Method in interface team.unnamed.inject.Injector
 
injectMembers(TypeReference<T>, T) - Method in interface team.unnamed.inject.Injector
Lowest Level function of Injector, resolves the specified type and to injects fields and methods in the specified instance, if the instance is null, the injector handles it like a static injection
Injector - Interface in team.unnamed.inject
 
InjectorImpl - Class in team.unnamed.inject.impl
 
InjectorImpl(BinderImpl) - Constructor for class team.unnamed.inject.impl.InjectorImpl
 
injectStaticMembers(Class<?>) - Method in class team.unnamed.inject.impl.InjectorImpl
 
injectStaticMembers(Class<?>) - Method in interface team.unnamed.inject.Injector
Injects the static members of the specified class, equivalent to execute the overloaded method Injector.injectMembers(TypeReference, Object) passing a null instance and the type reference created with the provided class
install(Module...) - Method in class team.unnamed.inject.AbstractModule
 
install(Iterable<? extends Module>) - Method in class team.unnamed.inject.AbstractModule
 
install(Module...) - Method in interface team.unnamed.inject.Binder
 
install(Iterable<? extends Module>) - Method in interface team.unnamed.inject.Binder
 
install(Iterable<? extends Module>) - Method in class team.unnamed.inject.impl.BinderImpl
 
instanceProvider(Key<T>, T) - Static method in class team.unnamed.inject.provision.Providers
 
InstanceProvider<T> - Class in team.unnamed.inject.provision.std
Represents an instance binding.
InstanceProvider(T) - Constructor for class team.unnamed.inject.provision.std.InstanceProvider
 
isAssisted() - Method in class team.unnamed.inject.key.InjectedKey
 
isAutoBound() - Method in class team.unnamed.inject.provision.std.LinkedProvider
Determines if the linked provider is linked to the same key
isInjected() - Method in class team.unnamed.inject.provision.StdProvider
 
isOptional() - Method in class team.unnamed.inject.key.InjectedKey
 
isPureRawType() - Method in class team.unnamed.inject.key.Key
Determines if the Key represented by this is a raw-type
isPureRawType() - Method in class team.unnamed.inject.key.TypeReference
Determines if the TypeReference represented by this is a raw-type

K

key() - Method in interface team.unnamed.inject.impl.KeyBuilder
 
key() - Method in interface team.unnamed.inject.impl.LinkedBuilder
 
Key<T> - Class in team.unnamed.inject.key
Represents a binding key used to store a relation of Key -> Provider.
Key(TypeReference<T>, Class<? extends Annotation>, Annotation) - Constructor for class team.unnamed.inject.key.Key
 
key() - Method in class team.unnamed.inject.multibinding.MultiBindingBuilderImpl
 
KeyBuilder<R,T> - Interface in team.unnamed.inject.impl
Removes the responsibility to the implementer class of implement this methods.
keyOf(TypeReference<T>, Annotation[]) - Method in class team.unnamed.inject.resolve.KeyResolver
 
KeyResolver - Class in team.unnamed.inject.resolve
 
keys() - Static method in class team.unnamed.inject.resolve.ComponentResolver
 
keysOf(TypeReference<?>, Parameter[]) - Method in class team.unnamed.inject.resolve.KeyResolver
Resolves the keys of the given parameters

L

LazySingletonScope - Class in team.unnamed.inject.scope
A lazy singleton provider wrapper
LazySingletonScope() - Constructor for class team.unnamed.inject.scope.LazySingletonScope
 
link(Key<T>, Key<? extends T>) - Static method in class team.unnamed.inject.provision.Providers
 
LinkedBuilder<R,T> - Interface in team.unnamed.inject.impl
 
LinkedProvider<T> - Class in team.unnamed.inject.provision.std
Represents a link of a key to another key (can be the same).
LinkedProvider(Key<T>, Key<? extends T>) - Constructor for class team.unnamed.inject.provision.std.LinkedProvider
 

M

MapCreator - Interface in team.unnamed.inject.multibinding
Represents a map creator used by the map multi-binder to inject its values
mapTypeOf(TypeReference<K>, TypeReference<V>) - Static method in class team.unnamed.inject.key.TypeReference
 
markedWith(Class<? extends Annotation>) - Method in interface team.unnamed.inject.Binder.Qualified
Qualifies the key with the specified annotation type
markedWith(Class<? extends Annotation>) - Method in interface team.unnamed.inject.impl.KeyBuilder
 
MethodAsProvider<T> - Class in team.unnamed.inject.provision.std
Represents a binding to a method, the method is used like a provider, passing the dependencies as parameters and getting an instance with the return value
MethodAsProvider(Object, InjectableMethod) - Constructor for class team.unnamed.inject.provision.std.MethodAsProvider
 
MethodResolver - Class in team.unnamed.inject.resolve
 
methods() - Static method in class team.unnamed.inject.resolve.ComponentResolver
 
Module - Interface in team.unnamed.inject
This interface represents a part of the Injector configuration.
multibind(Class<T>) - Method in class team.unnamed.inject.AbstractModule
 
multibind(TypeReference<T>) - Method in class team.unnamed.inject.AbstractModule
 
multibind(Class<T>) - Method in interface team.unnamed.inject.Binder
 
multibind(TypeReference<T>) - Method in interface team.unnamed.inject.Binder
 
multibind(TypeReference<T>) - Method in class team.unnamed.inject.impl.BinderImpl
 
MultiBindingBuilderImpl<T> - Class in team.unnamed.inject.multibinding
 
MultiBindingBuilderImpl(BinderImpl, TypeReference<T>) - Constructor for class team.unnamed.inject.multibinding.MultiBindingBuilderImpl
 

N

named(String) - Method in interface team.unnamed.inject.Binder.Qualified
Qualifies the key with the specific name
named(String) - Method in interface team.unnamed.inject.impl.KeyBuilder
 
Named - Annotation Type in team.unnamed.inject
 
NONE - Static variable in class team.unnamed.inject.scope.Scopes
 
normalize(Provider<T>) - Static method in class team.unnamed.inject.provision.Providers
 
notEmpty(String, String, Object...) - Static method in class team.unnamed.inject.util.Validate
Validates that the specified string is not null and not empty.
notEmpty(String) - Static method in class team.unnamed.inject.util.Validate
Validates that the specified string is not null and not empty.
notNull(T, String, Object...) - Static method in class team.unnamed.inject.util.Validate
Validates that the provided object isn't null, if it is, the method throws an NullPointerException with the specified message.
notNull(T) - Static method in class team.unnamed.inject.util.Validate
Validates that the provided object isn't null, if it is, the method throws an NullPointerException

O

of(Class<T>) - Static method in class team.unnamed.inject.key.Key
 
of(TypeReference<T>) - Static method in class team.unnamed.inject.key.Key
 
of(TypeReference<T>, Class<? extends Annotation>, Annotation) - Static method in class team.unnamed.inject.key.Key
 
of(Type) - Static method in class team.unnamed.inject.key.TypeReference
 
of(Class<?>, Type...) - Static method in class team.unnamed.inject.key.TypeReference
 
omitPackage(String) - Static method in class team.unnamed.inject.key.Types
Adds the specified packageName to the list of omitted packages
onBind(BinderImpl, Key<?>) - Method in class team.unnamed.inject.assisted.provision.ToFactoryProvider
 
onBind(BinderImpl, Key<?>) - Method in class team.unnamed.inject.provision.DelegatingStdProvider
 
onBind(BinderImpl, Key<?>) - Method in class team.unnamed.inject.provision.std.generic.ToGenericProvider
 
onBind(BinderImpl, Key<?>) - Method in class team.unnamed.inject.provision.StdProvider
Listener method called when the provider is bound.

P

parameterizedTypeOf(Type, Class<?>, Type...) - Static method in class team.unnamed.inject.key.Types
Static factory method to create ParameterizedTypes
pop() - Method in class team.unnamed.inject.impl.ProvisionStack
 
ProvidedBy - Annotation Type in team.unnamed.inject
Similar to Targetted, but the annotated type is bound to a provider type, not to a sub-class.
Provider<T> - Interface in team.unnamed.inject
 
Providers - Class in team.unnamed.inject.provision
Collection of static factory methods to create providers
providerTypeProvider(TypeReference<? extends Provider<? extends T>>) - Static method in class team.unnamed.inject.provision.Providers
 
ProviderTypeProvider<T> - Class in team.unnamed.inject.provision.std
Represents a provider that gets instantiated the first time that gets called, then the instance is saved.
ProviderTypeProvider(TypeReference<? extends Provider<? extends T>>) - Constructor for class team.unnamed.inject.provision.std.ProviderTypeProvider
 
Provides - Annotation Type in team.unnamed.inject
Declares that the annotated method should be called as a provider.
ProvisionHandle - Class in team.unnamed.inject.impl
 
ProvisionHandle(InjectorImpl, BinderImpl) - Constructor for class team.unnamed.inject.impl.ProvisionHandle
 
ProvisionStack - Class in team.unnamed.inject.impl
 
ProvisionStack() - Constructor for class team.unnamed.inject.impl.ProvisionStack
 
provisionStackThreadLocal - Variable in class team.unnamed.inject.impl.InjectorImpl
 
ProxiedFactoryProvider<T> - Class in team.unnamed.inject.assisted.provision
 
push(Key<T>, T) - Method in class team.unnamed.inject.impl.ProvisionStack
 

Q

qualified(Annotation) - Method in interface team.unnamed.inject.Binder.Qualified
Qualifies the key with the specific annotation instance
qualified(Annotation) - Method in interface team.unnamed.inject.impl.KeyBuilder
 
Qualifier - Annotation Type in team.unnamed.inject
 

R

removeStackFromThisThread() - Method in class team.unnamed.inject.impl.InjectorImpl
Sets the provision stack in this thread to null, so it should be re-started with InjectorImpl.stackForThisThread().
reportAttachedErrors() - Method in interface team.unnamed.inject.error.ErrorAttachable
Removes all the attached errors and reports it to the user
reportAttachedErrors() - Method in class team.unnamed.inject.error.ErrorAttachableImpl
By default the errors cannot be reported
reportAttachedErrors() - Method in class team.unnamed.inject.impl.BinderImpl
Throws the errors attached to this attachable
requiresContext() - Method in class team.unnamed.inject.key.Key
Checks if the wrapped type requires context or not
requiresJitScoping() - Method in class team.unnamed.inject.provision.std.generic.ToGenericProvider
 
requiresJitScoping() - Method in class team.unnamed.inject.provision.std.ScopedProvider
 
resolve(Type) - Method in class team.unnamed.inject.key.TypeReference
Unsafe method, type must be the type of a member of this type, else, it throws a IllegalStateException
resolve(ErrorAttachable, TypeReference<?>, Class<? extends Annotation>) - Method in class team.unnamed.inject.resolve.ConstructorResolver
 
resolve(TypeReference<?>) - Method in class team.unnamed.inject.resolve.FieldResolver
Resolves all the injectable fields for the specified type.
resolve(TypeReference<?>, Class<? extends Annotation>) - Method in class team.unnamed.inject.resolve.MethodResolver
 
resolveMethodProviders(ErrorAttachable, TypeReference<T>, T) - Static method in class team.unnamed.inject.provision.std.MethodAsProvider
 

S

scan(AnnotatedElement) - Method in class team.unnamed.inject.scope.ScopeScanner
Scans the given element annotations searching for annotations present in the internal scopes map
Scope - Annotation Type in team.unnamed.inject
 
scope(Provider<T>) - Method in class team.unnamed.inject.scope.LazySingletonScope
 
Scope - Interface in team.unnamed.inject.scope
Wraps providers
scope(Provider<T>) - Method in interface team.unnamed.inject.scope.Scope
Wraps the provider
ScopedProvider<T> - Class in team.unnamed.inject.provision.std
It's a provider wrapped.
ScopedProvider(Provider<T>, Scope) - Constructor for class team.unnamed.inject.provision.std.ScopedProvider
 
ScopedProvider() - Constructor for class team.unnamed.inject.provision.std.ScopedProvider
 
Scopes - Class in team.unnamed.inject.scope
Collection of built-in scopes
ScopeScanner - Class in team.unnamed.inject.scope
Class responsible of scanning scope annotations from AnnotatedElement
setInjected(boolean) - Method in class team.unnamed.inject.provision.StdProvider
 
setKey(Key<T>) - Method in interface team.unnamed.inject.impl.KeyBuilder
 
setKey(Key<T>) - Method in class team.unnamed.inject.multibinding.MultiBindingBuilderImpl
 
singleton() - Method in interface team.unnamed.inject.Binder.Scoped
Alias method for in(Scopes.SINGLETON)
SINGLETON - Static variable in class team.unnamed.inject.scope.Scopes
 
Singleton - Annotation Type in team.unnamed.inject
 
stackForThisThread() - Method in class team.unnamed.inject.impl.InjectorImpl
 
state(boolean, String, Object...) - Static method in class team.unnamed.inject.util.Validate
Validates that the specified expression is true, if it is false, the method throws a IllegalStateException with the specified message.
state(boolean) - Static method in class team.unnamed.inject.util.Validate
Validates that the specified expression is true, if it is false, the method throws a IllegalStateException
StdProvider<T> - Class in team.unnamed.inject.provision
 
StdProvider() - Constructor for class team.unnamed.inject.provision.StdProvider
 
SyntheticGenericProvider(Key<?>, Scope) - Constructor for class team.unnamed.inject.provision.std.generic.ToGenericProvider.SyntheticGenericProvider
 

T

Targetted - Annotation Type in team.unnamed.inject
Declares that the annotated must be bound to the type specified by the Targetted.value() property.
team.unnamed.inject - package team.unnamed.inject
 
team.unnamed.inject.assisted - package team.unnamed.inject.assisted
 
team.unnamed.inject.assisted.provision - package team.unnamed.inject.assisted.provision
 
team.unnamed.inject.error - package team.unnamed.inject.error
 
team.unnamed.inject.impl - package team.unnamed.inject.impl
 
team.unnamed.inject.key - package team.unnamed.inject.key
 
team.unnamed.inject.multibinding - package team.unnamed.inject.multibinding
 
team.unnamed.inject.provision - package team.unnamed.inject.provision
 
team.unnamed.inject.provision.std - package team.unnamed.inject.provision.std
 
team.unnamed.inject.provision.std.generic - package team.unnamed.inject.provision.std.generic
 
team.unnamed.inject.provision.std.generic.impl - package team.unnamed.inject.provision.std.generic.impl
 
team.unnamed.inject.resolve - package team.unnamed.inject.resolve
 
team.unnamed.inject.resolve.solution - package team.unnamed.inject.resolve.solution
 
team.unnamed.inject.scope - package team.unnamed.inject.scope
 
team.unnamed.inject.util - package team.unnamed.inject.util
 
to(Class<? extends T>) - Method in interface team.unnamed.inject.Binder.Linked
Links the key to a class
to(TypeReference<? extends T>) - Method in interface team.unnamed.inject.Binder.Linked
Links the key to a (possible) generic type
to(TypeReference<? extends T>) - Method in interface team.unnamed.inject.impl.LinkedBuilder
 
toFactory(Class<? extends ValueFactory>) - Method in interface team.unnamed.inject.Binder.Linked
Links the key to an assisted instance factory
toFactory(TypeReference<? extends ValueFactory>) - Method in interface team.unnamed.inject.Binder.Linked
Links the key to an assisted instance factory
toFactory(TypeReference<? extends ValueFactory>) - Method in interface team.unnamed.inject.impl.LinkedBuilder
 
ToFactoryProvider<T> - Class in team.unnamed.inject.assisted.provision
Represents a provider of a factory.
ToFactoryProvider(TypeReference<? extends ValueFactory>) - Constructor for class team.unnamed.inject.assisted.provision.ToFactoryProvider
 
toGenericProvider(GenericProvider<? extends T>) - Method in interface team.unnamed.inject.Binder.Linked
Links the key to a generic provider
toGenericProvider(GenericProvider<? extends T>) - Method in interface team.unnamed.inject.impl.LinkedBuilder
 
ToGenericProvider<T> - Class in team.unnamed.inject.provision.std.generic
 
ToGenericProvider(GenericProvider<T>) - Constructor for class team.unnamed.inject.provision.std.generic.ToGenericProvider
 
ToGenericProvider.SyntheticGenericProvider - Class in team.unnamed.inject.provision.std.generic
 
toInstance(T) - Method in interface team.unnamed.inject.Binder.CollectionMultiBindingBuilder
Adds an instance of the specific element type to the collection
toInstance(V) - Method in interface team.unnamed.inject.Binder.KeyBinder
Adds an instance of the specific value type to the map
toInstance(T) - Method in interface team.unnamed.inject.Binder.QualifiedBindingBuilder
Binds the key to a specific instance
toProvider(Provider<? extends T>) - Method in interface team.unnamed.inject.Binder.Linked
Links the key to a specific provider
toProvider(Class<P>) - Method in interface team.unnamed.inject.Binder.Linked
Links the key to a specific provider type
toProvider(TypeReference<P>) - Method in interface team.unnamed.inject.Binder.Linked
Links the key to a specific provider (possible) generic type
toProvider(TypeReference<P>) - Method in interface team.unnamed.inject.impl.LinkedBuilder
 
toString() - Method in class team.unnamed.inject.impl.ProvisionStack
 
toString() - Method in class team.unnamed.inject.key.InjectedKey
 
toString() - Method in class team.unnamed.inject.key.Key
This should create a string with util information and very verbose.
toString() - Method in class team.unnamed.inject.key.TypeReference
 
toString() - Method in class team.unnamed.inject.provision.DelegatingStdProvider
 
toString() - Method in class team.unnamed.inject.provision.std.InstanceProvider
 
toString() - Method in class team.unnamed.inject.provision.std.LinkedProvider
 
toString() - Method in class team.unnamed.inject.provision.std.ProviderTypeProvider
 
TypeReference<T> - Class in team.unnamed.inject.key
 
TypeReference() - Constructor for class team.unnamed.inject.key.TypeReference
 
TypeReferenceGenericProvider - Class in team.unnamed.inject.provision.std.generic.impl
 
TypeReferenceGenericProvider() - Constructor for class team.unnamed.inject.provision.std.generic.impl.TypeReferenceGenericProvider
 
Types - Class in team.unnamed.inject.key
Collection of static util methods for easy Type handling.

U

unwrap(Provider<T>) - Static method in class team.unnamed.inject.provision.Providers
 

V

Validate - Class in team.unnamed.inject.util
Collection of util methods for parameter, argument, states validation.
ValueFactory - Interface in team.unnamed.inject.assisted
Marker-interface that represents a value factory

W

withQualifier(Annotation) - Method in class team.unnamed.inject.key.Key
Returns a new Key with the given qualifier
withQualifier(Class<? extends Annotation>) - Method in class team.unnamed.inject.key.Key
Returns a new Key with the given qualifierType
withScope(Key<?>, Scope) - Method in class team.unnamed.inject.provision.DelegatingStdProvider
 
withScope(Key<?>, Scope) - Method in class team.unnamed.inject.provision.std.generic.ToGenericProvider.SyntheticGenericProvider
 
withScope(Key<?>, Scope) - Method in class team.unnamed.inject.provision.std.generic.ToGenericProvider
 
withScope(Key<?>, Scope) - Method in class team.unnamed.inject.provision.std.InstanceProvider
 
withScope(Key<?>, Scope) - Method in class team.unnamed.inject.provision.std.ScopedProvider
 
withScope(Key<?>, Scope) - Method in class team.unnamed.inject.provision.StdProvider
Adds the control of scoping the provider.
withType(TypeReference<R>) - Method in class team.unnamed.inject.key.Key
Returns a new Key instance with the given type, the qualifier is copied
$ A B C D E F G H I K L M N O P Q R S T U V W 
Skip navigation links