Record Class ConstructorDocumentation
java.lang.Object
java.lang.Record
io.fluxzero.tools.jsondoclet.model.ConstructorDocumentation
public record ConstructorDocumentation(String name, String qualifiedName, List<String> modifiers, List<AnnotationDocumentation> annotations, List<String> typeParameters, List<MethodDocumentation.MethodParameter> parameters, List<String> thrownTypes, boolean varArgs, String documentation)
extends Record
Documentation for a constructor.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorDocumentation(String name, String qualifiedName, List<String> modifiers, List<AnnotationDocumentation> annotations, List<String> typeParameters, List<MethodDocumentation.MethodParameter> parameters, List<String> thrownTypes, boolean varArgs, String documentation) Creates an instance of aConstructorDocumentationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotationsrecord component.Returns the value of thedocumentationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themodifiersrecord component.name()Returns the value of thenamerecord component.Returns the value of theparametersrecord component.Returns the value of thequalifiedNamerecord component.Returns the value of thethrownTypesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetypeParametersrecord component.booleanvarArgs()Returns the value of thevarArgsrecord component.
-
Constructor Details
-
ConstructorDocumentation
public ConstructorDocumentation(String name, String qualifiedName, List<String> modifiers, List<AnnotationDocumentation> annotations, List<String> typeParameters, List<MethodDocumentation.MethodParameter> parameters, List<String> thrownTypes, boolean varArgs, String documentation) Creates an instance of aConstructorDocumentationrecord class.- Parameters:
name- the value for thenamerecord componentqualifiedName- the value for thequalifiedNamerecord componentmodifiers- the value for themodifiersrecord componentannotations- the value for theannotationsrecord componenttypeParameters- the value for thetypeParametersrecord componentparameters- the value for theparametersrecord componentthrownTypes- the value for thethrownTypesrecord componentvarArgs- the value for thevarArgsrecord componentdocumentation- the value for thedocumentationrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-
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
-
typeParameters
Returns the value of thetypeParametersrecord component.- Returns:
- the value of the
typeParametersrecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
thrownTypes
Returns the value of thethrownTypesrecord component.- Returns:
- the value of the
thrownTypesrecord component
-
varArgs
public boolean varArgs()Returns the value of thevarArgsrecord component.- Returns:
- the value of the
varArgsrecord component
-
documentation
Returns the value of thedocumentationrecord component.- Returns:
- the value of the
documentationrecord component
-