< prev index next >

src/java.base/share/classes/java/lang/reflect/Executable.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols

*** 215,225 **** * @return an array of {@code TypeVariable} objects that represent * the type variables declared by this generic declaration * @throws GenericSignatureFormatError if the generic * signature of this generic declaration does not conform to * the format specified in ! * <cite>The Java&trade; Virtual Machine Specification</cite> */ public abstract TypeVariable<?>[] getTypeParameters(); // returns shared array of parameter types - must never give it out // to the untrusted code... --- 215,225 ---- * @return an array of {@code TypeVariable} objects that represent * the type variables declared by this generic declaration * @throws GenericSignatureFormatError if the generic * signature of this generic declaration does not conform to * the format specified in ! * <cite>The Java Virtual Machine Specification</cite> */ public abstract TypeVariable<?>[] getTypeParameters(); // returns shared array of parameter types - must never give it out // to the untrusted code...
*** 274,284 **** * @return an array of {@code Type}s that represent the formal * parameter types of the underlying executable, in declaration order * @throws GenericSignatureFormatError * if the generic method signature does not conform to the format * specified in ! * <cite>The Java&trade; Virtual Machine Specification</cite> * @throws TypeNotPresentException if any of the parameter * types of the underlying executable refers to a non-existent type * declaration * @throws MalformedParameterizedTypeException if any of * the underlying executable's parameter types refer to a parameterized --- 274,284 ---- * @return an array of {@code Type}s that represent the formal * parameter types of the underlying executable, in declaration order * @throws GenericSignatureFormatError * if the generic method signature does not conform to the format * specified in ! * <cite>The Java Virtual Machine Specification</cite> * @throws TypeNotPresentException if any of the parameter * types of the underlying executable refers to a non-existent type * declaration * @throws MalformedParameterizedTypeException if any of * the underlying executable's parameter types refer to a parameterized
*** 472,482 **** * @return an array of Types that represent the exception types * thrown by the underlying executable * @throws GenericSignatureFormatError * if the generic method signature does not conform to the format * specified in ! * <cite>The Java&trade; Virtual Machine Specification</cite> * @throws TypeNotPresentException if the underlying executable's * {@code throws} clause refers to a non-existent type declaration * @throws MalformedParameterizedTypeException if * the underlying executable's {@code throws} clause refers to a * parameterized type that cannot be instantiated for any reason --- 472,482 ---- * @return an array of Types that represent the exception types * thrown by the underlying executable * @throws GenericSignatureFormatError * if the generic method signature does not conform to the format * specified in ! * <cite>The Java Virtual Machine Specification</cite> * @throws TypeNotPresentException if the underlying executable's * {@code throws} clause refers to a non-existent type declaration * @throws MalformedParameterizedTypeException if * the underlying executable's {@code throws} clause refers to a * parameterized type that cannot be instantiated for any reason
*** 513,523 **** * Returns {@code true} if this executable is a synthetic * construct; returns {@code false} otherwise. * * @return true if and only if this executable is a synthetic * construct as defined by ! * <cite>The Java&trade; Language Specification</cite>. * @jls 13.1 The Form of a Binary */ public boolean isSynthetic() { return Modifier.isSynthetic(getModifiers()); } --- 513,523 ---- * Returns {@code true} if this executable is a synthetic * construct; returns {@code false} otherwise. * * @return true if and only if this executable is a synthetic * construct as defined by ! * <cite>The Java Language Specification</cite>. * @jls 13.1 The Form of a Binary */ public boolean isSynthetic() { return Modifier.isSynthetic(getModifiers()); }
< prev index next >