@@ -250,10 +250,16 @@ return parameterTypes.clone(); } /** * {@inheritDoc} + */ + public int getNumParameters() { return parameterTypes.length; } + + + /** + * {@inheritDoc} * @throws GenericSignatureFormatError {@inheritDoc} * @throws TypeNotPresentException {@inheritDoc} * @throws MalformedParameterizedTypeException {@inheritDoc} * @since 1.5 */