Record Class LPCObjectInspection.MethodSignature
java.lang.Object
java.lang.Record
io.github.protasm.jvmud.compiler.exec.LPCObjectInspection.MethodSignature
- Enclosing class:
LPCObjectInspection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of theownerClassrecord component.Returns the value of theownerNamerecord component.Returns the value of theparameterTypesrecord component.Returns the value of thereturnTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MethodSignature
public MethodSignature(String ownerClass, String ownerName, String returnType, String name, List<String> parameterTypes) Creates an instance of aMethodSignaturerecord class.- Parameters:
ownerClass- the value for theownerClassrecord componentownerName- the value for theownerNamerecord componentreturnType- the value for thereturnTyperecord componentname- the value for thenamerecord componentparameterTypes- the value for theparameterTypesrecord 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). -
ownerClass
Returns the value of theownerClassrecord component.- Returns:
- the value of the
ownerClassrecord component
-
ownerName
Returns the value of theownerNamerecord component.- Returns:
- the value of the
ownerNamerecord component
-
returnType
Returns the value of thereturnTyperecord component.- Returns:
- the value of the
returnTyperecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
parameterTypes
-