Record Class LPCObjectInspection
java.lang.Object
java.lang.Record
io.github.protasm.jvmud.compiler.exec.LPCObjectInspection
public record LPCObjectInspection(String objectId, String className, String environmentId, List<String> inventoryIds, List<LPCObjectInspection.FieldValue> fields, List<LPCObjectInspection.MethodSignature> methods)
extends Record
Snapshot of host-visible state for a loaded LPC object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionLPCObjectInspection(String objectId, String className, String environmentId, List<String> inventoryIds, List<LPCObjectInspection.FieldValue> fields, List<LPCObjectInspection.MethodSignature> methods) Creates an instance of aLPCObjectInspectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.Returns the value of theenvironmentIdrecord component.final booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinventoryIdsrecord component.methods()Returns the value of themethodsrecord component.objectId()Returns the value of theobjectIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LPCObjectInspection
public LPCObjectInspection(String objectId, String className, String environmentId, List<String> inventoryIds, List<LPCObjectInspection.FieldValue> fields, List<LPCObjectInspection.MethodSignature> methods) Creates an instance of aLPCObjectInspectionrecord class.- Parameters:
objectId- the value for theobjectIdrecord componentclassName- the value for theclassNamerecord componentenvironmentId- the value for theenvironmentIdrecord componentinventoryIds- the value for theinventoryIdsrecord componentfields- the value for thefieldsrecord componentmethods- the value for themethodsrecord 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). -
objectId
Returns the value of theobjectIdrecord component.- Returns:
- the value of the
objectIdrecord component
-
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
environmentId
Returns the value of theenvironmentIdrecord component.- Returns:
- the value of the
environmentIdrecord component
-
inventoryIds
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-
methods
Returns the value of themethodsrecord component.- Returns:
- the value of the
methodsrecord component
-