Class ClassFile.CodeAttribute

  • Enclosing class:
    ClassFile

    public static class ClassFile.CodeAttribute
    extends ClassFile.AttributeInfo
    Representation of an unmodifiable Code attribute, as read from a class file.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ClassFile.CodeAttribute.ExceptionTableEntry
      Representation of an entry in the "exception_table" of a "Code" attribute (see JVMS 4.7.3).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte[] code  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • code

        public final byte[] code
    • Method Detail

      • 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