Record Class MethodVarargsOverride
java.lang.Object
java.lang.Record
io.github.protasm.jvmud.language.transpiler.MethodVarargsOverride
-
Constructor Summary
ConstructorsConstructorDescriptionMethodVarargsOverride(String file, String method, int expectedParameterCount) Creates an instance of aMethodVarargsOverriderecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of theexpectedParameterCountrecord component.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.method()Returns the value of themethodrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MethodVarargsOverride
Creates an instance of aMethodVarargsOverriderecord class.- Parameters:
file- the value for thefilerecord componentmethod- the value for themethodrecord componentexpectedParameterCount- the value for theexpectedParameterCountrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
file
Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
expectedParameterCount
public int expectedParameterCount()Returns the value of theexpectedParameterCountrecord component.- Returns:
- the value of the
expectedParameterCountrecord component
-