Record Class Value.InstanceField
java.lang.Object
java.lang.Record
org.geysermc.conduit.Value.InstanceField
- Record Components:
receiver- the object the field is read fromclassName- the class the field was referenced throughfieldName- the field
- 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
ConstructorsConstructorDescriptionInstanceField(Value receiver, String className, String fieldName) Creates an instance of aInstanceFieldrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldNamerecord component.final inthashCode()Returns a hash code value for this object.receiver()Returns the value of thereceiverrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
receiver
-
className
-
fieldName
-