JavaShell api to load declared or referenced types