Module java4ever.binding
Record Class SdkParam
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.generator.jtype.SdkParam
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehasReservedrecord component.libType()Returns the value of thelibTyperecord component.static SdkParamofApiType(ApiType paramType, Map<ParserEngine.SdkType, SdkObject> typeLibrary) Returns the value of theorigParamNamerecord component.Returns the value of theparameterNamerecord component.Returns the value of therefClassNamerecord component.static AnnotationSpecrenamedFieldAnnotation(String originalName) summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
RESERVED_FIELD_NAMES
-
-
Constructor Details
-
SdkParam
public SdkParam(TypeName refClassName, String parameterName, String origParamName, boolean hasReserved, String summary, String description, SdkObject libType) Creates an instance of aSdkParamrecord class.- Parameters:
refClassName- the value for therefClassNamerecord componentparameterName- the value for theparameterNamerecord componentorigParamName- the value for theorigParamNamerecord componenthasReserved- the value for thehasReservedrecord componentsummary- the value for thesummaryrecord componentdescription- the value for thedescriptionrecord componentlibType- the value for thelibTyperecord component
-
-
Method Details
-
ofApiType
public static SdkParam ofApiType(ApiType paramType, Map<ParserEngine.SdkType, SdkObject> typeLibrary) -
renamedFieldAnnotation
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
refClassName
Returns the value of therefClassNamerecord component.- Returns:
- the value of the
refClassNamerecord component
-
parameterName
Returns the value of theparameterNamerecord component.- Returns:
- the value of the
parameterNamerecord component
-
origParamName
Returns the value of theorigParamNamerecord component.- Returns:
- the value of the
origParamNamerecord component
-
hasReserved
public boolean hasReserved()Returns the value of thehasReservedrecord component.- Returns:
- the value of the
hasReservedrecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
libType
Returns the value of thelibTyperecord component.- Returns:
- the value of the
libTyperecord component
-