fun from(dependency: Any): Unit
Adds a dependency to the inheritance object.
dependency - object, that defines a dependency
dependency