import

fun <T> import(clazz: Class<T>)

Registers a Java class to be imported in generated scripts.

Parameters

clazz

the class to add to the import list

Type Parameters

T

the type of the class to import