diff options
Diffstat (limited to 'src/main/javassist/bytecode/AttributeInfo.java')
-rw-r--r-- | src/main/javassist/bytecode/AttributeInfo.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/javassist/bytecode/AttributeInfo.java b/src/main/javassist/bytecode/AttributeInfo.java index 4bfd0dbb..be6e2a21 100644 --- a/src/main/javassist/bytecode/AttributeInfo.java +++ b/src/main/javassist/bytecode/AttributeInfo.java @@ -108,6 +108,10 @@ public class AttributeInfo { /* Note that the names of Annotations attributes begin with 'R'. */ if (nameStr.equals(MethodParametersAttribute.tag)) return new MethodParametersAttribute(cp, name, in); + else if (nameStr.equals(NestHostAttribute.tag)) + return new NestHostAttribute(cp, name, in); + else if (nameStr.equals(NestMembersAttribute.tag)) + return new NestMembersAttribute(cp, name, in); else if (nameStr.equals(AnnotationsAttribute.visibleTag) || nameStr.equals(AnnotationsAttribute.invisibleTag)) // RuntimeVisibleAnnotations or RuntimeInvisibleAnnotations |