Record Class JDescriptor.Method
java.lang.Object
java.lang.Record
honeyroasted.jype.metadata.signature.JDescriptor.Method
- All Implemented Interfaces:
JDescriptor
- Enclosing interface:
JDescriptor
public static record JDescriptor.Method(JDescriptor.Type ret, List<JDescriptor.Type> parameters)
extends Record
implements JDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jype.metadata.signature.JDescriptor
JDescriptor.Array, JDescriptor.Class, JDescriptor.Method, JDescriptor.Primitive, JDescriptor.Type -
Constructor Summary
ConstructorsConstructorDescriptionMethod(JDescriptor.Type ret, List<JDescriptor.Type> parameters) Creates an instance of aMethodrecord class. -
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.Returns the value of theparametersrecord component.ret()Returns the value of theretrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Method
Creates an instance of aMethodrecord class.- Parameters:
ret- the value for theretrecord componentparameters- the value for theparametersrecord 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). -
ret
Returns the value of theretrecord component.- Returns:
- the value of the
retrecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-