Added a method to get the list of dependencies from a Class
Research for using a TreeWalker to resolve dependencies