kotlinpoet-metadata-specs
/
com.squareup.kotlinpoet.metadata.specs.internal
/
ClassInspectorUtil
/
createThrowsSpec
create
Throws
Spec
Return
a
@Throws
AnnotationSpec
representation of a given collection of
exceptions
.
fun
createThrowsSpec
(exceptions:
Collection
<
TypeName
>, useSiteTarget:
AnnotationSpec.UseSiteTarget
?):
AnnotationSpec
Content copied to clipboard