inject

fun inject(cls: KClass<*>)(source)

Embeds the provided class into template and adds it to the set of input classes. It takes a class as an argument, referred to as cls, and embeds this class into the current System Model Template.

The inject() method is primarily used to introduce new classes to the system model that are not originally part of the input classes. These could be utility classes or any other classes that augment the functionality or structural understanding of the system.


fun inject(cls: Class<*>)(source)


fun inject(classBytes: ByteArray)(source)

Embeds the provided class into template and adds it to the set of input classes. It takes a ByteArray representation of a class file as an argument, referred to as classBytes, and embeds this class into the current System Model Template.

The inject() method is primarily used to introduce new classes to the system model that are not originally part of the input classes. These could be utility classes or any other classes that augment the functionality or structural understanding of the system.