parametersOf

@DelicateKotlinPoetApi(message = "Element APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead.")
fun parametersOf(method: <Error class: unknown class>): List<ParameterSpec>