@@ -104,8 +104,8 @@ final class AnnotationWriter extends AnnotationVisitor {
104
104
* the visited content must be stored. This ByteVector must already contain all the fields of
105
105
* the structure except the last one (the element_value_pairs array).
106
106
* @param previousAnnotation the previously visited annotation of the
107
- * Runtime[In]Visible[Type]Annotations attribute to which this annotation belongs, or null in
108
- * other cases (e.g. nested or array annotations).
107
+ * Runtime[In]Visible[Type]Annotations attribute to which this annotation belongs, or
108
+ * {@literal null} in other cases (e.g. nested or array annotations).
109
109
*/
110
110
AnnotationWriter (
111
111
final SymbolTable symbolTable ,
@@ -130,8 +130,9 @@ final class AnnotationWriter extends AnnotationVisitor {
130
130
* @param symbolTable where the constants used in this AnnotationWriter must be stored.
131
131
* @param descriptor the class descriptor of the annotation class.
132
132
* @param previousAnnotation the previously visited annotation of the
133
- * Runtime[In]Visible[Type]Annotations attribute to which this annotation belongs, or null in
134
- * other cases (e.g. nested or array annotations).
133
+ * Runtime[In]Visible[Type]Annotations attribute to which this annotation belongs, or
134
+ * {@literal null} in other cases (e.g. nested or array annotations).
135
+ * @return a new {@link AnnotationWriter} for the given annotation descriptor.
135
136
*/
136
137
static AnnotationWriter create (
137
138
final SymbolTable symbolTable ,
@@ -159,8 +160,9 @@ static AnnotationWriter create(
159
160
* 'typeRef' as a whole.
160
161
* @param descriptor the class descriptor of the annotation class.
161
162
* @param previousAnnotation the previously visited annotation of the
162
- * Runtime[In]Visible[Type]Annotations attribute to which this annotation belongs, or null in
163
- * other cases (e.g. nested or array annotations).
163
+ * Runtime[In]Visible[Type]Annotations attribute to which this annotation belongs, or
164
+ * {@literal null} in other cases (e.g. nested or array annotations).
165
+ * @return a new {@link AnnotationWriter} for the given type annotation reference and descriptor.
164
166
*/
165
167
static AnnotationWriter create (
166
168
final SymbolTable symbolTable ,
@@ -322,7 +324,7 @@ public void visitEnd() {
322
324
* and all its <i>predecessors</i> (see {@link #previousAnnotation}. Also adds the attribute name
323
325
* to the constant pool of the class (if not null).
324
326
*
325
- * @param attributeName one of "Runtime[In]Visible[Type]Annotations", or null.
327
+ * @param attributeName one of "Runtime[In]Visible[Type]Annotations", or {@literal null} .
326
328
* @return the size in bytes of a Runtime[In]Visible[Type]Annotations attribute containing this
327
329
* annotation and all its predecessors. This includes the size of the attribute_name_index and
328
330
* attribute_length fields.
0 commit comments