baseOutputDirectory = request.getTransientOutputFolder();
classes = request.getClasses();
ClassLoader classLoader = request.getClassLoader();
Generator generator = createGenerator( classLoader );
as3TypeFactoryImpl = new DefaultAs3TypeFactory();
int count = 0;
for ( Map.Entry<String, File> classEntry : classes.entrySet() )
{
Class<?> clazz = null;
try
{
clazz = classLoader.loadClass( classEntry.getKey() );
JavaAs3Input input = new JavaAs3Input( clazz, classEntry.getValue() );
for ( Output<?> output : generator.generate( input ) )
{
if ( output.isOutdated() )
{
count++;
}