src/share/classes/java/lang/reflect/Constructor.java

Print this page

        

*** 180,190 **** * {@inheritDoc} * @throws GenericSignatureFormatError {@inheritDoc} * @since 1.5 */ @Override ! @SuppressWarnings({ "rawtypes", "unchecked" }) public TypeVariable<Constructor<T>>[] getTypeParameters() { if (getSignature() != null) { return (TypeVariable<Constructor<T>>[])getGenericInfo().getTypeParameters(); } else return (TypeVariable<Constructor<T>>[])new TypeVariable[0]; --- 180,190 ---- * {@inheritDoc} * @throws GenericSignatureFormatError {@inheritDoc} * @since 1.5 */ @Override ! @SuppressWarnings({"rawtypes", "unchecked"}) public TypeVariable<Constructor<T>>[] getTypeParameters() { if (getSignature() != null) { return (TypeVariable<Constructor<T>>[])getGenericInfo().getTypeParameters(); } else return (TypeVariable<Constructor<T>>[])new TypeVariable[0];