/** * @since 6.0 */ public void addParameterAnnotationsAsAttribute(final ConstantPoolGen cp) { if (!hasParameterAnnotations) { return; } final Attribute[] attrs = AnnotationEntryGen.getParameterAnnotationAttributes(cp,param_annotations); if (attrs != null) { for (final Attribute attr : attrs) { addAttribute(attr); } } }
/** * @since 6.0 */ public void addAnnotationsAsAttribute(final ConstantPoolGen cp) { final Attribute[] attrs = AnnotationEntryGen.getAnnotationAttributes(cp, super.getAnnotationEntries()); for (final Attribute attr : attrs) { addAttribute(attr); } }
cp.getConstantPool()); addAttribute(code); addAttribute(et = getExceptionTable(cp)); // Add `Exceptions' if there are "throws" clauses
mg.addAttribute(new Synthetic(cp.addUtf8("Synthetic"), 0, null, cp .getConstantPool()));
2 + attrs_len, // attributes max_stack, max_locals, byte_code, c_exc, code_attrs, _cp.getConstantPool()); addAttribute(code); ExceptionTable et = null; if (throws_vec.size() > 0) { addAttribute(et = getExceptionTable(_cp));
mg.addAttribute(new Synthetic(cp.addUtf8("Synthetic"), 0, null, cp .getConstantPool()));
addException(names[j]); } else addAttribute(a);
mg.addAttribute(new Synthetic(cp.addUtf8("Synthetic"), 0, null, cp .getConstantPool()));