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

Method getClassPath

src/bsh/classpath/ClassManagerImpl.java:451–466  ·  view source on GitHub ↗

Get the full blown classpath.

()

Source from the content-addressed store, hash-verified

449 Get the full blown classpath.
450 */
451 public BshClassPath getClassPath() throws ClassPathException
452 {
453 if ( fullClassPath != null )
454 return fullClassPath;
455
456 fullClassPath = new BshClassPath("BeanShell Full Class Path");
457 fullClassPath.addComponent( BshClassPath.getUserClassPath() );
458 try {
459 fullClassPath.addComponent( BshClassPath.getBootClassPath() );
460 } catch ( ClassPathException e ) {
461 System.err.println("Warning: can't get boot class path");
462 }
463 fullClassPath.addComponent( baseClassPath );
464
465 return fullClassPath;
466 }
467
468 /**
469 Support for "import *;"

Callers 3

doSuperImportMethod · 0.95
getClassNameByUnqNameMethod · 0.95
initMethod · 0.80

Calls 4

getUserClassPathMethod · 0.95
getBootClassPathMethod · 0.95
addComponentMethod · 0.80
printlnMethod · 0.65

Tested by

no test coverage detected