Record Class Value.InstanceCall
java.lang.Object
java.lang.Record
org.geysermc.conduit.Value.InstanceCall
- Record Components:
className- the class declaring the methodmethodName- the method namereceiver- the value the method was called onargs- the arguments
- All Implemented Interfaces:
Value
- Enclosing interface:
Value
-
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.Array, Value.Conditional, Value.Constructed, Value.Field, Value.InstanceCall, Value.InstanceField, Value.InstanceOf, Value.Lambda, Value.Literal, Value.Multiple, Value.Operation, Value.Operator, Value.Parameter, Value.StaticCall, Value.This, Value.Uninitialized, Value.Unknown -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionargs()Returns the value of theargsrecord component.Returns 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 themethodNamerecord component.receiver()Returns the value of thereceiverrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
InstanceCall
Creates an instance of aInstanceCallrecord class.- Parameters:
className- the value for theclassNamerecord componentmethodName- the value for themethodNamerecord componentreceiver- the value for thereceiverrecord componentargs- the value for theargsrecord 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
-
methodName
Returns the value of themethodNamerecord component.- Returns:
- the value of the
methodNamerecord component
-
receiver
-
args
-