Top Description Fields Constructors Methods
org.hibernate.validator.internal.util.privilegedactions

public final Class GetDeclaredConstructors

extends Object
implements PrivilegedAction<Constructor<?>[]>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedAction
Imports
java.lang.reflect.Constructor, java.security.PrivilegedAction

Returns the declared constructors of the specified class.
Author
Gunnar Morling

Field Summary

Modifier and TypeField and Description
private final Class<?>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static GetDeclaredConstructors
action(Class<?> clazz)

public Constructor<?>[]
run()

Implements java.security.PrivilegedAction.run.

Performs the computation.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

clazzback to summary
private final Class<?> clazz

Constructor Detail

GetDeclaredConstructorsback to summary
private GetDeclaredConstructors(Class<?> clazz)

Method Detail

actionback to summary
public static GetDeclaredConstructors action(Class<?> clazz)
runback to summary
public Constructor<?>[] run()

Implements java.security.PrivilegedAction.run.

Doc from java.security.PrivilegedAction.run.

Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.

Returns:Constructor<?>[]

a class-dependent value that may represent the results of the computation. Each class that implements PrivilegedAction should document what (if anything) this value represents.

Annotations
@Override