Class NewAttribute.ErrorAttribute
- java.lang.Object
-
- org.objectweb.asm.Attribute
-
- org.apache.commons.compress.harmony.pack200.NewAttribute
-
- org.apache.commons.compress.harmony.pack200.NewAttribute.ErrorAttribute
-
- Enclosing class:
- NewAttribute
public static class NewAttribute.ErrorAttribute extends NewAttribute
ErrorAttribute extendsNewAttribute
and manages attributes encountered by ASM that have had an error action specified to pack200 (e.g. via one of the -C, -M, -F or -D command line options such as -Cattribute-name=error)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.compress.harmony.pack200.NewAttribute
NewAttribute.ErrorAttribute, NewAttribute.PassAttribute, NewAttribute.StripAttribute
-
-
Constructor Summary
Constructors Constructor Description ErrorAttribute(java.lang.String type, int context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.objectweb.asm.Attribute
read(org.objectweb.asm.ClassReader cr, int off, int len, char[] buf, int codeOff, org.objectweb.asm.Label[] labels)
-
Methods inherited from class org.apache.commons.compress.harmony.pack200.NewAttribute
addContext, getBytes, getLabel, getLayout, isCodeAttribute, isContextClass, isContextCode, isContextField, isContextMethod, isUnknown, isUnknown, readClass, readConst, readUTF8
-
-
-
-
Constructor Detail
-
ErrorAttribute
public ErrorAttribute(java.lang.String type, int context)
-
-
Method Detail
-
read
protected org.objectweb.asm.Attribute read(org.objectweb.asm.ClassReader cr, int off, int len, char[] buf, int codeOff, org.objectweb.asm.Label[] labels)
- Overrides:
read
in classNewAttribute
-
-