-
- All Implemented Interfaces:
-
org.gjt.jclasslib.structures.attributes.AnnotationHolder
public abstract class RuntimeAnnotationsAttribute extends AttributeInfo implements AnnotationHolder
Base class for runtime annotations.
-
-
Field Summary
Fields Modifier and Type Field Description private Array<Annotation>runtimeAnnotationsprivate final IntegernumberOfAnnotationsprivate IntegerattributeNameIndexprivate final Stringname
-
Constructor Summary
Constructors Constructor Description RuntimeAnnotationsAttribute(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final Array<Annotation>getRuntimeAnnotations()Runtime annotations associations of the parent final UnitsetRuntimeAnnotations(Array<Annotation> runtimeAnnotations)Runtime annotations associations of the parent IntegergetNumberOfAnnotations()Number of contained annotations. IntegergetAttributeLength()Get the length of this attribute in bytes. -
Methods inherited from class org.gjt.jclasslib.structures.AttributeInfo
getAttributeNameIndex, getName, setAttributeNameIndex -
Methods inherited from class org.gjt.jclasslib.structures.Structure
read, write -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RuntimeAnnotationsAttribute
RuntimeAnnotationsAttribute(ClassFile classFile)
-
-
Method Detail
-
getRuntimeAnnotations
final Array<Annotation> getRuntimeAnnotations()
Runtime annotations associations of the parent
-
setRuntimeAnnotations
final Unit setRuntimeAnnotations(Array<Annotation> runtimeAnnotations)
Runtime annotations associations of the parent
-
getNumberOfAnnotations
Integer getNumberOfAnnotations()
Number of contained annotations.
-
getAttributeLength
Integer getAttributeLength()
Get the length of this attribute in bytes.
-
-
-
-