Methods in java.lang that return Constructor |
Constructor[] |
Class.getConstructors()
Returns an array containing Constructor objects reflecting
all the public constructors of the class represented by this
Class object. |
Constructor |
Class.getConstructor(Class[] parameterTypes)
Returns a Constructor object that reflects the specified
public constructor of the class represented by this Class
object. |
Constructor[] |
Class.getDeclaredConstructors()
Returns an array of Constructor objects reflecting all the
constructors declared by the class represented by this
Class object. |
Constructor |
Class.getDeclaredConstructor(Class[] parameterTypes)
Returns a Constructor object that reflects the specified
constructor of the class or interface represented by this
Class object. |