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 Summary
FieldsModifier and TypeFieldDescriptionstatic final DebugPrintOptionsstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final boolean -
Constructor Summary
ConstructorsConstructorDescriptionDebugPrintOptions(boolean printLineNumbers, boolean printRanges, boolean printTags, boolean showImplicits, boolean qualifiedMemberReferences, boolean hideLoads, boolean treeView) Creates an instance of aDebugPrintOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehideLoadsrecord component.booleanReturns the value of theprintLineNumbersrecord component.booleanReturns the value of theprintRangesrecord component.booleanReturns the value of theprintTagsrecord component.booleanReturns the value of thequalifiedMemberReferencesrecord component.booleanReturns the value of theshowImplicitsrecord component.final StringtoString()Returns a string representation of this record class.booleantreeView()Returns the value of thetreeViewrecord component.
-
Field Details
-
PRINT_LINE_NUMBERS_DEFAULT
public static final boolean PRINT_LINE_NUMBERS_DEFAULT- See Also:
-
PRINT_BYTECODE_RANGES_DEFAULT
public static final boolean PRINT_BYTECODE_RANGES_DEFAULT- See Also:
-
PRINT_TAGS_DEFAULT
public static final boolean PRINT_TAGS_DEFAULT- See Also:
-
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
-
-
Constructor Details
-
DebugPrintOptions
public DebugPrintOptions(boolean printLineNumbers, boolean printRanges, boolean printTags, boolean showImplicits, boolean qualifiedMemberReferences, boolean hideLoads, boolean treeView) Creates an instance of aDebugPrintOptionsrecord class.- Parameters:
printLineNumbers- the value for theprintLineNumbersrecord componentprintRanges- the value for theprintRangesrecord componentprintTags- the value for theprintTagsrecord componentshowImplicits- the value for theshowImplicitsrecord componentqualifiedMemberReferences- the value for thequalifiedMemberReferencesrecord componenthideLoads- the value for thehideLoadsrecord componenttreeView- the value for thetreeViewrecord component
-
-
Method Details
-
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. -
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. -
equals
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 '=='. -
printLineNumbers
public boolean printLineNumbers()Returns the value of theprintLineNumbersrecord component.- Returns:
- the value of the
printLineNumbersrecord component
-
printRanges
public boolean printRanges()Returns the value of theprintRangesrecord component.- Returns:
- the value of the
printRangesrecord component
-
printTags
public boolean printTags()Returns the value of theprintTagsrecord component.- Returns:
- the value of the
printTagsrecord component
-
showImplicits
public boolean showImplicits()Returns the value of theshowImplicitsrecord component.- Returns:
- the value of the
showImplicitsrecord component
-
qualifiedMemberReferences
public boolean qualifiedMemberReferences()Returns the value of thequalifiedMemberReferencesrecord component.- Returns:
- the value of the
qualifiedMemberReferencesrecord component
-
hideLoads
public boolean hideLoads()Returns the value of thehideLoadsrecord component.- Returns:
- the value of the
hideLoadsrecord component
-
treeView
public boolean treeView()Returns the value of thetreeViewrecord component.- Returns:
- the value of the
treeViewrecord component
-