Record Class CallDetails
java.lang.Object
java.lang.Record
org.ek9lang.compiler.ir.CallDetails
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thearguments
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of themethodName
record component.Returns the value of theparameterTypes
record component.Returns the value of thereturnTypeName
record component.Returns the value of thetargetObject
record component.Returns the value of thetargetTypeName
record component.toString()
Returns a string representation of this record class.
-
Constructor Details
-
CallDetails
public CallDetails(String targetObject, String targetTypeName, String methodName, List<String> parameterTypes, String returnTypeName, List<String> arguments) Creates an instance of aCallDetails
record class.- Parameters:
targetObject
- the value for thetargetObject
record componenttargetTypeName
- the value for thetargetTypeName
record componentmethodName
- the value for themethodName
record componentparameterTypes
- the value for theparameterTypes
record componentreturnTypeName
- the value for thereturnTypeName
record componentarguments
- the value for thearguments
record 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)
. -
targetObject
Returns the value of thetargetObject
record component.- Returns:
- the value of the
targetObject
record component
-
targetTypeName
Returns the value of thetargetTypeName
record component.- Returns:
- the value of the
targetTypeName
record component
-
methodName
Returns the value of themethodName
record component.- Returns:
- the value of the
methodName
record component
-
parameterTypes
-
returnTypeName
Returns the value of thereturnTypeName
record component.- Returns:
- the value of the
returnTypeName
record component
-
arguments
-