MethodGen mg =
new MethodGen( method.getAccessFlags(), method.getReturnType(), method.getArgumentTypes(), null,
method.getName(), null, il, cp );
il.append( InstructionFactory.createLoad( Type.OBJECT, 0 ) );
il.append( _factory.createInvoke( FLEXMOJOS_HELPER,
"fixPathResolver",
new ObjectType( "flex2.compiler.common.PathResolver" ),
new Type[] { new ObjectType( "flex2.compiler.common.PathResolver" ) },
Constants.INVOKESTATIC ) );
il.append( InstructionFactory.createStore( Type.OBJECT, 0 ) );