Record Class StringExpressionClassifier.TextMethodTarget
java.lang.Object
java.lang.Record
org.ek9lang.compiler.repair.StringExpressionClassifier.TextMethodTarget
- Enclosing class:
StringExpressionClassifier
public static record StringExpressionClassifier.TextMethodTarget(String textTypeName, String methodName)
extends Record
Result of
StringExpressionClassifier.findEnclosingTextMethodDeclaration(ParseTree, int, int): the resolved
text-type and method names ready to feed straight into
ek9_edit_localized_text as textTypeName / methodName.-
Constructor Summary
ConstructorsConstructorDescriptionTextMethodTarget(String textTypeName, String methodName) Creates an instance of aTextMethodTargetrecord 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.Returns the value of themethodNamerecord component.Returns the value of thetextTypeNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TextMethodTarget
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
textTypeName
Returns the value of thetextTypeNamerecord component.- Returns:
- the value of the
textTypeNamerecord component
-
methodName
Returns the value of themethodNamerecord component.- Returns:
- the value of the
methodNamerecord component
-