Module java4ever.binding
Record Class SdkFunction
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.generator.jtype.SdkFunction
public record SdkFunction(String functionModule, ApiFunction function, Map<ParserEngine.SdkType,SdkObject> typeLibrary)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSdkFunction(String functionModule, ApiFunction function, Map<ParserEngine.SdkType, SdkObject> typeLibrary) Creates an instance of aSdkFunctionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.function()Returns the value of thefunctionrecord component.Returns the value of thefunctionModulerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thetypeLibraryrecord component.
-
Constructor Details
-
SdkFunction
public SdkFunction(String functionModule, ApiFunction function, Map<ParserEngine.SdkType, SdkObject> typeLibrary) Creates an instance of aSdkFunctionrecord class.- Parameters:
functionModule- the value for thefunctionModulerecord componentfunction- the value for thefunctionrecord componenttypeLibrary- the value for thetypeLibraryrecord component
-
-
Method Details
-
poeticize
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
functionModule
Returns the value of thefunctionModulerecord component.- Returns:
- the value of the
functionModulerecord component
-
function
Returns the value of thefunctionrecord component.- Returns:
- the value of the
functionrecord component
-
typeLibrary
Returns the value of thetypeLibraryrecord component.- Returns:
- the value of the
typeLibraryrecord component
-