diff -r b2064a216117 -r 30c36e23f154 src/share/classes/com/sun/tools/javac/comp/Lower.java --- a/src/share/classes/com/sun/tools/javac/comp/Lower.java Sat Sep 08 22:54:21 2012 -0700 +++ b/src/share/classes/com/sun/tools/javac/comp/Lower.java Thu Sep 13 14:29:36 2012 -0700 @@ -1449,7 +1449,7 @@ return access(v, make.at(pos).Ident(v), null, false); } - /** Construct a tree simulating the expression . + /** Construct a tree simulating the expression {@code C.this}. * @param pos The source code position to be used for the tree. * @param c The qualifier class. */ @@ -1623,7 +1623,7 @@ } /** Construct a tree that represents the outer instance - * . Never pick the current `this'. + * {@code C.this}. Never pick the current `this'. * @param pos The source code position to be used for the tree. * @param c The qualifier class. */ @@ -1661,7 +1661,7 @@ } /** Construct a tree that represents the closest outer instance - * such that the given symbol is a member of C. + * {@code C.this} such that the given symbol is a member of C. * @param pos The source code position to be used for the tree. * @param sym The accessed symbol. * @param preciseMatch should we accept a type that is a subtype of @@ -1713,7 +1713,7 @@ return tree; } - /** Return tree simulating the assignment , where + /** Return tree simulating the assignment {@code this.name = name}, where * name is the name of a free variable. */ JCStatement initField(int pos, Name name) { @@ -1730,7 +1730,7 @@ make.Ident(rhs)).setType(lhs.erasure(types))); } - /** Return tree simulating the assignment . + /** Return tree simulating the assignment {@code this.this$n = this$n}. */ JCStatement initOuterThis(int pos) { VarSymbol rhs = outerThisStack.head; @@ -3194,7 +3194,7 @@ * * (where arrayexpr is of an array type) gets translated to * - *
+         * 
{@code
          *     for ( { arraytype #arr = arrayexpr;
          *             int #len = array.length;
          *             int #i = 0; };
@@ -3202,7 +3202,7 @@
          *         T v = arr$[#i];
          *         stmt;
          *     }
-         * 
+ * }
* * where #arr, #len, and #i are freshly named synthetic local variables. */ @@ -3272,14 +3272,14 @@ * for ( T v : coll ) stmt ; * * - * (where coll implements Iterable) gets translated to + * (where coll implements {@code Iterable}) gets translated to * - *
+         * 
{@code
          *     for ( Iterator #i = coll.iterator(); #i.hasNext(); ) {
          *         T v = (T) #i.next();
          *         stmt;
          *     }
-         * 
+ * }
* * where #i is a freshly named synthetic local variable. */