Class RuntimeVisibleorInvisibleAnnotationsAttribute
java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
org.apache.commons.compress.harmony.unpack200.bytecode.AnnotationsAttribute
org.apache.commons.compress.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleAnnotationsAttribute
Annotations class file attribute, either a RuntimeVisibleAnnotations attribute or a RuntimeInvisibleAnnotations attribute.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.AnnotationsAttribute
AnnotationsAttribute.Annotation, AnnotationsAttribute.ElementValue
-
Field Summary
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
attributeName
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
Constructor Summary
ConstructorDescriptionRuntimeVisibleorInvisibleAnnotationsAttribute
(CPUTF8 name, AnnotationsAttribute.Annotation[] annotations) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
protected ClassFileEntry[]
protected void
resolve
(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entries.toString()
protected void
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
doWrite, equals, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering, hashCode, isSourceFileAttribute
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Constructor Details
-
RuntimeVisibleorInvisibleAnnotationsAttribute
public RuntimeVisibleorInvisibleAnnotationsAttribute(CPUTF8 name, AnnotationsAttribute.Annotation[] annotations)
-
-
Method Details
-
getLength
-
getNestedClassFileEntries
- Overrides:
getNestedClassFileEntries
in classAttribute
-
resolve
Description copied from class:ClassFileEntry
Allows the constant pool entries to resolve their nested entries. -
toString
- Specified by:
toString
in classClassFileEntry
-
writeBody
- Specified by:
writeBody
in classAttribute
- Throws:
IOException
-