Record Class StringConcatRewriteOutcome.OffendingExpression
java.lang.Object
java.lang.Record
org.ek9lang.compiler.repair.StringConcatRewriteOutcome.OffendingExpression
- Enclosing class:
StringConcatRewriteOutcome
-
Constructor Summary
ConstructorsConstructorDescriptionOffendingExpression(int startLine, int startCol, int endLine, int endCol, String text) Creates an instance of aOffendingExpressionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintendCol()Returns the value of theendColrecord component.intendLine()Returns the value of theendLinerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intstartCol()Returns the value of thestartColrecord component.intReturns the value of thestartLinerecord component.text()Returns the value of thetextrecord component.toMap()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OffendingExpression
Creates an instance of aOffendingExpressionrecord class.- Parameters:
startLine- the value for thestartLinerecord componentstartCol- the value for thestartColrecord componentendLine- the value for theendLinerecord componentendCol- the value for theendColrecord componenttext- the value for thetextrecord component
-
-
Method Details
-
toMap
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
startLine
public int startLine()Returns the value of thestartLinerecord component.- Returns:
- the value of the
startLinerecord component
-
startCol
public int startCol()Returns the value of thestartColrecord component.- Returns:
- the value of the
startColrecord component
-
endLine
public int endLine()Returns the value of theendLinerecord component.- Returns:
- the value of the
endLinerecord component
-
endCol
public int endCol()Returns the value of theendColrecord component.- Returns:
- the value of the
endColrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-