public class DIConstructor extends Object
| Constructor and Description |
|---|
DIConstructor(Constructor<?> constructor,
Map<Class<?>,Class<?>> wrappedPrimitiveTypeMap) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
List<Annotation> |
getParamAnnotations(int paramIndex) |
List<String> |
getParameterNames() |
Class<?> |
getParamType(int paramIndex) |
boolean |
matchesParams(Object... givenParams) |
boolean |
matchesParamTypes(Class<?>... givenParamTypes) |
<T> T |
newInstance(List<Object> initArgsAsList) |
<T> T |
newInstance(Object... initArgs) |
public DIConstructor(Constructor<?> constructor, Map<Class<?>,Class<?>> wrappedPrimitiveTypeMap)
public String getName()
public boolean matchesParams(Object... givenParams)
public boolean matchesParamTypes(Class<?>... givenParamTypes)
public <T> T newInstance(List<Object> initArgsAsList) throws IllegalAccessException, InvocationTargetException, InstantiationException
public <T> T newInstance(Object... initArgs) throws IllegalAccessException, InvocationTargetException, InstantiationException
public Class<?> getParamType(int paramIndex)
public List<Annotation> getParamAnnotations(int paramIndex)
Copyright © 2014. All rights reserved.