public CommandInterpreter(Environment env, boolean echo) { this.env = env; this.echo = echo; this.runtime = env.getExecutionManager(); this.context = env.getContextManager(); this.classManager = env.getClassManager(); this.sourceManager = env.getSourceManager(); }
public SourceManager(Environment env, SearchPath sourcePath) { this.env = env; this.sourceList = new LinkedList<SourceModel>(); this.sourcePath = sourcePath; env.getExecutionManager().addJDIListener(classListener); }