Module java4ever.binding
Record Class SdkEnum
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.generator.jtype.SdkEnum
-
Constructor Summary
ConstructorsConstructorDescriptionSdkEnum(String name, EnumOfConsts.Const[] consts, SdkDocs javadoc) Creates an instance of aSdkEnumrecord class. -
Method Summary
Modifier and TypeMethodDescriptionconsts()Returns the value of theconstsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanbooleanisParams()booleanisResult()booleanbooleanjavadoc()Returns the value of thejavadocrecord component.name()Returns the value of thenamerecord component.tech.deplant.javapoet.TypeSpec.Builderfinal StringtoString()Returns a string representation of this record class.type()
-
Constructor Details
-
SdkEnum
Creates an instance of aSdkEnumrecord class.- Parameters:
name- the value for thenamerecord componentconsts- the value for theconstsrecord componentjavadoc- the value for thejavadocrecord component
-
-
Method Details
-
poeticize
-
type
-
isSimpleWrapper
public boolean isSimpleWrapper()- Specified by:
isSimpleWrapperin interfaceSdkObject
-
isFlatType
public boolean isFlatType()- Specified by:
isFlatTypein interfaceSdkObject
-
isStructure
public boolean isStructure()- Specified by:
isStructurein interfaceSdkObject
-
isParams
-
isResult
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
name
-
consts
Returns the value of theconstsrecord component.- Returns:
- the value of the
constsrecord component
-
javadoc
Returns the value of thejavadocrecord component.- Returns:
- the value of the
javadocrecord component
-