Module java4ever.binding
Record Class JavaInterface
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.generator.jtype.JavaInterface
- All Implemented Interfaces:
JavaType
public record JavaInterface(EnumOfTypes eot, String name, JavaDocs javadoc, List<JavaRecord> children)
extends Record
implements JavaType
-
Constructor Summary
ConstructorsConstructorDescriptionJavaInterface(EnumOfTypes eot, String name, JavaDocs javadoc, List<JavaRecord> children) Creates an instance of aJavaInterfacerecord class. -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.eot()Returns the value of theeotrecord 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.final StringtoString()Returns a string representation of this record class.type()
-
Constructor Details
-
JavaInterface
Creates an instance of aJavaInterfacerecord class.- Parameters:
eot- the value for theeotrecord componentname- the value for thenamerecord componentjavadoc- the value for thejavadocrecord componentchildren- the value for thechildrenrecord component
-
-
Method Details
-
poeticize
-
type
-
isSimpleWrapper
public boolean isSimpleWrapper()- Specified by:
isSimpleWrapperin interfaceJavaType
-
isFlatType
public boolean isFlatType()- Specified by:
isFlatTypein interfaceJavaType
-
isStructure
public boolean isStructure()- Specified by:
isStructurein interfaceJavaType
-
isParams
public boolean isParams() -
isResult
public boolean isResult() -
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). -
eot
Returns the value of theeotrecord component.- Returns:
- the value of the
eotrecord component
-
name
Returns the value of thenamerecord component. -
javadoc
Returns the value of thejavadocrecord component.- Returns:
- the value of the
javadocrecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-