put
abstract fun put(@NonNull annotationType: AnnotationType, @Nullable configuration: AnnotationConfiguration)
Registers annotation configuration for given annotation type. This replaces default configuration.
Parameters
annotation Type
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
annotation Tool
Annotation tool for which to register configuration.
configuration
Configuration to register.
See also
to set configuration for tool variant.
abstract fun put(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant, @Nullable configuration: AnnotationConfiguration)
Registers configuration for given annotation tool. This replaces default configuration.
Parameters
annotation Tool
Annotation tool for which to register configuration.
tool Variant
Annotation tool variant for which to set the configuration.
configuration
Configuration to register.