Class.getDeclaredConstructors

Class.getDeclaredConstructors

Class Overview | Class Members | This Package | All Packages

Syntax
public Constructor[] getDeclaredConstructors() throws SecurityException
Description
Returns an array of Constructor objects reflecting all the constructors declared by the class represented by this Class object. These are public, protected, default (package) access, and private constructors. Returns an array of length 0 if this Class object represents an interface or a primitive type.

See The Java Language Specification, section 8.2.

Exceptions
SecurityException if access to the information is denied.
See Also
Constructor