jdk/src/share/classes/java/lang/reflect/Constructor.java
changeset 15294 df55735ea03c
parent 14910 337380568515
child 15510 898d924a7efd
--- a/jdk/src/share/classes/java/lang/reflect/Constructor.java	Wed Jan 23 15:12:28 2013 +0000
+++ b/jdk/src/share/classes/java/lang/reflect/Constructor.java	Wed Jan 23 17:54:34 2013 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -205,6 +205,11 @@
 
     /**
      * {@inheritDoc}
+     */
+    public int getParameterCount() { return parameterTypes.length; }
+
+    /**
+     * {@inheritDoc}
      * @throws GenericSignatureFormatError {@inheritDoc}
      * @throws TypeNotPresentException {@inheritDoc}
      * @throws MalformedParameterizedTypeException {@inheritDoc}