Silk DI 0.6


se.jbee.inject.util
Class Constructible<T>

Object
  extended by se.jbee.inject.util.Constructible<T>
All Implemented Interfaces:
Typed<T>

public final class Constructible<T>
extends Object
implements Typed<T>


Field Summary
 Constructor<T> constructor
           
 Parameter<?>[] parameters
           
 
Method Summary
static
<T> Constructible<T>
constructible(Constructor<T> constructor, Parameter<?>... parameters)
           
 Type<T> getType()
           
<E> Constructible<E>
typed(Type<E> supertype)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constructor

public final Constructor<T> constructor

parameters

public final Parameter<?>[] parameters
Method Detail

constructible

public static <T> Constructible<T> constructible(Constructor<T> constructor,
                                                 Parameter<?>... parameters)

getType

public Type<T> getType()
Specified by:
getType in interface Typed<T>
Returns:
The Type of this object.

typed

public <E> Constructible<E> typed(Type<E> supertype)
Specified by:
typed in interface Typed<T>
Returns:
This object with the given Type.

Silk DI 0.6