示例#1
0
  /** @return deep copy of this attribute */
  public Attribute copy(ConstantPool constant_pool) {
    Synthetic c = (Synthetic) clone();

    if (bytes != null) c.bytes = bytes.clone();

    c.constant_pool = constant_pool;
    return c;
  }
示例#2
0
 /**
  * Initialize from another object. Note that both objects use the same references (shallow copy).
  * Use copy() for a physical copy.
  *
  * @param c
  */
 public Synthetic(Synthetic c) {
   this(c.getNameIndex(), c.getLength(), c.getBytes(), c.getConstantPool());
 }