Class AnnotationDefaultAttribute
java.lang.Object
kala.compress.harmony.unpack200.bytecode.ClassFileEntry
kala.compress.harmony.unpack200.bytecode.Attribute
kala.compress.harmony.unpack200.bytecode.AnnotationsAttribute
kala.compress.harmony.unpack200.bytecode.AnnotationDefaultAttribute
AnnotationDefault class file attribute
-
Nested Class Summary
Nested classes/interfaces inherited from class kala.compress.harmony.unpack200.bytecode.AnnotationsAttribute
AnnotationsAttribute.Annotation, AnnotationsAttribute.ElementValue -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static CPUTF8private final AnnotationsAttribute.ElementValueFields inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationDefaultAttribute(AnnotationsAttribute.ElementValue elementValue) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected intprotected ClassFileEntry[]protected voidresolve(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entries.static voidsetAttributeName(CPUTF8 cpUTF8Value) toString()protected voidMethods inherited from class kala.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering, hashCode, isSourceFileAttributeMethods inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Field Details
-
attributeName
-
elementValue
-
-
Constructor Details
-
AnnotationDefaultAttribute
Constructs a new instance.- Parameters:
elementValue- element value to track.
-
-
Method Details
-
setAttributeName
-
equals
-
getLength
protected int getLength() -
getNestedClassFileEntries
- Overrides:
getNestedClassFileEntriesin classAttribute
-
resolve
Description copied from class:ClassFileEntryAllows the constant pool entries to resolve their nested entries. -
toString
- Specified by:
toStringin classClassFileEntry
-
writeBody
- Specified by:
writeBodyin classAttribute- Throws:
IOException
-