MCPcopy Create free account
hub / github.com/beanshell/beanshell / addComponent

Method addComponent

src/bsh/classpath/BshClassPath.java:110–115  ·  view source on GitHub ↗

Add the specified BshClassPath as a component of our path. Changes in the bcp will be reflected through us.

( BshClassPath bcp )

Source from the content-addressed store, hash-verified

108 Changes in the bcp will be reflected through us.
109 */
110 public void addComponent( BshClassPath bcp ) {
111 if ( compPaths == null )
112 compPaths = new ArrayList();
113 compPaths.add( bcp );
114 bcp.addListener( this );
115 }
116
117 public void add( URL [] urls ) {
118 path.addAll( Arrays.asList(urls) );

Callers 2

reloadAllClassesMethod · 0.95
getClassPathMethod · 0.80

Calls 2

addMethod · 0.45
addListenerMethod · 0.45

Tested by

no test coverage detected