setElementType

open fun setElementType(typeClass: Class<out Any>): ArrayCreationExpr(source)

Sets this type to this class and try to import it to the CompilationUnit if needed

Return

this

Parameters

typeClass

the type