Package gw.internal.gosu.parser
Class ClassCache
- java.lang.Object
-
- gw.internal.gosu.parser.ClassCache
-
public class ClassCache extends Object
-
-
Constructor Summary
Constructors Constructor Description ClassCache(IModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanclassFileExists(String className)voidclearClasspathInfo()voiddispose()Set<String>getAllTypeNames()Set<TypeName>getTypeNames(String namespace)booleanhasNamespace(String namespace)AsmClassloadAsmClass(String className)ClassloadClass(String className)voidreassignClassLoader()Called in Single module mode.voidremove(String fullyQualifiedName)
-
-
-
Constructor Detail
-
ClassCache
public ClassCache(IModule module)
-
-
Method Detail
-
classFileExists
public boolean classFileExists(String className)
-
clearClasspathInfo
public void clearClasspathInfo()
-
remove
public void remove(String fullyQualifiedName)
-
dispose
public void dispose()
-
reassignClassLoader
public void reassignClassLoader()
Called in Single module mode. If the parent loader of the ModuleClassLoader is the GosuPluginContainer, we drop the ModuleClassLoader and its parent, the GosuPluginContainer. New ones are created and assigned here. Note, this is a giant hack among many gianter hacks that keep the old test framework floating.
-
hasNamespace
public boolean hasNamespace(String namespace)
-
-