The declaration model of a class that has a parameter list rather than explicit constructors. For example:

    class Color(Integer rgba) {
    }

Such classes have a meaningful parameter list and for abstraction purposes have a single `defaultConstructor` representing the class' parameter list and the class initializer code. This “constructor” will have the same `SharedAnnotation`, `DeprecationAnnotation` and `ThrownExceptionAnnotation` annotations as the class, but will have no other annotations.

See also `ClassWithConstructorsDeclaration`
Since 1.2.0

no type hierarchy

- `ClassWithInitializerDeclaration`
  - `ClassDeclaration`
    - `ClassOrInterfaceDeclaration`
      - `GenericDeclaration`
      - `NestableDeclaration`
        - `AnnotatedDeclaration`
          - `Annotated`
          - `Declaration`
        - `TypedDeclaration`

no subtypes hierarchy

Attributes
`defaultConstructor` | Source Code `shared formal CallableConstructorDeclaration defaultConstructor` A CallableConstructorDeclaration representing the class initializer. Refines `ClassDeclaration.defaultConstructor`
`parameterDeclarations` | Source Code `shared formal FunctionOrValueDeclaration[] parameterDeclarations` The list of parameter declarations for this class. Refines `ClassDeclaration.parameterDeclarations`

Inherited Attributes
Attributes inherited from: `Object` `hash`, `string`
Attributes inherited from: `ClassDeclaration` `abstract`, `annotation`, `anonymous`, `defaultConstructor`, `final`, `objectValue`, `parameterDeclarations`, `serializable`
Attributes inherited from: `ClassOrInterfaceDeclaration` `caseTypes`, `extendedType`, `isAlias`, `satisfiedTypes`
Attributes inherited from: `Declaration` `name`, `qualifiedName`
Attributes inherited from: `GenericDeclaration` `typeParameterDeclarations`
Attributes inherited from: `NestableDeclaration` `actual`, `container`, `containingModule`, `containingPackage`, `default`, `formal`, `shared`, `toplevel`
Attributes inherited from: `TypedDeclaration` `openType`

Methods
`annotatedConstructorDeclarations` | Source Code `shared formal CallableConstructorDeclaration[] annotatedConstructorDeclarations<Annotation>() given Annotation satisfies AnnotationType` Returns the list of constructors declared on this class that are annotated with the given `Annotation` type argument. This includes unshared constructors. Refines `ClassDeclaration.annotatedConstructorDeclarations`
`constructorDeclarations` | Source Code `shared actual default [CallableConstructorDeclaration+] constructorDeclarations()` A singleton sequence containing the `defaultConstructor`. Refines `ClassDeclaration.constructorDeclarations`
`getConstructorDeclaration` | Source Code `shared actual default CallableConstructorDeclaration? getConstructorDeclaration(String name)` Looks up a constructor declaration directly declared on this class, by name. Returns `null` if no such constructor matches. This includes unshared constructors but not inherited constructors (since constructors are not members). Refines `ClassDeclaration.getConstructorDeclaration`

Inherited Methods
Methods inherited from: `Object` `equals()`
Methods inherited from: `Annotated` `annotated()`
Methods inherited from: `AnnotatedDeclaration` `annotations()`
Methods inherited from: `ClassDeclaration` `annotatedConstructorDeclarations()`, `classApply()`, `constructorDeclarations()`, `getConstructorDeclaration()`, `getParameterDeclaration()`, `instantiate()`, `memberClassApply()`, `memberInstantiate()`
Methods inherited from: `ClassOrInterfaceDeclaration` `annotatedDeclaredMemberDeclarations()`, `annotatedMemberDeclarations()`, `apply()`, `declaredMemberDeclarations()`, `getDeclaredMemberDeclaration()`, `getMemberDeclaration()`, `memberApply()`, `memberDeclarations()`
Methods inherited from: `GenericDeclaration` `getTypeParameterDeclaration()`