public class ConstructorUtils extends Object
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | ConstructorUtils.ArgumentTransformer | 
| Constructor and Description | 
|---|
| ConstructorUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <C> Constructor<C> | getConstructor(Class<C> type,
              Class<?>[] givenTypes)Returns the constructor where the formal parameter list matches the
 givenTypes argument. | 
| static Class<?>[] | getConstructorParameters(Class<?> type,
                        Class<?>[] givenTypes)Returns the parameters for the constructor that matches the given types. | 
| static Iterable<com.google.common.base.Function<Object[],Object[]>> | getTransformers(Constructor<?> constructor)Returns a list of transformers applicable to the given constructor. | 
public static <C> Constructor<C> getConstructor(Class<C> type, Class<?>[] givenTypes) throws NoSuchMethodException
getConstructorParameters(java.lang.Class, java.lang.Class[])
 to get the parameters.type - givenTypes - NoSuchMethodExceptionpublic static Class<?>[] getConstructorParameters(Class<?> type, Class<?>[] givenTypes)
type - givenTypes - public static Iterable<com.google.common.base.Function<Object[],Object[]>> getTransformers(Constructor<?> constructor)
constructor - Copyright © 2007–2015 Querydsl. All rights reserved.