public ClassTypeResolver(final List imports, ClassLoader classLoader) { this.imports = imports;  if ( classLoader == null ) { classLoader = Thread.currentThread().getContextClassLoader(); }  if ( classLoader == null ) { classLoader = getClass().getClassLoader(); }  this.classLoader = classLoader;
public ClassTypeResolver(final List imports) { this( imports, null );
    public ClassTypeResolver(final List imports,                             ClassLoader classLoader) {        this.imports = imports;        if ( classLoader == null ) {            classLoader = Thread.currentThread().getContextClassLoader();        }        if ( classLoader == null ) {            classLoader = getClass().getClassLoader();        }        this.classLoader = classLoader;    }