Lines Matching refs:attribute
39 ArrayList attribute; // may be null
42 * If this value is true, Javassist maintains a <code>StackMap</code> attribute
61 attribute = null;
132 attribute = AttributeInfo.copyAll(attribute, cp);
183 attribute = newAttributes;
276 * is shared with this object. If you add a new attribute to the list,
277 * the attribute is also added to the method represented by this
278 * object. If you remove an attribute from the list, it is also removed
285 if (attribute == null)
286 attribute = new ArrayList();
288 return attribute;
292 * Returns the attribute with the specified name. If it is not found, this
295 * @param name attribute name
300 return AttributeInfo.lookup(attribute, name);
304 * Appends an attribute. If there is already an attribute with the same
310 if (attribute == null)
311 attribute = new ArrayList();
313 AttributeInfo.remove(attribute, info.getName());
314 attribute.add(info);
318 * Returns an Exceptions attribute.
320 * @return an Exceptions attribute or null if it is not specified.
323 AttributeInfo info = AttributeInfo.lookup(attribute,
329 * Returns a Code attribute.
331 * @return a Code attribute or null if it is not specified.
334 AttributeInfo info = AttributeInfo.lookup(attribute, CodeAttribute.tag);
339 * Removes an Exception attribute.
342 AttributeInfo.remove(attribute, ExceptionsAttribute.tag);
346 * Adds an Exception attribute.
349 * The added attribute must share the same constant pool table as this
354 if (attribute == null)
355 attribute = new ArrayList();
357 attribute.add(cattr);
361 * Removes a Code attribute.
364 AttributeInfo.remove(attribute, CodeAttribute.tag);
368 * Adds a Code attribute.
371 * The added attribute must share the same constant pool table as this
376 if (attribute == null)
377 attribute = new ArrayList();
379 attribute.add(cattr);
407 * include a code attribute, nothing happens.
424 * include a code attribute, nothing happens.
510 attribute = new ArrayList();
513 attribute.add(eattr.copy(destCp, classnames));
517 attribute.add(cattr.copy(destCp, classnames));
525 attribute = new ArrayList();
527 attribute.add(AttributeInfo.read(constPool, in));
535 if (attribute == null)
538 out.writeShort(attribute.size());
539 AttributeInfo.writeAll(attribute, out);