urls[i] = new File( (String) cp.get( i ) ).toURL();
urls[i] = ( (File) cp.get( i ) ).toURL();
    private void checkForAspectJRT( List cp )    {        if ( cp == null || cp.isEmpty() )        {            throw new IllegalStateException( "AspectJ Runtime not found in supplied classpath" );        }        else        {            try            {                URL[] urls = new URL[cp.size()];                for ( int i = 0; i < urls.length; i++ )                {                    urls[i] = new File( (String) cp.get( i ) ).toURL();                }                URLClassLoader cloader = new URLClassLoader( urls );                cloader.loadClass( "org.aspectj.lang.JoinPoint" );            }            catch ( MalformedURLException e )            {                throw new IllegalArgumentException( "Invalid classpath entry" );            }            catch ( ClassNotFoundException e )            {                throw new IllegalStateException( "AspectJ Runtime not found in supplied classpath" );            }        }    }