setType
Sets the type
Return
this
Parameters
type
the type
Sets this type to this class and try to import it to the CompilationUnit if needed
Return
this
Parameters
typeClass
the type
Sets the type
this
the type
Sets this type to this class and try to import it to the CompilationUnit if needed
this
the type