@Test public void testCreateBindings() throws ScriptException { ScriptEngineManager manager = new ScriptEngineManager(); ScriptEngine engine = manager.getEngineByName("jshell"); assertThat(engine.createBindings()).isNotNull(); }
@Override public Bindings createBindings() { return new SimpleBindings(); }
JShellScriptEngine implements ScriptEngine, Compilable { @Override public Bindings createBindings() { return new SimpleBindings(); } }
JShellScriptEngine implements ScriptEngine, Compilable { @Override public Bindings createBindings() { return new SimpleBindings(); }  }
JShellScriptEngine implements ScriptEngine, Compilable { @Override public Bindings createBindings() { return new SimpleBindings(); }  @Override ScriptContext getContext(); @Override void setContext(ScriptContext context); @Override Bindings createBindings(); @Override Bindings getBindings(int scope); @Override void setBindings(Bindings bindings, int scope); @Override void put(String key, Object value); @Override Object get(String key); @Override ScriptEngineFactory getFactory(); @Override Object eval(Reader reader); @Override Object eval(String script); @Override Object eval(Reader reader, ScriptContext context); @Override Object eval(String script, ScriptContext context); @Override Object eval(Reader reader, Bindings bindings); @Override Object eval(String script, Bindings bindings); @Override CompiledScript compile(Reader reader); @Override CompiledScript compile(String script); }
JShellScriptEngine implements ScriptEngine, Compilable { @Override public Bindings createBindings() { return new SimpleBindings(); }  @Override ScriptContext getContext(); @Override void setContext(ScriptContext context); @Override Bindings createBindings(); @Override Bindings getBindings(int scope); @Override void setBindings(Bindings bindings, int scope); @Override void put(String key, Object value); @Override Object get(String key); @Override ScriptEngineFactory getFactory(); @Override Object eval(Reader reader); @Override Object eval(String script); @Override Object eval(Reader reader, ScriptContext context); @Override Object eval(String script, ScriptContext context); @Override Object eval(Reader reader, Bindings bindings); @Override Object eval(String script, Bindings bindings); @Override CompiledScript compile(Reader reader); @Override CompiledScript compile(String script);  }