Class ClassFile.AnnotationDefaultAttribute

  • Enclosing class:
    ClassFile

    public static class ClassFile.AnnotationDefaultAttribute
    extends ClassFile.AttributeInfo
    Representation of an AnnotationDefault attribute (see JVMS8 4.7.22).
    • Constructor Detail

      • AnnotationDefaultAttribute

        public AnnotationDefaultAttribute​(short attributeNameIndex,
                                          ClassFile.ElementValue elementValue)
    • Method Detail

      • loadBody

        private static ClassFile.AttributeInfo loadBody​(short attributeNameIndex,
                                                        java.io.DataInputStream dis)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • 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 class ClassFile.AttributeInfo
        Throws:
        java.io.IOException