Skip to content

Add direct access to JShell  #27

@andrus

Description

@andrus

Sometimes it is useful to poke inside JShell internals when in a notebook (e.g. SpencerPark/IJava#128) :

JJava.getKernelInstance().getShell().snippets();

So let's add a public method to the JavaKernel class:

public JShell getShell() {
   return evaluator.getShell();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions