jodd.petite
Class SetInjectionPoint<T>
java.lang.Object
jodd.petite.SetInjectionPoint<T>
public class SetInjectionPoint<T>
- extends Object
Set injection point.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static final SetInjectionPoint[] EMPTY
field
public final Field field
type
public final Class<T> type
targetClass
public final Class targetClass
SetInjectionPoint
public SetInjectionPoint(Field field)
resolveSetType
protected Class<T> resolveSetType(Field field)
createSet
public Collection<T> createSet(int length)
- Creates target set for injection. For now it creates
HashSet,
but custom implementation can change this setting.