B C D E F G H I O R T W 
All Classes All Packages

B

build() - Method in class org.danilopianini.jirf.FactoryBuilder
 
build() - Method in class org.danilopianini.jirf.ImmutableCreationResult.Builder
 
build(Class<E>, Object...) - Method in interface org.danilopianini.jirf.Factory
 
build(Class<E>, List<?>) - Method in interface org.danilopianini.jirf.Factory
 
Builder() - Constructor for class org.danilopianini.jirf.ImmutableCreationResult.Builder
 

C

convert(Class<O>, I) - Method in interface org.danilopianini.jirf.Factory
Applies the available implicit conversions and tries to convert the provided object to the provided class.
convertOrFail(Class<O>, I) - Method in interface org.danilopianini.jirf.Factory
Applies the available implicit conversions and tries to convert the provided object to the provided class.
CreationResult<T> - Interface in org.danilopianini.jirf
The result of the object creation process.

D

deregisterSingleton(E) - Method in interface org.danilopianini.jirf.Factory
Removes a registered singleton.

E

equals(Object) - Method in class org.danilopianini.jirf.ImmutableCreationResult
 

F

Factory - Interface in org.danilopianini.jirf
Instance builder for arbitrary Java classes with partly specified parameters.
FactoryBuilder - Class in org.danilopianini.jirf
Preconfigures and builds a Factory implementation.
FactoryBuilder() - Constructor for class org.danilopianini.jirf.FactoryBuilder
 

G

getCreatedObject() - Method in interface org.danilopianini.jirf.CreationResult
 
getCreatedObject() - Method in class org.danilopianini.jirf.ImmutableCreationResult
 
getCreatedObjectOrThrowException() - Method in interface org.danilopianini.jirf.CreationResult
 
getCreatedObjectOrThrowException() - Method in class org.danilopianini.jirf.ImmutableCreationResult
 
getExceptions() - Method in interface org.danilopianini.jirf.CreationResult
 
getExceptions() - Method in class org.danilopianini.jirf.ImmutableCreationResult
 
getSingletonObjects() - Method in interface org.danilopianini.jirf.Factory
 

H

hashCode() - Method in class org.danilopianini.jirf.ImmutableCreationResult
 

I

ImmutableCreationResult<T> - Class in org.danilopianini.jirf
Immutable implementation of CreationResult (of course, if T is mutable, the object state can be indirectly mutated).
ImmutableCreationResult.Builder<T> - Class in org.danilopianini.jirf
Builder for an ImmutableCreationResult.
InstancingImpossibleException - Exception in org.danilopianini.jirf
 

O

org.danilopianini.jirf - package org.danilopianini.jirf
 

R

registerImplicit(Class<S>, Class<D>, Function<? super S, ? extends D>) - Method in interface org.danilopianini.jirf.Factory
Registers an implicit conversion function.
registerSingleton(E) - Method in interface org.danilopianini.jirf.Factory
Registers a singleton.
registerSingleton(Class<? super E>, E) - Method in interface org.danilopianini.jirf.Factory
Registers a singleton.
registerSingleton(Class<? super E>, Class<? super E>, E) - Method in interface org.danilopianini.jirf.Factory
Registers a singleton.

T

toString() - Method in class org.danilopianini.jirf.ImmutableCreationResult
 

W

withArrayBooleanIntConversions() - Method in class org.danilopianini.jirf.FactoryBuilder
Enables converting linear arrays of booleans to linear arrays of integers.
withArrayBoxing() - Method in class org.danilopianini.jirf.FactoryBuilder
Enables autoboxing for linear arrays (e.g.
withArrayListConversions(Class<?>...) - Method in class org.danilopianini.jirf.FactoryBuilder
Enables converting linear arrays to lists for the provided classes and Object.
withArrayNarrowingConversions() - Method in class org.danilopianini.jirf.FactoryBuilder
Enables narrowing conversions for linear arrays (e.g.
withArrayWideningConversions() - Method in class org.danilopianini.jirf.FactoryBuilder
Enables widening conversions for linear arrays (e.g.
withAutoBoxing() - Method in class org.danilopianini.jirf.FactoryBuilder
Enables the auto (un) boxing that the Java language provides by default.
withAutomaticToString() - Method in class org.danilopianini.jirf.FactoryBuilder
Automatically converts objects to String when needed, by means of Object.toString().
withBooleanIntConversions() - Method in class org.danilopianini.jirf.FactoryBuilder
Enables converting booleans to integers.
withFailure(Constructor<T>, InstancingImpossibleException) - Method in class org.danilopianini.jirf.ImmutableCreationResult.Builder
 
withNarrowingConversions() - Method in class org.danilopianini.jirf.FactoryBuilder
Enables the narrowing conversions between primitives.
withResult(T) - Method in class org.danilopianini.jirf.ImmutableCreationResult.Builder
 
withWideningConversions() - Method in class org.danilopianini.jirf.FactoryBuilder
Enables the widening conversions that the Java language provides by default.
B C D E F G H I O R T W 
All Classes All Packages