< prev index next >

src/java.xml.ws/share/classes/com/sun/xml/internal/ws/spi/db/BindingHelper.java

Print this page

        

@@ -67,11 +67,11 @@
      * <p>
      * In JAXB, a collision with a Java reserved word (such as "return") never happens.
      * Accordingly, this method may return an identifier that collides with reserved words.
      *
      * <p>
-     * Use <tt>JJavaName.isJavaIdentifier(String)</tt> to check for such collision.
+     * Use {@code JJavaName.isJavaIdentifier(String)} to check for such collision.
      *
      * @return
      *      Typically, this method returns "nameLikeThis".
      */
     public static @NotNull String mangleNameToVariableName(@NotNull String localName) {

@@ -109,21 +109,21 @@
     /**
      * Gets the parameterization of the given base type.
      *
      * <p>
      * For example, given the following
-     * <pre><xmp>
+     * <pre>{@code
      * interface Foo<T> extends List<List<T>> {}
      * interface Bar extends Foo<String> {}
-     * </xmp></pre>
+     * }</pre>
      * This method works like this:
-     * <pre><xmp>
+     * <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>
-     * </xmp></pre>
+     * }</pre>
      *
      * @param type
      *      The type that derives from {@code baseType}
      * @param baseType
      *      The class whose parameterization we are interested in.
< prev index next >