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

Method setClassSource

src/bsh/classpath/BshClassPath.java:184–187  ·  view source on GitHub ↗

Explicitly set a class source. This is used for generated classes, but could potentially be used to allow a user to override which version of a class from the classpath is located.

( String className, ClassSource cs )

Source from the content-addressed store, hash-verified

182 a class from the classpath is located.
183 */
184 synchronized public void setClassSource( String className, ClassSource cs )
185 {
186 classSource.put( className, cs );
187 }
188
189 /**
190 If the claspath map is not initialized, do it now.

Callers 1

defineClassMethod · 0.80

Calls 1

putMethod · 0.65

Tested by

no test coverage detected