< prev index next >

src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java

Print this page

        

@@ -257,11 +257,11 @@
 
     /**
      * Tell if the class is inner.
      * This predicate also returns true for top-level nested types.
      * To test for a true inner class as seen by the programmer,
-     * use <tt>!isTopLevel()</tt>.
+     * use {@code !isTopLevel()}.
      */
     public final boolean isInnerClass() {
         return outerClass != null;
     }
 

@@ -909,11 +909,11 @@
         return (isDeprecated()
                 || (outerClass != null && outerClass.reportDeprecated(env)));
     }
 
     /**
-     * Note that this class is being used somehow by <tt>ref</tt>.
+     * Note that this class is being used somehow by {@code ref}.
      * Report deprecation errors, etc.
      */
     public void noteUsedBy(ClassDefinition ref, long where, Environment env) {
         // (Have this deal with canAccess() checks, too?)
         if (reportDeprecated(env)) {
< prev index next >