Package net.fabricmc.loom.decompilers
Record Class ClassLineNumbers.Entry
java.lang.Object
java.lang.Record
net.fabricmc.loom.decompilers.ClassLineNumbers.Entry
- Enclosing class:
ClassLineNumbers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lineMap()Returns the value of thelineMaprecord component.intmaxLine()Returns the value of themaxLinerecord component.intReturns the value of themaxLineDestrecord component.final StringtoString()Returns a string representation of this record class.void
-
Constructor Details
-
Entry
Creates an instance of aEntryrecord class.- Parameters:
className- the value for theclassNamerecord componentmaxLine- the value for themaxLinerecord componentmaxLineDest- the value for themaxLineDestrecord componentlineMap- the value for thelineMaprecord component
-
-
Method Details
-
write
- Throws:
IOException
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
maxLine
public int maxLine()Returns the value of themaxLinerecord component.- Returns:
- the value of the
maxLinerecord component
-
maxLineDest
public int maxLineDest()Returns the value of themaxLineDestrecord component.- Returns:
- the value of the
maxLineDestrecord component
-
lineMap
Returns the value of thelineMaprecord component.- Returns:
- the value of the
lineMaprecord component
-