Class MaskedClassLoader
java.lang.Object
java.lang.ClassLoader
com.google.errorprone.MaskedClassLoader
A classloader that allows plugins to access the Error Prone classes from the compiler classpath.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<?> static void
preRegisterFileManager
(com.sun.tools.javac.util.Context context) An alternative toJavacFileManager.preRegister(Context)
that installs aMaskedClassLoader
.Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
MaskedClassLoader
-
-
Method Details
-
preRegisterFileManager
public static void preRegisterFileManager(com.sun.tools.javac.util.Context context) An alternative toJavacFileManager.preRegister(Context)
that installs aMaskedClassLoader
. -
findClass
- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-