public final static Class < ? > getCompiledClass ( String fullClassName , boolean useCache ) throws Err . Compilation , Err . UnloadableClass { try { if ( ! useCache ) { DynamicClassLoader dynamicClassLoader = new DynamicClassLoader ( fullClassName . substring ( 0 , fullClassName . lastIndexOf ( ' ' ) ) ) ; Class < ? > cl = dynamicClassLoader . loadClass ( fullClassName ) ; dynamicClassLoader = null ; return cl ; } else { return CACHED_CONTROLLERS . computeIfAbsent ( fullClassName , WRAP_FORNAME ) ; } } catch ( Exception e ) { throw new Err . UnloadableClass ( e ) ; } }
Handles caching of classes if not useCache