MCPcopy Index your code
hub / github.com/beanshell/beanshell / getCmd

Method getCmd

src/bsh/util/JConsole.java:406–415  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404 }
405
406 private String getCmd() {
407 String s = "";
408 try {
409 s = text.getText(cmdStart, textLength() - cmdStart);
410 } catch (BadLocationException e) {
411 // should not happen
412 System.out.println("Internal JConsole Error: "+e);
413 }
414 return s;
415 }
416
417 private void historyUp() {
418 if ( history.size() == 0 )

Callers 2

enterMethod · 0.95
historyUpMethod · 0.95

Calls 3

textLengthMethod · 0.95
getTextMethod · 0.80
printlnMethod · 0.65

Tested by

no test coverage detected