AnnotationArgumentProducer

Produces AnnotationArguments for given parameters, or null if the parameter is not present. Typically based on some underlying "raw" instance, i.e. IrAnnotation.

Used to create Symbol.Annotation.Instances for Symbol.Annotations.

If implementing your own, you probably should extend BaseAnnotationArgumentProducer or BasePrimitiveSpecificAnnotationArgumentProducer rather than this directly.

Inheritors

Functions

Link copied to clipboard

Returns the argument for the corresponding parameter, or null if the parameter is not present. The returned argument's AnnotationArgument.type must match the parameter's AnnotationParameter.type.