Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.reflect.Constructor

Availability: JDK 1.1

public final class Constructor extends Object implements Member {
   // No Constructor
   // Public Instance Methods
      public boolean equals(Object obj);  // Overrides Object.equals()
      public Class getDeclaringClass();
      public Class[] getExceptionTypes();
      public native int getModifiers();
      public String getName();
      public Class[] getParameterTypes();
      public int hashCode();  // Overrides Object.hashCode()
      public native Object newInstance(Object[] initargs) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException;
      public String toString();  // Overrides Object.toString()
}
Returned By:
Class.getConstructor(), Class.getConstructors(), Class.getDeclaredConstructor(), Class.getDeclaredConstructors().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.