Package org.codehaus.janino.util
Class ClassFile.AnnotationsAttribute
- java.lang.Object
-
- org.codehaus.janino.util.ClassFile.AttributeInfo
-
- org.codehaus.janino.util.ClassFile.AnnotationsAttribute
-
- Enclosing class:
- ClassFile
public static class ClassFile.AnnotationsAttribute extends ClassFile.AttributeInfo
Representation of aRuntime[In]visibleAnnotations
attribute (see JVMS8 4.7.16/17).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ClassFile.Annotation>
getAnnotations()
protected void
storeBody(java.io.DataOutputStream dos)
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.-
Methods inherited from class org.codehaus.janino.util.ClassFile.AttributeInfo
store
-
-
-
-
Method Detail
-
getAnnotations
public java.util.List<ClassFile.Annotation> getAnnotations()
- Returns:
- The
ClassFile.Annotation
s contained in thisClassFile.AnnotationsAttribute
, see JVMS8 4.7.16/17
-
storeBody
protected void storeBody(java.io.DataOutputStream dos) throws java.io.IOException
Description copied from class:ClassFile.AttributeInfo
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.- Specified by:
storeBody
in classClassFile.AttributeInfo
- Throws:
java.io.IOException
-
-