2828package jersey .repackaged .org .objectweb .asm ;
2929
3030/**
31- * A non standard class, field, method or code attribute, as defined in the Java Virtual Machine
31+ * A non standard class, field, method or Code attribute, as defined in the Java Virtual Machine
3232 * Specification (JVMS).
3333 *
3434 * @see <a href= "https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7">JVMS
@@ -52,7 +52,7 @@ public class Attribute {
5252
5353 /**
5454 * The next attribute in this attribute list (Attribute instances can be linked via this field to
55- * store a list of class, field, method or code attributes). May be {@literal null}.
55+ * store a list of class, field, method or Code attributes). May be {@literal null}.
5656 */
5757 Attribute nextAttribute ;
5858
@@ -80,9 +80,9 @@ public boolean isUnknown() {
8080 }
8181
8282 /**
83- * Returns {@literal true} if this type of attribute is a code attribute.
83+ * Returns {@literal true} if this type of attribute is a Code attribute.
8484 *
85- * @return {@literal true} if this type of attribute is a code attribute.
85+ * @return {@literal true} if this type of attribute is a Code attribute.
8686 */
8787 public boolean isCodeAttribute () {
8888 return false ;
@@ -92,7 +92,7 @@ public boolean isCodeAttribute() {
9292 * Returns the labels corresponding to this attribute.
9393 *
9494 * @return the labels corresponding to this attribute, or {@literal null} if this attribute is not
95- * a code attribute that contains labels.
95+ * a Code attribute that contains labels.
9696 */
9797 protected Label [] getLabels () {
9898 return new Label [0 ];
@@ -111,11 +111,11 @@ protected Label[] getLabels() {
111111 * @param charBuffer the buffer to be used to call the ClassReader methods requiring a
112112 * 'charBuffer' parameter.
113113 * @param codeAttributeOffset index of the first byte of content of the enclosing Code attribute
114- * in {@link ClassReader}, or -1 if the attribute to be read is not a code attribute. The 6
114+ * in {@link ClassReader}, or -1 if the attribute to be read is not a Code attribute. The 6
115115 * attribute header bytes (attribute_name_index and attribute_length) are not taken into
116116 * account here.
117117 * @param labels the labels of the method's code, or {@literal null} if the attribute to be read
118- * is not a code attribute.
118+ * is not a Code attribute.
119119 * @return a <i>new</i> {@link Attribute} object corresponding to the specified bytes.
120120 */
121121 protected Attribute read (
@@ -138,16 +138,16 @@ protected Attribute read(
138138 *
139139 * @param classWriter the class to which this attribute must be added. This parameter can be used
140140 * to add the items that corresponds to this attribute to the constant pool of this class.
141- * @param code the bytecode of the method corresponding to this code attribute, or {@literal null}
142- * if this attribute is not a code attribute. Corresponds to the 'code' field of the Code
141+ * @param code the bytecode of the method corresponding to this Code attribute, or {@literal null}
142+ * if this attribute is not a Code attribute. Corresponds to the 'code' field of the Code
143143 * attribute.
144144 * @param codeLength the length of the bytecode of the method corresponding to this code
145- * attribute, or 0 if this attribute is not a code attribute. Corresponds to the 'code_length'
145+ * attribute, or 0 if this attribute is not a Code attribute. Corresponds to the 'code_length'
146146 * field of the Code attribute.
147- * @param maxStack the maximum stack size of the method corresponding to this code attribute, or
148- * -1 if this attribute is not a code attribute.
147+ * @param maxStack the maximum stack size of the method corresponding to this Code attribute, or
148+ * -1 if this attribute is not a Code attribute.
149149 * @param maxLocals the maximum number of local variables of the method corresponding to this code
150- * attribute, or -1 if this attribute is not a code attribute.
150+ * attribute, or -1 if this attribute is not a Code attribute.
151151 * @return the byte array form of this attribute.
152152 */
153153 protected ByteVector write (
@@ -197,16 +197,16 @@ final int computeAttributesSize(final SymbolTable symbolTable) {
197197 * attribute_length) per attribute. Also adds the attribute type names to the constant pool.
198198 *
199199 * @param symbolTable where the constants used in the attributes must be stored.
200- * @param code the bytecode of the method corresponding to these code attributes, or {@literal
201- * null} if they are not code attributes. Corresponds to the 'code' field of the Code
200+ * @param code the bytecode of the method corresponding to these Code attributes, or {@literal
201+ * null} if they are not Code attributes. Corresponds to the 'code' field of the Code
202202 * attribute.
203203 * @param codeLength the length of the bytecode of the method corresponding to these code
204- * attributes, or 0 if they are not code attributes. Corresponds to the 'code_length' field of
204+ * attributes, or 0 if they are not Code attributes. Corresponds to the 'code_length' field of
205205 * the Code attribute.
206- * @param maxStack the maximum stack size of the method corresponding to these code attributes, or
207- * -1 if they are not code attributes.
206+ * @param maxStack the maximum stack size of the method corresponding to these Code attributes, or
207+ * -1 if they are not Code attributes.
208208 * @param maxLocals the maximum number of local variables of the method corresponding to these
209- * code attributes, or -1 if they are not code attribute.
209+ * Code attributes, or -1 if they are not Code attribute.
210210 * @return the size of all the attributes in this attribute list. This size includes the size of
211211 * the attribute headers.
212212 */
@@ -285,16 +285,16 @@ final void putAttributes(final SymbolTable symbolTable, final ByteVector output)
285285 * attribute.
286286 *
287287 * @param symbolTable where the constants used in the attributes must be stored.
288- * @param code the bytecode of the method corresponding to these code attributes, or {@literal
289- * null} if they are not code attributes. Corresponds to the 'code' field of the Code
288+ * @param code the bytecode of the method corresponding to these Code attributes, or {@literal
289+ * null} if they are not Code attributes. Corresponds to the 'code' field of the Code
290290 * attribute.
291291 * @param codeLength the length of the bytecode of the method corresponding to these code
292- * attributes, or 0 if they are not code attributes. Corresponds to the 'code_length' field of
292+ * attributes, or 0 if they are not Code attributes. Corresponds to the 'code_length' field of
293293 * the Code attribute.
294- * @param maxStack the maximum stack size of the method corresponding to these code attributes, or
295- * -1 if they are not code attributes.
294+ * @param maxStack the maximum stack size of the method corresponding to these Code attributes, or
295+ * -1 if they are not Code attributes.
296296 * @param maxLocals the maximum number of local variables of the method corresponding to these
297- * code attributes, or -1 if they are not code attribute.
297+ * Code attributes, or -1 if they are not Code attribute.
298298 * @param output where the attributes must be written.
299299 */
300300 final void putAttributes (
0 commit comments