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
-
public class AnnotationDefaultAttribute extends AnnotationsAttribute
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
Fields Modifier and Type Field Description private static CPUTF8attributeNameprivate AnnotationsAttribute.ElementValueelementValue-
Fields inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
-
Constructor Summary
Constructors Constructor Description AnnotationDefaultAttribute(AnnotationsAttribute.ElementValue elementValue)Constructs a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)protected intgetLength()protected ClassFileEntry[]getNestedClassFileEntries()protected voidresolve(ClassConstantPool pool)Allows the constant pool entries to resolve their nested entries.static voidsetAttributeName(CPUTF8 cpUTF8Value)java.lang.StringtoString()protected voidwriteBody(java.io.DataOutputStream dos)-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering, hashCode, isSourceFileAttribute
-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
-
-
-
Field Detail
-
attributeName
private static CPUTF8 attributeName
-
elementValue
private final AnnotationsAttribute.ElementValue elementValue
-
-
Constructor Detail
-
AnnotationDefaultAttribute
public AnnotationDefaultAttribute(AnnotationsAttribute.ElementValue elementValue)
Constructs a new instance.- Parameters:
elementValue- element value to track.
-
-
Method Detail
-
setAttributeName
public static void setAttributeName(CPUTF8 cpUTF8Value)
-
getNestedClassFileEntries
protected ClassFileEntry[] getNestedClassFileEntries()
- Overrides:
getNestedClassFileEntriesin classAttribute
-
resolve
protected void resolve(ClassConstantPool pool)
Description copied from class:ClassFileEntryAllows the constant pool entries to resolve their nested entries.
-
toString
public java.lang.String toString()
- Specified by:
toStringin classClassFileEntry
-
-