mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8249205: Remove unnecessary trademark symbols
Reviewed-by: darcy, lancea, bpb, prr, jjg, cjplummer, iris, dfuchs, weijun, joehw, wetmore, bchristi
This commit is contained in:
parent
24f4f14c3d
commit
55039aa1c6
337 changed files with 545 additions and 545 deletions
|
@ -35,7 +35,7 @@ package java.lang;
|
|||
* </pre>
|
||||
* has as its detail message the <i>string conversion</i> of
|
||||
* <i>expression</i> (as defined in section 15.18.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>),
|
||||
* <cite>The Java Language Specification</cite>),
|
||||
* regardless of the type of <i>expression</i>.
|
||||
*
|
||||
* @since 1.4
|
||||
|
@ -63,7 +63,7 @@ public class AssertionError extends Error {
|
|||
* Constructs an AssertionError with its detail message derived
|
||||
* from the specified object, which is converted to a string as
|
||||
* defined in section 15.18.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*<p>
|
||||
* If the specified object is an instance of {@code Throwable}, it
|
||||
* becomes the <i>cause</i> of the newly constructed assertion error.
|
||||
|
@ -81,7 +81,7 @@ public class AssertionError extends Error {
|
|||
* Constructs an AssertionError with its detail message derived
|
||||
* from the specified {@code boolean}, which is converted to
|
||||
* a string as defined in section 15.18.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @param detailMessage value to be used in constructing detail message
|
||||
*/
|
||||
|
@ -93,7 +93,7 @@ public class AssertionError extends Error {
|
|||
* Constructs an AssertionError with its detail message derived
|
||||
* from the specified {@code char}, which is converted to a
|
||||
* string as defined in section 15.18.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @param detailMessage value to be used in constructing detail message
|
||||
*/
|
||||
|
@ -105,7 +105,7 @@ public class AssertionError extends Error {
|
|||
* Constructs an AssertionError with its detail message derived
|
||||
* from the specified {@code int}, which is converted to a
|
||||
* string as defined in section 15.18.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @param detailMessage value to be used in constructing detail message
|
||||
*/
|
||||
|
@ -117,7 +117,7 @@ public class AssertionError extends Error {
|
|||
* Constructs an AssertionError with its detail message derived
|
||||
* from the specified {@code long}, which is converted to a
|
||||
* string as defined in section 15.18.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @param detailMessage value to be used in constructing detail message
|
||||
*/
|
||||
|
@ -129,7 +129,7 @@ public class AssertionError extends Error {
|
|||
* Constructs an AssertionError with its detail message derived
|
||||
* from the specified {@code float}, which is converted to a
|
||||
* string as defined in section 15.18.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @param detailMessage value to be used in constructing detail message
|
||||
*/
|
||||
|
@ -141,7 +141,7 @@ public class AssertionError extends Error {
|
|||
* Constructs an AssertionError with its detail message derived
|
||||
* from the specified {@code double}, which is converted to a
|
||||
* string as defined in section 15.18.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @param detailMessage value to be used in constructing detail message
|
||||
*/
|
||||
|
|
|
@ -290,7 +290,7 @@ public final class Byte extends Number implements Comparable<Byte>, Constable {
|
|||
*
|
||||
* <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i>
|
||||
* are as defined in section 3.10.1 of
|
||||
* <cite>The Java™ Language Specification</cite>,
|
||||
* <cite>The Java Language Specification</cite>,
|
||||
* except that underscores are not accepted between digits.
|
||||
*
|
||||
* <p>The sequence of characters following an optional
|
||||
|
|
|
@ -413,7 +413,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
*
|
||||
* Note that this method throws errors related to loading, linking
|
||||
* or initializing as specified in Sections {@jls 12.2}, {@jls
|
||||
* 12.3}, and {@jls 12.4} of <cite>The Java™ Language
|
||||
* 12.3}, and {@jls 12.4} of <cite>The Java Language
|
||||
* Specification</cite>.
|
||||
* Note that this method does not check whether the requested class
|
||||
* is accessible to its caller.
|
||||
|
@ -422,7 +422,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
|
||||
* @param initialize if {@code true} the class will be initialized
|
||||
* (which implies linking). See Section {@jls
|
||||
* 12.4} of <cite>The Java™ Language
|
||||
* 12.4} of <cite>The Java Language
|
||||
* Specification</cite>.
|
||||
* @param loader class loader from which the class must be loaded
|
||||
* @return class object representing the desired class
|
||||
|
@ -700,7 +700,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* <p> Specifically, this method tests whether the type represented by the
|
||||
* specified {@code Class} parameter can be converted to the type
|
||||
* represented by this {@code Class} object via an identity conversion
|
||||
* or via a widening reference conversion. See <cite>The Java™ Language
|
||||
* or via a widening reference conversion. See <cite>The Java Language
|
||||
* Specification</cite>, sections {@jls 5.1.1} and {@jls 5.1.4},
|
||||
* for details.
|
||||
*
|
||||
|
@ -952,7 +952,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* @throws java.lang.reflect.GenericSignatureFormatError if the generic
|
||||
* signature of this generic declaration does not conform to
|
||||
* the format specified in section {@jvms 4.7.9} of
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>
|
||||
* <cite>The Java Virtual Machine Specification</cite>
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
|
@ -1000,7 +1000,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
*
|
||||
* @throws java.lang.reflect.GenericSignatureFormatError if the generic
|
||||
* class signature does not conform to the format specified in
|
||||
* section {@jvms 4.7.9} of <cite>The Java™ Virtual
|
||||
* section {@jvms 4.7.9} of <cite>The Java Virtual
|
||||
* Machine Specification</cite>
|
||||
* @throws TypeNotPresentException if the generic superclass
|
||||
* refers to a non-existent type declaration
|
||||
|
@ -1197,7 +1197,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* @throws java.lang.reflect.GenericSignatureFormatError
|
||||
* if the generic class signature does not conform to the
|
||||
* format specified in section {@jvms 4.7.9} of <cite>The
|
||||
* Java™ Virtual Machine Specification</cite>
|
||||
* Java Virtual Machine Specification</cite>
|
||||
* @throws TypeNotPresentException if any of the generic
|
||||
* superinterfaces refers to a non-existent type declaration
|
||||
* @throws java.lang.reflect.MalformedParameterizedTypeException
|
||||
|
@ -1269,7 +1269,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* by this specification.
|
||||
*
|
||||
* <p> The modifier encodings are defined in section {@jvms 4.1}
|
||||
* of <cite>The Java™ Virtual Machine Specification</cite>.
|
||||
* of <cite>The Java Virtual Machine Specification</cite>.
|
||||
*
|
||||
* @return the {@code int} representing the modifiers for this class
|
||||
* @see java.lang.reflect.Modifier
|
||||
|
@ -1678,7 +1678,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
|
||||
/**
|
||||
* Returns the canonical name of the underlying class as
|
||||
* defined by <cite>The Java™ Language Specification</cite>.
|
||||
* defined by <cite>The Java Language Specification</cite>.
|
||||
* Returns {@code null} if the underlying class does not have a canonical
|
||||
* name. Classes without canonical names include:
|
||||
* <ul>
|
||||
|
@ -2478,7 +2478,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* object represents an interface, a primitive type, an array class, or
|
||||
* void.
|
||||
*
|
||||
* <p> See <cite>The Java™ Language Specification</cite>,
|
||||
* <p> See <cite>The Java Language Specification</cite>,
|
||||
* section {@jls 8.2}.
|
||||
*
|
||||
* @return the array of {@code Constructor} objects representing all the
|
||||
|
|
|
@ -207,7 +207,7 @@ import sun.security.util.SecurityConstants;
|
|||
*
|
||||
* <p> Any class name provided as a {@code String} parameter to methods in
|
||||
* {@code ClassLoader} must be a binary name as defined by
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* <p> Examples of valid class names include:
|
||||
* <blockquote><pre>
|
||||
|
@ -220,7 +220,7 @@ import sun.security.util.SecurityConstants;
|
|||
* <p> Any package name provided as a {@code String} parameter to methods in
|
||||
* {@code ClassLoader} must be either the empty string (denoting an unnamed package)
|
||||
* or a fully qualified name as defined by
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @jls 6.7 Fully Qualified Names
|
||||
* @jls 13.1 The Form of a Binary
|
||||
|
@ -765,7 +765,7 @@ public abstract class ClassLoader {
|
|||
* The bytes that make up the class data. The bytes in positions
|
||||
* {@code off} through {@code off+len-1} should have the format
|
||||
* of a valid class file as defined by
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>.
|
||||
* <cite>The Java Virtual Machine Specification</cite>.
|
||||
*
|
||||
* @param off
|
||||
* The start offset in {@code b} of the class data
|
||||
|
@ -838,7 +838,7 @@ public abstract class ClassLoader {
|
|||
* The bytes that make up the class data. The bytes in positions
|
||||
* {@code off} through {@code off+len-1} should have the format
|
||||
* of a valid class file as defined by
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>.
|
||||
* <cite>The Java Virtual Machine Specification</cite>.
|
||||
*
|
||||
* @param off
|
||||
* The start offset in {@code b} of the class data
|
||||
|
@ -972,7 +972,7 @@ public abstract class ClassLoader {
|
|||
* The bytes that make up the class data. The bytes in positions
|
||||
* {@code off} through {@code off+len-1} should have the format
|
||||
* of a valid class file as defined by
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>.
|
||||
* <cite>The Java Virtual Machine Specification</cite>.
|
||||
*
|
||||
* @param off
|
||||
* The start offset in {@code b} of the class data
|
||||
|
@ -1056,7 +1056,7 @@ public abstract class ClassLoader {
|
|||
* The bytes that make up the class data. The bytes from positions
|
||||
* {@code b.position()} through {@code b.position() + b.limit() -1
|
||||
* } should have the format of a valid class file as defined by
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>.
|
||||
* <cite>The Java Virtual Machine Specification</cite>.
|
||||
*
|
||||
* @param protectionDomain
|
||||
* The {@code ProtectionDomain} of the class, or {@code null}.
|
||||
|
@ -1213,7 +1213,7 @@ public abstract class ClassLoader {
|
|||
* used by a class loader to link a class. If the class {@code c} has
|
||||
* already been linked, then this method simply returns. Otherwise, the
|
||||
* class is linked as described in the "Execution" chapter of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @param c
|
||||
* The class to link
|
||||
|
@ -2532,7 +2532,7 @@ public abstract class ClassLoader {
|
|||
* is to be set. A {@code null} value indicates the unnamed
|
||||
* package that is "current"
|
||||
* (see section 7.4.2 of
|
||||
* <cite>The Java™ Language Specification</cite>.)
|
||||
* <cite>The Java Language Specification</cite>.)
|
||||
*
|
||||
* @param enabled
|
||||
* {@code true} if classes loaded by this classloader and
|
||||
|
|
|
@ -403,7 +403,7 @@ public final class Double extends Number
|
|||
* <i>HexNumeral</i>, <i>HexDigits</i>, <i>SignedInteger</i> and
|
||||
* <i>FloatTypeSuffix</i> are as defined in the lexical structure
|
||||
* sections of
|
||||
* <cite>The Java™ Language Specification</cite>,
|
||||
* <cite>The Java Language Specification</cite>,
|
||||
* except that underscores are not accepted between digits.
|
||||
* If {@code s} does not have the form of
|
||||
* a <i>FloatValue</i>, then a {@code NumberFormatException}
|
||||
|
|
|
@ -44,7 +44,7 @@ import static java.util.Objects.requireNonNull;
|
|||
*
|
||||
* More information about enums, including descriptions of the
|
||||
* implicitly declared methods synthesized by the compiler, can be
|
||||
* found in section {@jls 8.9} of <cite>The Java™ Language
|
||||
* found in section {@jls 8.9} of <cite>The Java Language
|
||||
* Specification</cite>.
|
||||
*
|
||||
* Enumeration types are all serializable and receive special handling
|
||||
|
|
|
@ -362,7 +362,7 @@ public final class Float extends Number
|
|||
* <i>HexNumeral</i>, <i>HexDigits</i>, <i>SignedInteger</i> and
|
||||
* <i>FloatTypeSuffix</i> are as defined in the lexical structure
|
||||
* sections of
|
||||
* <cite>The Java™ Language Specification</cite>,
|
||||
* <cite>The Java Language Specification</cite>,
|
||||
* except that underscores are not accepted between digits.
|
||||
* If {@code s} does not have the form of
|
||||
* a <i>FloatValue</i>, then a {@code NumberFormatException}
|
||||
|
|
|
@ -1377,7 +1377,7 @@ public final class Integer extends Number
|
|||
*
|
||||
* <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i>
|
||||
* are as defined in section 3.10.1 of
|
||||
* <cite>The Java™ Language Specification</cite>,
|
||||
* <cite>The Java Language Specification</cite>,
|
||||
* except that underscores are not accepted between digits.
|
||||
*
|
||||
* <p>The sequence of characters following an optional
|
||||
|
|
|
@ -1229,7 +1229,7 @@ public final class Long extends Number
|
|||
*
|
||||
* <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i>
|
||||
* are as defined in section 3.10.1 of
|
||||
* <cite>The Java™ Language Specification</cite>,
|
||||
* <cite>The Java Language Specification</cite>,
|
||||
* except that underscores are not accepted between digits.
|
||||
*
|
||||
* <p>The sequence of characters following an optional
|
||||
|
|
|
@ -85,7 +85,7 @@ import sun.security.util.SecurityConstants;
|
|||
*
|
||||
* <p> The package names that are parameters or returned by methods defined in
|
||||
* this class are the fully-qualified names of the packages as defined in
|
||||
* section 6.5.3 of <cite>The Java™ Language Specification</cite>, for
|
||||
* section 6.5.3 of <cite>The Java Language Specification</cite>, for
|
||||
* example, {@code "java.lang"}. </p>
|
||||
*
|
||||
* <p> Unless otherwise specified, passing a {@code null} argument to a method
|
||||
|
@ -672,7 +672,7 @@ public final class Module implements AnnotatedElement {
|
|||
* <p> This method has no effect if the package is already exported (or
|
||||
* <em>open</em>) to the given module. </p>
|
||||
*
|
||||
* @apiNote As specified in section 5.4.3 of the <cite>The Java™
|
||||
* @apiNote As specified in section 5.4.3 of the <cite>The Java
|
||||
* Virtual Machine Specification </cite>, if an attempt to resolve a
|
||||
* symbolic reference fails because of a linkage error, then subsequent
|
||||
* attempts to resolve the reference always fail with the same error that
|
||||
|
|
|
@ -37,7 +37,7 @@ package java.lang;
|
|||
*
|
||||
* For platform classes, the conversion is often analogous to a
|
||||
* narrowing primitive conversion or a widening primitive conversion
|
||||
* as defined in <cite>The Java™ Language Specification</cite>
|
||||
* as defined in <cite>The Java Language Specification</cite>
|
||||
* for converting between primitive types. Therefore, conversions may
|
||||
* lose information about the overall magnitude of a numeric value, may
|
||||
* lose precision, and may even return a result of a different sign
|
||||
|
|
|
@ -462,7 +462,7 @@ public class Object {
|
|||
* system resources or to perform other cleanup.
|
||||
* <p>
|
||||
* The general contract of {@code finalize} is that it is invoked
|
||||
* if and when the Java™ virtual
|
||||
* if and when the Java virtual
|
||||
* machine has determined that there is no longer any
|
||||
* means by which this object can be accessed by any thread that has
|
||||
* not yet died, except as a result of an action taken by the
|
||||
|
|
|
@ -122,7 +122,7 @@ public class Package extends NamedPackage implements java.lang.reflect.Annotated
|
|||
* Return the name of this package.
|
||||
*
|
||||
* @return The fully-qualified name of this package as defined in section 6.5.3 of
|
||||
* <cite>The Java™ Language Specification</cite>,
|
||||
* <cite>The Java Language Specification</cite>,
|
||||
* for example, {@code java.lang}
|
||||
*/
|
||||
public String getName() {
|
||||
|
|
|
@ -38,10 +38,10 @@ package java.lang;
|
|||
* <p>More information about records, including descriptions of the
|
||||
* implicitly declared methods synthesized by the compiler, can be
|
||||
* found in section 8.10 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* <p>A <em>record class</em> is a shallowly immutable, transparent carrier for
|
||||
* a fixed set of values, called the <em>record components</em>. The Java™
|
||||
* a fixed set of values, called the <em>record components</em>. The Java
|
||||
* language provides concise syntax for declaring record classes, whereby the
|
||||
* record components are declared in the record header. The list of record
|
||||
* components declared in the record header form the <em>record descriptor</em>.
|
||||
|
|
|
@ -295,7 +295,7 @@ public final class Short extends Number implements Comparable<Short>, Constable
|
|||
*
|
||||
* <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i>
|
||||
* are as defined in section 3.10.1 of
|
||||
* <cite>The Java™ Language Specification</cite>,
|
||||
* <cite>The Java Language Specification</cite>,
|
||||
* except that underscores are not accepted between digits.
|
||||
*
|
||||
* <p>The sequence of characters following an optional
|
||||
|
|
|
@ -90,7 +90,7 @@ import static java.util.function.Predicate.not;
|
|||
* The Java language provides special support for the string
|
||||
* concatenation operator ( + ), and for conversion of
|
||||
* other objects to strings. For additional information on string
|
||||
* concatenation and conversion, see <i>The Java™ Language Specification</i>.
|
||||
* concatenation and conversion, see <i>The Java Language Specification</i>.
|
||||
*
|
||||
* <p> Unless otherwise noted, passing a {@code null} argument to a constructor
|
||||
* or method in this class will cause a {@link NullPointerException} to be
|
||||
|
@ -113,7 +113,7 @@ import static java.util.function.Predicate.not;
|
|||
*
|
||||
* @implNote The implementation of the string concatenation operator is left to
|
||||
* the discretion of a Java compiler, as long as the compiler ultimately conforms
|
||||
* to <i>The Java™ Language Specification</i>. For example, the {@code javac} compiler
|
||||
* to <i>The Java Language Specification</i>. For example, the {@code javac} compiler
|
||||
* may implement the operator with {@code StringBuffer}, {@code StringBuilder},
|
||||
* or {@code java.lang.invoke.StringConcatFactory} depending on the JDK version. The
|
||||
* implementation of string conversion is typically through the method {@code toString},
|
||||
|
@ -3269,7 +3269,7 @@ public final class String
|
|||
* extra arguments are ignored. The number of arguments is
|
||||
* variable and may be zero. The maximum number of arguments is
|
||||
* limited by the maximum dimension of a Java array as defined by
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>.
|
||||
* <cite>The Java Virtual Machine Specification</cite>.
|
||||
* The behaviour on a
|
||||
* {@code null} argument depends on the <a
|
||||
* href="../util/Formatter.html#syntax">conversion</a>.
|
||||
|
@ -3310,7 +3310,7 @@ public final class String
|
|||
* extra arguments are ignored. The number of arguments is
|
||||
* variable and may be zero. The maximum number of arguments is
|
||||
* limited by the maximum dimension of a Java array as defined by
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>.
|
||||
* <cite>The Java Virtual Machine Specification</cite>.
|
||||
* The behaviour on a
|
||||
* {@code null} argument depends on the
|
||||
* <a href="../util/Formatter.html#syntax">conversion</a>.
|
||||
|
@ -3534,7 +3534,7 @@ public final class String
|
|||
* <p>
|
||||
* All literal strings and string-valued constant expressions are
|
||||
* interned. String literals are defined in section 3.10.5 of the
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @return a string that has the same contents as this string, but is
|
||||
* guaranteed to be from a pool of unique strings.
|
||||
|
|
|
@ -32,7 +32,7 @@ package java.lang.annotation;
|
|||
* define an annotation type.
|
||||
*
|
||||
* More information about annotation types can be found in section 9.6 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* The {@link java.lang.reflect.AnnotatedElement} interface discusses
|
||||
* compatibility concerns when evolving an annotation type from being
|
||||
|
|
|
@ -1489,7 +1489,7 @@ public class ModuleDescriptor
|
|||
* <p> The module names, package names, and class names that are parameters
|
||||
* specified to the builder methods are the module names, package names,
|
||||
* and qualified names of classes (in named packages) as defined in the
|
||||
* <cite>The Java™ Language Specification</cite>. </p>
|
||||
* <cite>The Java Language Specification</cite>. </p>
|
||||
*
|
||||
* <p> Example usage: </p>
|
||||
* <pre>{@code ModuleDescriptor descriptor = ModuleDescriptor.newModule("stats.core")
|
||||
|
|
|
@ -419,7 +419,7 @@ public abstract class Reference<T> {
|
|||
* facilities are not possible or do not provide the desired control. This
|
||||
* method is applicable only when reclamation may have visible effects,
|
||||
* which is possible for objects with finalizers (See Section 12.6
|
||||
* of <cite>The Java™ Language Specification</cite>) that
|
||||
* of <cite>The Java Language Specification</cite>) that
|
||||
* are implemented in ways that rely on ordering control for
|
||||
* correctness.
|
||||
*
|
||||
|
|
|
@ -440,7 +440,7 @@ public class AccessibleObject implements AnnotatedElement {
|
|||
* <p> This method returns {@code true} if the {@code accessible} flag
|
||||
* is set to {@code true}, i.e. the checks for Java language access control
|
||||
* are suppressed, or if the caller can access the member as
|
||||
* specified in <cite>The Java™ Language Specification</cite>,
|
||||
* specified in <cite>The Java Language Specification</cite>,
|
||||
* with the variation noted in the class description. </p>
|
||||
*
|
||||
* @param obj an instance object of the declaring class of this reflected
|
||||
|
|
|
@ -45,7 +45,7 @@ import sun.reflect.annotation.AnnotationType;
|
|||
* element are on a <em>declaration</em>, whereas annotations on a
|
||||
* type are on a specific <em>use</em> of a type name.
|
||||
*
|
||||
* As defined by <cite>The Java™ Language Specification</cite>
|
||||
* As defined by <cite>The Java Language Specification</cite>
|
||||
* section {@jls 9.7.4}, an annotation on an element is a
|
||||
* <em>declaration annotation</em> and an annotation on a type is a
|
||||
* <em>type annotation</em>.
|
||||
|
|
|
@ -437,7 +437,7 @@ public final class Constructor<T> extends Executable {
|
|||
* <p>If the constructor's declaring class is an inner class in a
|
||||
* non-static context, the first argument to the constructor needs
|
||||
* to be the enclosing instance; see section 15.9.3 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* <p>If the required access and argument checks succeed and the
|
||||
* instantiation will proceed, the constructor's declaring class
|
||||
|
|
|
@ -217,7 +217,7 @@ public abstract class Executable extends AccessibleObject
|
|||
* @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>
|
||||
* <cite>The Java Virtual Machine Specification</cite>
|
||||
*/
|
||||
public abstract TypeVariable<?>[] getTypeParameters();
|
||||
|
||||
|
@ -276,7 +276,7 @@ public abstract class Executable extends AccessibleObject
|
|||
* @throws GenericSignatureFormatError
|
||||
* if the generic method signature does not conform to the format
|
||||
* specified in
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>
|
||||
* <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
|
||||
|
@ -474,7 +474,7 @@ public abstract class Executable extends AccessibleObject
|
|||
* @throws GenericSignatureFormatError
|
||||
* if the generic method signature does not conform to the format
|
||||
* specified in
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>
|
||||
* <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
|
||||
|
@ -515,7 +515,7 @@ public abstract class Executable extends AccessibleObject
|
|||
*
|
||||
* @return true if and only if this executable is a synthetic
|
||||
* construct as defined by
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
* @jls 13.1 The Form of a Binary
|
||||
*/
|
||||
public boolean isSynthetic() {
|
||||
|
|
|
@ -255,7 +255,7 @@ class Field extends AccessibleObject implements Member {
|
|||
* the field represented by this {@code Field} object
|
||||
* @throws GenericSignatureFormatError if the generic field
|
||||
* signature does not conform to the format specified in
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>
|
||||
* <cite>The Java Virtual Machine Specification</cite>
|
||||
* @throws TypeNotPresentException if the generic type
|
||||
* signature of the underlying field refers to a non-existent
|
||||
* type declaration
|
||||
|
|
|
@ -43,7 +43,7 @@ public interface GenericDeclaration extends AnnotatedElement {
|
|||
* @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>
|
||||
* <cite>The Java Virtual Machine Specification</cite>
|
||||
*/
|
||||
public TypeVariable<?>[] getTypeParameters();
|
||||
}
|
||||
|
|
|
@ -277,7 +277,7 @@ public final class Method extends Executable {
|
|||
* @throws GenericSignatureFormatError
|
||||
* if the generic method signature does not conform to the format
|
||||
* specified in
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>
|
||||
* <cite>The Java Virtual Machine Specification</cite>
|
||||
* @throws TypeNotPresentException if the underlying method's
|
||||
* return type refers to a non-existent type declaration
|
||||
* @throws MalformedParameterizedTypeException if the
|
||||
|
|
|
@ -33,7 +33,7 @@ import java.util.StringJoiner;
|
|||
* modifiers are represented as integers with distinct bit positions
|
||||
* representing different modifiers. The values for the constants
|
||||
* representing the modifiers are taken from the tables in sections 4.1, 4.4, 4.5, and 4.7 of
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>.
|
||||
* <cite>The Java Virtual Machine Specification</cite>.
|
||||
*
|
||||
* @see Class#getModifiers()
|
||||
* @see Member#getModifiers()
|
||||
|
@ -201,7 +201,7 @@ public class Modifier {
|
|||
* </pre></blockquote>
|
||||
* The modifier names are returned in an order consistent with the
|
||||
* suggested modifier orderings given in sections 8.1.1, 8.3.1, 8.4.3, 8.8.3, and 9.1.1 of
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
* The full modifier ordering used by this method is:
|
||||
* <blockquote> {@code
|
||||
* public protected private abstract static final transient
|
||||
|
@ -247,7 +247,7 @@ public class Modifier {
|
|||
|
||||
/*
|
||||
* Access modifier flag constants from tables 4.1, 4.4, 4.5, and 4.7 of
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>
|
||||
* <cite>The Java Virtual Machine Specification</cite>
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -112,7 +112,7 @@ public final class Parameter implements AnnotatedElement {
|
|||
/**
|
||||
* Returns a string describing this parameter. The format is the
|
||||
* modifiers for the parameter, if any, in canonical order as
|
||||
* recommended by <cite>The Java™ Language
|
||||
* recommended by <cite>The Java Language
|
||||
* Specification</cite>, followed by the fully-qualified type of
|
||||
* the parameter (excluding the last [] if the parameter is
|
||||
* variable arity), followed by "..." if the parameter is variable
|
||||
|
@ -247,7 +247,7 @@ public final class Parameter implements AnnotatedElement {
|
|||
* in source code; returns {@code false} otherwise.
|
||||
*
|
||||
* @return true if and only if this parameter is implicitly
|
||||
* declared as defined by <cite>The Java™ Language
|
||||
* declared as defined by <cite>The Java Language
|
||||
* Specification</cite>.
|
||||
*/
|
||||
public boolean isImplicit() {
|
||||
|
@ -262,7 +262,7 @@ public final class Parameter implements AnnotatedElement {
|
|||
* @jls 13.1 The Form of a Binary
|
||||
* @return true if and only if this parameter is a synthetic
|
||||
* construct as defined by
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*/
|
||||
public boolean isSynthetic() {
|
||||
return Modifier.isSynthetic(getModifiers());
|
||||
|
|
|
@ -120,7 +120,7 @@ public final class RecordComponent implements AnnotatedElement {
|
|||
* this record component
|
||||
* @throws GenericSignatureFormatError if the generic record component
|
||||
* signature does not conform to the format specified in
|
||||
* <cite>The Java™ Virtual Machine Specification</cite>
|
||||
* <cite>The Java Virtual Machine Specification</cite>
|
||||
* @throws TypeNotPresentException if the generic type
|
||||
* signature of the underlying record component refers to a non-existent
|
||||
* type declaration
|
||||
|
|
|
@ -48,7 +48,7 @@ import java.util.Objects;
|
|||
* Bootstrap methods for state-driven implementations of core methods,
|
||||
* including {@link Object#equals(Object)}, {@link Object#hashCode()}, and
|
||||
* {@link Object#toString()}. These methods may be used, for example, by
|
||||
* Java™ compiler implementations to implement the bodies of {@link Object}
|
||||
* Java compiler implementations to implement the bodies of {@link Object}
|
||||
* methods for record classes.
|
||||
*
|
||||
* @since 14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue