Package jminusminus

Class CLLineNumberInfo

java.lang.Object
jminusminus.CLLineNumberInfo

class CLLineNumberInfo extends Object
Representation of line_number_table entry structure.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    line_number_table_entry.line_number item.
    int
    line_number_table_entry.start_pc item.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CLLineNumberInfo(int startPC, int lineNumber)
    Construct a CLLineNumberInfo object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
    Return true if this LineNumber_info object is the same as other, and false otherwise.
    void
    Write the contents of this object to the specified output stream.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • startPC

      public int startPC
      line_number_table_entry.start_pc item.
    • lineNumber

      public int lineNumber
      line_number_table_entry.line_number item.
  • Constructor Details

    • CLLineNumberInfo

      public CLLineNumberInfo(int startPC, int lineNumber)
      Construct a CLLineNumberInfo object.
      Parameters:
      startPC - line_number_table_entry.start_pc item.
      lineNumber - line_number_table_entry.line_number item.
  • Method Details

    • write

      public void write(CLOutputStream out) throws IOException
      Write the contents of this object to the specified output stream.
      Parameters:
      out - output stream.
      Throws:
      IOException - if an error occurs while writing.
    • equals

      public boolean equals(Object other)
      Return true if this LineNumber_info object is the same as other, and false otherwise.
      Overrides:
      equals in class Object
      Parameters:
      other - the reference LineNumber_info object with which to compare.
      Returns:
      true if this LineNumber_info object is the same as other, and false otherwise.