Record Class TemplateProbeGenerator.HarvestedMethod
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.TemplateProbeGenerator.HarvestedMethod
- Enclosing class:
TemplateProbeGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionHarvestedMethod(String name, String returnTypeName, List<String> parameterTypeNames, boolean isAbstract) Creates an instance of aHarvestedMethodrecord 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.booleanReturns the value of theisAbstractrecord component.name()Returns the value of thenamerecord component.Returns the value of theparameterTypeNamesrecord component.Returns the value of thereturnTypeNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HarvestedMethod
HarvestedMethod(String name, String returnTypeName, List<String> parameterTypeNames, boolean isAbstract) Creates an instance of aHarvestedMethodrecord class.- Parameters:
name- the value for thenamerecord componentreturnTypeName- the value for thereturnTypeNamerecord componentparameterTypeNames- the value for theparameterTypeNamesrecord componentisAbstract- the value for theisAbstractrecord 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. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
returnTypeName
Returns the value of thereturnTypeNamerecord component.- Returns:
- the value of the
returnTypeNamerecord component
-
parameterTypeNames
-
isAbstract
public boolean isAbstract()Returns the value of theisAbstractrecord component.- Returns:
- the value of the
isAbstractrecord component
-