420
421 @Override
422 void specificToGenericStringHeader(StringBuilder sb) {
423 specificToStringHeader(sb);
424 }
425
426 /**
427 * Uses the constructor represented by this {@code Constructor} object to
428 * create and initialize a new instance of the constructor's
429 * declaring class, with the specified initialization parameters.
430 * Individual parameters are automatically unwrapped to match
431 * primitive formal parameters, and both primitive and reference
432 * parameters are subject to method invocation conversions as necessary.
433 *
434 * <p>If the number of formal parameters required by the underlying constructor
435 * is 0, the supplied {@code initargs} array may be of length 0 or null.
436 *
437 * <p>If the constructor's declaring class is an inner class in a
438 * non-static context, the first argument to the constructor needs
439 * to be the enclosing instance; see section 15.9.3 of
440 * <cite>The Java™ Language Specification</cite>.
441 *
442 * <p>If the required access and argument checks succeed and the
443 * instantiation will proceed, the constructor's declaring class
444 * is initialized if it has not already been initialized.
445 *
446 * <p>If the constructor completes normally, returns the newly
447 * created and initialized instance.
448 *
449 * @param initargs array of objects to be passed as arguments to
450 * the constructor call; values of primitive types are wrapped in
451 * a wrapper object of the appropriate type (e.g. a {@code float}
452 * in a {@link java.lang.Float Float})
453 *
454 * @return a new object created by calling the constructor
455 * this object represents
456 *
457 * @throws IllegalAccessException if this {@code Constructor} object
458 * is enforcing Java language access control and the underlying
459 * constructor is inaccessible.
460 * @throws IllegalArgumentException if the number of actual
|
420
421 @Override
422 void specificToGenericStringHeader(StringBuilder sb) {
423 specificToStringHeader(sb);
424 }
425
426 /**
427 * Uses the constructor represented by this {@code Constructor} object to
428 * create and initialize a new instance of the constructor's
429 * declaring class, with the specified initialization parameters.
430 * Individual parameters are automatically unwrapped to match
431 * primitive formal parameters, and both primitive and reference
432 * parameters are subject to method invocation conversions as necessary.
433 *
434 * <p>If the number of formal parameters required by the underlying constructor
435 * is 0, the supplied {@code initargs} array may be of length 0 or null.
436 *
437 * <p>If the constructor's declaring class is an inner class in a
438 * non-static context, the first argument to the constructor needs
439 * to be the enclosing instance; see section 15.9.3 of
440 * <cite>The Java Language Specification</cite>.
441 *
442 * <p>If the required access and argument checks succeed and the
443 * instantiation will proceed, the constructor's declaring class
444 * is initialized if it has not already been initialized.
445 *
446 * <p>If the constructor completes normally, returns the newly
447 * created and initialized instance.
448 *
449 * @param initargs array of objects to be passed as arguments to
450 * the constructor call; values of primitive types are wrapped in
451 * a wrapper object of the appropriate type (e.g. a {@code float}
452 * in a {@link java.lang.Float Float})
453 *
454 * @return a new object created by calling the constructor
455 * this object represents
456 *
457 * @throws IllegalAccessException if this {@code Constructor} object
458 * is enforcing Java language access control and the underlying
459 * constructor is inaccessible.
460 * @throws IllegalArgumentException if the number of actual
|