--- old/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/JClass.java 2015-09-19 13:16:21.101020695 +0300 +++ new/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/JClass.java 2015-09-19 13:16:20.957019981 +0300 @@ -51,7 +51,7 @@ * @return * name of this class, without any qualification. * For example, this method returns "String" for - * java.lang.String. + * {@code java.lang.String}. */ abstract public String name(); @@ -62,7 +62,7 @@ abstract public JPackage _package(); /** - * Returns the class in which this class is nested, or null if + * Returns the class in which this class is nested, or {@code null} if * this is a top-level class. */ public JClass outer() { @@ -102,7 +102,7 @@ * *

* For example, if this {@link JClass} represents - * Set<T>, this method returns an array + * {@code Set}, this method returns an array * that contains single {@link JTypeVar} for 'T'. */ public JTypeVar[] typeParams() { @@ -134,7 +134,7 @@ /** * @deprecated calling this method from {@link JClass} * would be meaningless, since it's always guaranteed to - * return this. + * return {@code this}. */ public JClass boxify() { return this; } @@ -184,17 +184,17 @@ * *

* For example, given the following - *


+     * <pre>{@code
      * interface Foo<T> extends List<List<T>> {}
      * interface Bar extends Foo<String> {}
-     * 
+ * } * This method works like this: - *

+     * <pre>{@code
      * getBaseClass( Bar, List ) = List<List<String>
      * getBaseClass( Bar, Foo  ) = Foo<String>
      * getBaseClass( Foo<? extends Number>, Collection ) = Collection<List<? extends Number>>
      * getBaseClass( ArrayList<? extends BigInteger>, List ) = List<? extends BigInteger>
-     * 
+ * } * * @param baseType * The class whose parameterization we are interested in. @@ -241,7 +241,7 @@ * a type argument. * *

- * .narrow(X) builds Set<X> from Set. + * {@code .narrow(X)} builds {@code Set} from {@code Set}. */ public JClass narrow( Class clazz ) { return narrow(owner().ref(clazz)); @@ -259,7 +259,7 @@ * a type argument. * *

- * .narrow(X) builds Set<X> from Set. + * {@code .narrow(X)} builds {@code Set} from {@code Set}. */ public JClass narrow( JClass clazz ) { return new JNarrowedClass(this,clazz); @@ -307,7 +307,7 @@ * For example, when this class is Map<String,Map<V>>, * (where V then doing * substituteParams( V, Integer ) returns a {@link JClass} - * for Map<String,Map<Integer>>. + * for {@code Map>}. * *

* This method needs to work recursively.