T - type of the element occupying each array slot.public interface CtorAndArgsProvider<T>
| Modifier and Type | Method and Description |
|---|---|
CtorAndArgs<T> |
getForContext(ConstructionContext<T> context)
Get a
CtorAndArgs instance to be used in constructing a given element index in
a StructuredArray |
CtorAndArgs<T> getForContext(ConstructionContext<T> context) throws java.lang.NoSuchMethodException
CtorAndArgs instance to be used in constructing a given element index in
a StructuredArraycontext - The construction context (index, containing array, etc.) of the element to be constructedCtorAndArgs instance to used in element constructionjava.lang.NoSuchMethodException - if expected constructor is not found in element class