Record Class TargetMethod
java.lang.Object
java.lang.Record
daomephsta.unpick.constantmappers.datadriven.tree.TargetMethod
-
Nested Class Summary
Nested Classes -
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.Returns the value of themethodDescrecord component.Returns the value of themethodNamerecord component.Returns the value of theparamGroupsrecord component.@Nullable StringReturns the value of thereturnGrouprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TargetMethod
public TargetMethod(String className, String methodName, String methodDesc, Map<Integer, String> paramGroups, @Nullable @Nullable String returnGroup) Creates an instance of aTargetMethodrecord class.- Parameters:
className- the value for theclassNamerecord componentmethodName- the value for themethodNamerecord componentmethodDesc- the value for themethodDescrecord componentparamGroups- the value for theparamGroupsrecord componentreturnGroup- the value for thereturnGrouprecord component
-
-
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). -
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
methodName
Returns the value of themethodNamerecord component.- Returns:
- the value of the
methodNamerecord component
-
methodDesc
Returns the value of themethodDescrecord component.- Returns:
- the value of the
methodDescrecord component
-
paramGroups
-
returnGroup
Returns the value of thereturnGrouprecord component.- Returns:
- the value of the
returnGrouprecord component
-