Record Class DebugPrintOptions

java.lang.Object
java.lang.Record
net.covers1624.coffeegrinder.bytecode.DebugPrintOptions

public record DebugPrintOptions(boolean printLineNumbers, boolean printRanges, boolean printTags, boolean showImplicits, boolean qualifiedMemberReferences, boolean hideLoads, boolean treeView) extends Record
Created by covers1624 on 5/7/21.
  • Field Details

    • SHOW_IMPLICITS_DEFAULT

      public static final boolean SHOW_IMPLICITS_DEFAULT
      See Also:
    • QUALIFIED_MEMBER_REFERENCES_DEFAULT

      public static final boolean QUALIFIED_MEMBER_REFERENCES_DEFAULT
      See Also:
    • HIDE_LOADS_DEFAULT

      public static final boolean HIDE_LOADS_DEFAULT
      See Also:
    • TREE_VIEW_DEFAULT

      public static final boolean TREE_VIEW_DEFAULT
      See Also:
    • DEFAULT

      public static final DebugPrintOptions DEFAULT
  • Constructor Details

    • DebugPrintOptions

      public DebugPrintOptions(boolean printLineNumbers, boolean printRanges, boolean printTags, boolean showImplicits, boolean qualifiedMemberReferences, boolean hideLoads, boolean treeView)
      Creates an instance of a DebugPrintOptions record class.
      Parameters:
      printLineNumbers - the value for the printLineNumbers record component
      printRanges - the value for the printRanges record component
      printTags - the value for the printTags record component
      showImplicits - the value for the showImplicits record component
      qualifiedMemberReferences - the value for the qualifiedMemberReferences record component
      hideLoads - the value for the hideLoads record component
      treeView - the value for the treeView record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • printLineNumbers

      public boolean printLineNumbers()
      Returns the value of the printLineNumbers record component.
      Returns:
      the value of the printLineNumbers record component
    • printRanges

      public boolean printRanges()
      Returns the value of the printRanges record component.
      Returns:
      the value of the printRanges record component
    • printTags

      public boolean printTags()
      Returns the value of the printTags record component.
      Returns:
      the value of the printTags record component
    • showImplicits

      public boolean showImplicits()
      Returns the value of the showImplicits record component.
      Returns:
      the value of the showImplicits record component
    • qualifiedMemberReferences

      public boolean qualifiedMemberReferences()
      Returns the value of the qualifiedMemberReferences record component.
      Returns:
      the value of the qualifiedMemberReferences record component
    • hideLoads

      public boolean hideLoads()
      Returns the value of the hideLoads record component.
      Returns:
      the value of the hideLoads record component
    • treeView

      public boolean treeView()
      Returns the value of the treeView record component.
      Returns:
      the value of the treeView record component