put

abstract fun put(@NonNull annotationType: AnnotationType, @Nullable configuration: AnnotationConfiguration)

Registers annotation configuration for given annotation type. This replaces default configuration.

Parameters

annotationType

Type of annotation for which to register the configuration.

configuration

Configuration to register.


abstract fun put(@NonNull annotationTool: AnnotationTool, @Nullable configuration: AnnotationConfiguration)

Registers configuration for given annotation tool. This replaces default configuration.

Parameters

annotationTool

Annotation tool for which to register configuration.

configuration

Configuration to register.

See also


abstract fun put(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant, @Nullable configuration: AnnotationConfiguration)

Registers configuration for given annotation tool. This replaces default configuration.

Parameters

annotationTool

Annotation tool for which to register configuration.

toolVariant

Annotation tool variant for which to set the configuration.

configuration

Configuration to register.