Class GetDeclaredConstructor<T>
- java.lang.Object
-
- org.hibernate.validator.internal.util.privilegedactions.GetDeclaredConstructor<T>
-
- All Implemented Interfaces:
PrivilegedAction<Constructor<T>>
public final class GetDeclaredConstructor<T> extends Object implements PrivilegedAction<Constructor<T>>
Returns the declared constructor with the specified parameter types ornullif it does not exist.- Author:
- Emmanuel Bernard
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> GetDeclaredConstructor<T>action(Class<T> clazz, Class<?>... params)Constructor<T>run()
-
-
-
Method Detail
-
action
public static <T> GetDeclaredConstructor<T> action(Class<T> clazz, Class<?>... params)
-
run
public Constructor<T> run()
- Specified by:
runin interfacePrivilegedAction<T>
-
-