BasePrimitiveSpecificAnnotationArgumentProducer
abstract class BasePrimitiveSpecificAnnotationArgumentProducer<Raw> : BaseAnnotationArgumentProducer<Raw> (source)
A variant of BaseAnnotationArgumentProducer that has a method for each primitive type.
Functions
Link copied to clipboard
open override fun <A : AnnotationArgument, P : AnnotationParameterType<A>> getArgument(parameter: AnnotationParameter<P>): A?
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.