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

Method cacheClassInfo

src/bsh/BshClassManager.java:285–290  ·  view source on GitHub ↗

Cache info about whether name is a class or not. @param value if value is non-null, cache the class if value is null, set the flag that it is not a class to speed later resolution

( String name, Class value )

Source from the content-addressed store, hash-verified

283 speed later resolution
284 */
285 public void cacheClassInfo( String name, Class value ) {
286 if ( value != null )
287 absoluteClassCache.put( name, value );
288 else
289 absoluteNonClasses.add( name );
290 }
291
292 /**
293 * Associate a persistent generated class implementation with this

Callers 3

plainClassForNameMethod · 0.95
getImportedClassImplMethod · 0.80
classForNameMethod · 0.80

Calls 2

putMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected