--- old/src/java.management/share/classes/javax/management/MBeanOperationInfo.java 2015-08-05 20:44:36.282427033 +0400 +++ new/src/java.management/share/classes/javax/management/MBeanOperationInfo.java 2015-08-05 20:44:36.070427042 +0400 @@ -83,10 +83,7 @@ /** * @serial The impact of the method, one of - * INFO, - * ACTION, - * ACTION_INFO, - * UNKNOWN + * {@code INFO, ACTION, ACTION_INFO, UNKNOWN}. */ private final int impact; @@ -95,12 +92,12 @@ /** - * Constructs an MBeanOperationInfo object. The + * Constructs an {@code MBeanOperationInfo} object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * - * @param method The java.lang.reflect.Method object + * @param method The {@code java.lang.reflect.Method} object * describing the MBean operation. * @param description A human readable description of the operation. */ @@ -114,11 +111,11 @@ } /** - * Constructs an MBeanOperationInfo object. + * Constructs an {@code MBeanOperationInfo} object. * * @param name The name of the method. * @param description A human readable description of the operation. - * @param signature MBeanParameterInfo objects + * @param signature {@code MBeanParameterInfo} objects * describing the parameters(arguments) of the method. This may be * null with the same effect as a zero-length array. * @param type The type of the method's return value. @@ -135,11 +132,11 @@ } /** - * Constructs an MBeanOperationInfo object. + * Constructs an {@code MBeanOperationInfo} object. * * @param name The name of the method. * @param description A human readable description of the operation. - * @param signature MBeanParameterInfo objects + * @param signature {@code MBeanParameterInfo} objects * describing the parameters(arguments) of the method. This may be * null with the same effect as a zero-length array. * @param type The type of the method's return value. @@ -174,9 +171,9 @@ /** *

Returns a shallow clone of this instance. - * The clone is obtained by simply calling super.clone(), + * The clone is obtained by simply calling {@code super.clone()}, * thus calling the default native shallow cloning mechanism - * implemented by Object.clone(). + * implemented by {@code Object.clone()}. * No deeper cloning of any internal field is made.

* *

Since this class is immutable, cloning is chiefly of interest @@ -203,16 +200,16 @@ /** *

Returns the list of parameters for this operation. Each - * parameter is described by an MBeanParameterInfo + * parameter is described by an {@code MBeanParameterInfo} * object.

* *

The returned array is a shallow copy of the internal array, * which means that it is a copy of the internal array of - * references to the MBeanParameterInfo objects but - * that each referenced MBeanParameterInfo object is + * references to the {@code MBeanParameterInfo} objects but + * that each referenced {@code MBeanParameterInfo} object is * not copied.

* - * @return An array of MBeanParameterInfo objects. + * @return An array of {@code MBeanParameterInfo} objects. */ public MBeanParameterInfo[] getSignature() { // If MBeanOperationInfo was created in our implementation, @@ -247,7 +244,7 @@ /** * Returns the impact of the method, one of - * INFO, ACTION, ACTION_INFO, UNKNOWN. + * {@code INFO, ACTION, ACTION_INFO, UNKNOWN}. * * @return the impact code. */ @@ -280,7 +277,7 @@ * * @param o the object to compare to. * - * @return true if and only if o is an MBeanOperationInfo such + * @return true if and only if {@code o} is an MBeanOperationInfo such * that its {@link #getName()}, {@link #getReturnType()}, {@link * #getDescription()}, {@link #getImpact()}, {@link #getDescriptor()} * and {@link #getSignature()} values are equal (not necessarily identical)