Module java4ever.binding
Record Class JavaParam
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.generator.jtype.JavaParam
-
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.libType()Returns the value of thelibTyperecord component.static JavaParamofApiType(ApiType paramType, Map<ParserEngine.SdkType, JavaType> 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
-
JavaParam
public JavaParam(TypeName refClassName, String parameterName, String origParamName, String summary, String description, JavaType libType) Creates an instance of aJavaParamrecord class.- Parameters:
refClassName- the value for therefClassNamerecord componentparameterName- the value for theparameterNamerecord componentorigParamName- the value for theorigParamNamerecord componentsummary- the value for thesummaryrecord componentdescription- the value for thedescriptionrecord componentlibType- the value for thelibTyperecord component
-
-
Method Details
-
ofApiType
public static JavaParam ofApiType(ApiType paramType, Map<ParserEngine.SdkType, JavaType> 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. All components in this record class are compared withObjects::equals(Object,Object). -
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
-
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
-