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 boolean
classFileExists(String className)
void
clearClasspathInfo()
void
dispose()
Set<String>
getAllTypeNames()
Set<TypeName>
getTypeNames(String namespace)
boolean
hasNamespace(String namespace)
AsmClass
loadAsmClass(String className)
Class
loadClass(String className)
void
reassignClassLoader()
Called in Single module mode.void
remove(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)
-
-