--- old/src/jdk.jdi/share/classes/com/sun/jdi/Field.java 2015-04-24 19:20:47.003879547 +0400
+++ new/src/jdk.jdi/share/classes/com/sun/jdi/Field.java 2015-04-24 19:20:46.771879547 +0400
@@ -65,22 +65,22 @@
* short s;
* Date d;
* byte[] ba;
- * And the JDI client defines these Field
objects:
+ * And the JDI client defines these {@code Field} objects:
*
* Field sField = targetClass.fieldByName("s"); * Field dField = targetClass.fieldByName("d"); * Field baField = targetClass.fieldByName("ba");- * to mirror the corresponding fields, then
sField.type()
- * is a {@link ShortType}, dField.type()
is the
- * {@link ReferenceType} for java.util.Date
and
- * ((ArrayType)(baField.type())).componentType()
is a
+ * to mirror the corresponding fields, then {@code sField.type()}
+ * is a {@link ShortType}, {@code dField.type()} is the
+ * {@link ReferenceType} for {@code java.util.Date} and
+ * {@code ((ArrayType)(baField.type())).componentType()} is a
* {@link ByteType}.
*
* Note: if the type of this field is a reference type (class,
* interface, or array) and it has not been created or loaded
* by the declaring type's class loader - that is,
- * {@link TypeComponent#declaringType declaringType()
}
- * .classLoader()
,
+ * {@link TypeComponent#declaringType declaringType()}
+ * {@code .classLoader()},
* then ClassNotLoadedException will be thrown.
* Also, a reference type may have been loaded but not yet prepared,
* in which case the type will be returned
@@ -100,28 +100,28 @@
/**
* Determine if this is a transient field.
*
- * @return true
if this field is transient; false otherwise.
+ * @return {@code true} if this field is transient; {@code false} otherwise.
*/
boolean isTransient();
/**
* Determine if this is a volatile field.
*
- * @return true
if this field is volatile; false otherwise.
+ * @return {@code true} if this field is volatile; {@code false} otherwise.
*/
boolean isVolatile();
/**
* Determine if this is a field that represents an enum constant.
- * @return true
if this field represents an enum constant;
- * false otherwise.
+ * @return {@code true} if this field represents an enum constant;
+ * {@code false} otherwise.
*/
boolean isEnumConstant();
/**
* Compares the specified Object with this field for equality.
*
- * @return true if the Object is a Field and if both
+ * @return {@code true} if the Object is a Field and if both
* mirror the same field (declared in the same class or interface, in
* the same VM).
*/
@@ -130,7 +130,7 @@
/**
* Returns the hash code value for this Field.
*
- * @return the integer hash code
+ * @return the integer hash code.
*/
int hashCode();
}