public final class PMDASMClassLoader extends ClassLoader
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getImportedClasses(String name) |
static PMDASMClassLoader |
getInstance(ClassLoader parent)
A new PMDASMClassLoader is created for each compilation unit, this method
allows to reuse the same PMDASMClassLoader across all the compilation
units.
|
Class<?> |
loadClass(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public static PMDASMClassLoader getInstance(ClassLoader parent)
public Class<?> loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public Map<String,String> getImportedClasses(String name) throws ClassNotFoundException
ClassNotFoundException
Copyright © 2002-2016 InfoEther. All Rights Reserved.