Record Class TypeDocumentation
java.lang.Object
java.lang.Record
io.fluxzero.tools.jsondoclet.model.TypeDocumentation
public record TypeDocumentation(String name, String qualifiedName, String packageName, String kind, List<String> modifiers, List<AnnotationDocumentation> annotations, String documentation, List<String> typeParameters, String superClass, List<String> interfaces, List<FieldDocumentation> fields, List<ConstructorDocumentation> constructors, List<MethodDocumentation> methods, List<EnumConstantDocumentation> enumConstants, List<RecordComponentDocumentation> recordComponents, List<NestedTypeDocumentation> nestedTypes)
extends Record
Aggregated documentation for a single declared type.
-
Constructor Summary
ConstructorsConstructorDescriptionTypeDocumentation(String name, String qualifiedName, String packageName, String kind, List<String> modifiers, List<AnnotationDocumentation> annotations, String documentation, List<String> typeParameters, String superClass, List<String> interfaces, List<FieldDocumentation> fields, List<ConstructorDocumentation> constructors, List<MethodDocumentation> methods, List<EnumConstantDocumentation> enumConstants, List<RecordComponentDocumentation> recordComponents, List<NestedTypeDocumentation> nestedTypes) Creates an instance of aTypeDocumentationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotationsrecord component.Returns the value of theconstructorsrecord component.Returns the value of thedocumentationrecord component.Returns the value of theenumConstantsrecord component.final booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinterfacesrecord component.kind()Returns the value of thekindrecord component.methods()Returns the value of themethodsrecord component.Returns the value of themodifiersrecord component.name()Returns the value of thenamerecord component.Returns the value of thenestedTypesrecord component.Returns the value of thepackageNamerecord component.Returns the value of thequalifiedNamerecord component.Returns the value of therecordComponentsrecord component.Returns the value of thesuperClassrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetypeParametersrecord component.
-
Constructor Details
-
TypeDocumentation
public TypeDocumentation(String name, String qualifiedName, String packageName, String kind, List<String> modifiers, List<AnnotationDocumentation> annotations, String documentation, List<String> typeParameters, String superClass, List<String> interfaces, List<FieldDocumentation> fields, List<ConstructorDocumentation> constructors, List<MethodDocumentation> methods, List<EnumConstantDocumentation> enumConstants, List<RecordComponentDocumentation> recordComponents, List<NestedTypeDocumentation> nestedTypes) Creates an instance of aTypeDocumentationrecord class.- Parameters:
name- the value for thenamerecord componentqualifiedName- the value for thequalifiedNamerecord componentpackageName- the value for thepackageNamerecord componentkind- the value for thekindrecord componentmodifiers- the value for themodifiersrecord componentannotations- the value for theannotationsrecord componentdocumentation- the value for thedocumentationrecord componenttypeParameters- the value for thetypeParametersrecord componentsuperClass- the value for thesuperClassrecord componentinterfaces- the value for theinterfacesrecord componentfields- the value for thefieldsrecord componentconstructors- the value for theconstructorsrecord componentmethods- the value for themethodsrecord componentenumConstants- the value for theenumConstantsrecord componentrecordComponents- the value for therecordComponentsrecord componentnestedTypes- the value for thenestedTypesrecord component
-
-
Method Details
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
qualifiedName
Returns the value of thequalifiedNamerecord component.- Returns:
- the value of the
qualifiedNamerecord component
-
packageName
Returns the value of thepackageNamerecord component.- Returns:
- the value of the
packageNamerecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
modifiers
Returns the value of themodifiersrecord component.- Returns:
- the value of the
modifiersrecord component
-
annotations
Returns the value of theannotationsrecord component.- Returns:
- the value of the
annotationsrecord component
-
documentation
Returns the value of thedocumentationrecord component.- Returns:
- the value of the
documentationrecord component
-
typeParameters
Returns the value of thetypeParametersrecord component.- Returns:
- the value of the
typeParametersrecord component
-
superClass
Returns the value of thesuperClassrecord component.- Returns:
- the value of the
superClassrecord component
-
interfaces
Returns the value of theinterfacesrecord component.- Returns:
- the value of the
interfacesrecord component
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-
constructors
Returns the value of theconstructorsrecord component.- Returns:
- the value of the
constructorsrecord component
-
methods
Returns the value of themethodsrecord component.- Returns:
- the value of the
methodsrecord component
-
enumConstants
Returns the value of theenumConstantsrecord component.- Returns:
- the value of the
enumConstantsrecord component
-
recordComponents
Returns the value of therecordComponentsrecord component.- Returns:
- the value of the
recordComponentsrecord component
-
nestedTypes
Returns the value of thenestedTypesrecord component.- Returns:
- the value of the
nestedTypesrecord component
-