addConstructorArguments abstract method

Spec<T> addConstructorArguments(
  1. ArgumentValue argument
)

Adds a constructor argument for pod instantiation.

Constructor arguments help resolve dependencies during creation.

Example

spec.addConstructorArguments(ArgumentValue.of(Database.classType));

Implementation

Spec<T> addConstructorArguments(ArgumentValue argument);