jdk/src/share/classes/java/lang/Class.java
changeset 20839 a3fd5c769680
parent 20831 96cf18811858
parent 19031 6c9afe6dad33
child 20849 1deb5d315831
equal deleted inserted replaced
20838:d292e6a0481f 20839:a3fd5c769680
   155      * Returns a string describing this {@code Class}, including
   155      * Returns a string describing this {@code Class}, including
   156      * information about modifiers and type parameters.
   156      * information about modifiers and type parameters.
   157      *
   157      *
   158      * The string is formatted as a list of type modifiers, if any,
   158      * The string is formatted as a list of type modifiers, if any,
   159      * followed by the kind of type (empty string for primitive types
   159      * followed by the kind of type (empty string for primitive types
   160      * and {@code class}, {@code enum}, {@code interface}, or {@code
   160      * and {@code class}, {@code enum}, {@code interface}, or
   161      * @interface}, as appropriate), followed by the type's name,
   161      * <code>&#64;</code>{@code interface}, as appropriate), followed
   162      * followed by an angle-bracketed comma-separated list of the
   162      * by the type's name, followed by an angle-bracketed
   163      * type's type parameters, if any.
   163      * comma-separated list of the type's type parameters, if any.
   164      *
   164      *
   165      * A space is used to separate modifiers from one another and to
   165      * A space is used to separate modifiers from one another and to
   166      * separate any modifiers from the kind of type. The modifiers
   166      * separate any modifiers from the kind of type. The modifiers
   167      * occur in canonical order. If there are no type parameters, the
   167      * occur in canonical order. If there are no type parameters, the
   168      * type parameter list is elided.
   168      * type parameter list is elided.