newAttributes.add(visibleAnnotations);
}
+ AttributeInfo signature
+ = getAttribute(SignatureAttribute.tag);
+ if (signature != null) {
+ signature = signature.copy(cp, null);
+ newAttributes.add(signature);
+ }
+
ArrayList list = methods;
int n = list.size();
for (int i = 0; i < n; ++i) {
newAttributes.add(visibleAnnotations);
}
+ AttributeInfo signature
+ = getAttribute(SignatureAttribute.tag);
+ if (signature != null) {
+ signature = signature.copy(cp, null);
+ newAttributes.add(signature);
+ }
+
int index = getConstantValue();
if (index != 0) {
index = constPool.copy(index, cp, null);
if (ea != null)
newAttributes.add(ea);
+ AttributeInfo signature
+ = getAttribute(SignatureAttribute.tag);
+ if (signature != null) {
+ signature = signature.copy(cp, null);
+ newAttributes.add(signature);
+ }
+
attribute = newAttributes;
name = cp.addUtf8Info(getName());
descriptor = cp.addUtf8Info(getDescriptor());