http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSFieldMembers.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSFieldMembers.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSFieldMembers.java
index 7729981..1f135ad 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSFieldMembers.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSFieldMembers.java
@@ -134,7 +134,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("protected var foo:Foo = new 
Foo('bar', 42);",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = new Foo('bar', 42);\n};\n\n\n/**\n * @protected\n * @type 
{Foo}\n */\nFalconTest_A.prototype.foo;");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = new Foo('bar', 42);\n};\n\n\n/**\n * Prevent renaming of class. 
Needed for reflection.\n */\ngoog.exportSymbol('FalconTest_A', 
FalconTest_A);\n\n\n/**\n * @protected\n * @type {Foo}\n 
*/\nFalconTest_A.prototype.foo;");
     }
 
     @Test
@@ -167,7 +167,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("protected var foo:Array = [ 
'foo' ]",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = ['foo'];\n};\n\n\n/**\n * @protected\n * @type {Array}\n 
*/\nFalconTest_A.prototype.foo;");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = ['foo'];\n};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * 
@protected\n * @type {Array}\n */\nFalconTest_A.prototype.foo;");
     }
     
     @Test
@@ -176,7 +176,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("protected var foo:Object = { 
'foo': 'bar' }",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = {'foo':'bar'};\n};\n\n\n/**\n * @protected\n * @type {Object}\n 
*/\nFalconTest_A.prototype.foo;");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = {'foo':'bar'};\n};\n\n\n/**\n * Prevent renaming of class. 
Needed for reflection.\n */\ngoog.exportSymbol('FalconTest_A', 
FalconTest_A);\n\n\n/**\n * @protected\n * @type {Object}\n 
*/\nFalconTest_A.prototype.foo;");
     }
     
     @Test
@@ -185,7 +185,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("import 
flash.utils.flash_proxy;use namespace flash_proxy;public static var foo:Object 
= initFoo(); flash_proxy static function initFoo():Object { return null; }",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @export\n * @type {Object}\n 
*/\nFalconTest_A.foo;\n\n\n/**\n * @return {Object}\n 
*/\nFalconTest_A[\"http://www.adobe.com/2006/actionscript/flash/proxy::initFoo\";]
 = function() {\n  return null;\n};\n\nFalconTest_A.foo = 
FalconTest_A[\"http://www.adobe.com/2006/actionscript/flash/proxy::initFoo\";]();\n\n");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * Prevent renaming of class. Needed for reflection.\n 
*/\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * @export\n * 
@type {Object}\n */\nFalconTest_A.foo;\n\n\n/**\n * @return {Object}\n 
*/\nFalconTest_A[\"http://www.adobe.com/2006/actionscript/flash/proxy::initFoo\";]
 = function() {\n  return null;\n};\n\nFalconTest_A.foo = 
FalconTest_A[\"http://www.adobe.com/2006/actionscript/flash/proxy::initFoo\";]();\n\n");
     }
     
     @Test
@@ -194,7 +194,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("static public var foo:Object = 
{ 'foo': 'bar' }",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @export\n * @type {Object}\n */\nFalconTest_A.foo = 
{'foo':'bar'};");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * Prevent renaming of class. Needed for reflection.\n 
*/\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * @export\n * 
@type {Object}\n */\nFalconTest_A.foo = {'foo':'bar'};");
     }
     
     @Test
@@ -203,7 +203,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("protected var foo:Number = 
parseFloat('1E2')",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = parseFloat('1E2');\n};\n\n\n/**\n * @protected\n * @type 
{number}\n */\nFalconTest_A.prototype.foo;");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = parseFloat('1E2');\n};\n\n\n/**\n * Prevent renaming of class. 
Needed for reflection.\n */\ngoog.exportSymbol('FalconTest_A', 
FalconTest_A);\n\n\n/**\n * @protected\n * @type {number}\n 
*/\nFalconTest_A.prototype.foo;");
     }
     
     @Test
@@ -212,7 +212,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("private static var 
empty:Function = function():void {}",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @private\n * @type {Function}\n */\nFalconTest_A.empty = 
function() {\n};");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * Prevent renaming of class. Needed for reflection.\n 
*/\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * @private\n * 
@type {Function}\n */\nFalconTest_A.empty = function() {\n};");
     }
     
     @Override
@@ -293,7 +293,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("protected const foo:Number = 
parseFloat('1E2');",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = parseFloat('1E2');\n};\n\n\n/**\n * @protected\n * @const\n * 
@type {number}\n */\nFalconTest_A.prototype.foo;");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = parseFloat('1E2');\n};\n\n\n/**\n * Prevent renaming of class. 
Needed for reflection.\n */\ngoog.exportSymbol('FalconTest_A', 
FalconTest_A);\n\n\n/**\n * @protected\n * @const\n * @type {number}\n 
*/\nFalconTest_A.prototype.foo;");
     }
     
     @Test
@@ -302,7 +302,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("protected const foo:Array = [ 
'foo' ]",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = ['foo'];\n};\n\n\n/**\n * @protected\n * @const\n * @type 
{Array}\n */\nFalconTest_A.prototype.foo;");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = ['foo'];\n};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * 
@protected\n * @const\n * @type {Array}\n */\nFalconTest_A.prototype.foo;");
     }
     
     @Test
@@ -311,7 +311,7 @@ public class TestFlexJSFieldMembers extends 
TestGoogFieldMembers
        IClassNode node = (IClassNode) getNode("protected const foo:Object = { 
'foo': 'bar' }",
                        IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = {'foo':'bar'};\n};\n\n\n/**\n * @protected\n * @const\n * @type 
{Object}\n */\nFalconTest_A.prototype.foo;");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n\nthis.foo = {'foo':'bar'};\n};\n\n\n/**\n * Prevent renaming of class. 
Needed for reflection.\n */\ngoog.exportSymbol('FalconTest_A', 
FalconTest_A);\n\n\n/**\n * @protected\n * @const\n * @type {Object}\n 
*/\nFalconTest_A.prototype.foo;");
     }
 
     @Override

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSInterface.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSInterface.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSInterface.java
index bacd034..4457e09 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSInterface.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSInterface.java
@@ -34,6 +34,42 @@ import org.junit.Test;
  */
 public class TestFlexJSInterface extends TestGoogInterface
 {
+    @Override
+    @Test
+    public void testSimple()
+    {
+        IInterfaceNode node = getInterfaceNode("public interface IA{}");
+        asBlockWalker.visitInterface(node);
+        assertOut("/**\n * @interface\n */\nIA = function() {\n};\n\n\n/**\n * 
Prevent renaming of class. Needed for reflection.\n */\ngoog.exportSymbol('IA', 
IA);");
+    }
+
+    @Override
+    @Test
+    public void testSimpleExtends()
+    {
+        IInterfaceNode node = getInterfaceNode("public interface IA extends 
IB{}");
+        asBlockWalker.visitInterface(node);
+        assertOut("/**\n * @interface\n * @extends {IB}\n */\nIA = function() 
{\n};\n\n\n/**\n * Prevent renaming of class. Needed for reflection.\n 
*/\ngoog.exportSymbol('IA', IA);");
+    }
+
+    @Override
+    @Test
+    public void testSimpleExtendsMultiple()
+    {
+        IInterfaceNode node = getInterfaceNode("public interface IA extends 
IB, IC, ID {}");
+        asBlockWalker.visitInterface(node);
+        assertOut("/**\n * @interface\n * @extends {IB}\n * @extends {IC}\n * 
@extends {ID}\n */\nIA = function() {\n};\n\n\n/**\n * Prevent renaming of 
class. Needed for reflection.\n */\ngoog.exportSymbol('IA', IA);");
+    }
+
+    @Override
+    @Test
+    public void testQualifiedExtendsMultiple()
+    {
+        IInterfaceNode node = getInterfaceNode("public interface IA extends 
foo.bar.IB, baz.goo.IC, foo.ID {}");
+        asBlockWalker.visitInterface(node);
+        assertOut("/**\n * @interface\n * @extends {foo.bar.IB}\n * @extends 
{baz.goo.IC}\n * @extends {foo.ID}\n */\nIA = function() {\n};\n\n\n/**\n * 
Prevent renaming of class. Needed for reflection.\n */\ngoog.exportSymbol('IA', 
IA);");
+    }
+
 
     @Override
     @Test
@@ -43,7 +79,7 @@ public class TestFlexJSInterface extends TestGoogInterface
                 + "function get foo1():Object;"
                 + "function set foo1(value:Object):void;}");
         asBlockWalker.visitInterface(node);
-        assertOut("/**\n * @interface\n */\nIA = function() {\n};\n/**  * 
@type {Object}\n */IA.prototype.foo1;");
+        assertOut("/**\n * @interface\n */\nIA = function() {\n};\n\n\n/**\n * 
Prevent renaming of class. Needed for reflection.\n */\ngoog.exportSymbol('IA', 
IA);\n/**  * @type {Object}\n */IA.prototype.foo1;");
     }
 
     @Override
@@ -54,7 +90,7 @@ public class TestFlexJSInterface extends TestGoogInterface
                 + "function baz1():Object;"
                 + "function baz2(value:Object):void;}");
         asBlockWalker.visitInterface(node);
-        assertOut("/**\n * @interface\n */\nIA = function() 
{\n};\nIA.prototype.baz1 = function() {\n};\nIA.prototype.baz2 = 
function(value) {\n};");
+        assertOut("/**\n * @interface\n */\nIA = function() {\n};\n\n\n/**\n * 
Prevent renaming of class. Needed for reflection.\n */\ngoog.exportSymbol('IA', 
IA);\nIA.prototype.baz1 = function() {\n};\nIA.prototype.baz2 = function(value) 
{\n};");
     }
 
     @Override
@@ -67,7 +103,7 @@ public class TestFlexJSInterface extends TestGoogInterface
                 + "function baz1():Object;"
                 + "function baz2(value:Object):void;}");
         asBlockWalker.visitInterface(node);
-        assertOut("/**\n * @interface\n */\nIA = function() {\n};\n/**  * 
@type {Object}\n */IA.prototype.foo1;\nIA.prototype.baz1 = function() 
{\n};\nIA.prototype.baz2 = function(value) {\n};");
+        assertOut("/**\n * @interface\n */\nIA = function() {\n};\n\n\n/**\n * 
Prevent renaming of class. Needed for reflection.\n */\ngoog.exportSymbol('IA', 
IA);\n/**  * @type {Object}\n */IA.prototype.foo1;\nIA.prototype.baz1 = 
function() {\n};\nIA.prototype.baz2 = function(value) {\n};");
     }
 
     protected IBackend createBackend()

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSMethodMembers.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSMethodMembers.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSMethodMembers.java
index 11d2321..35d1443 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSMethodMembers.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSMethodMembers.java
@@ -113,7 +113,7 @@ public class TestFlexJSMethodMembers extends 
TestGoogMethodMembers
     {
         IClassNode node = (IClassNode) getNode("public function 
FalconTest_A(){this.foo();}; private function foo():String{return '';};", 
IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() {\n  
this.foo();\n};\n\n\n/**\n * @private\n * @return {string}\n 
*/\nFalconTest_A.prototype.foo = function() {\n  return '';\n};");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() {\n  
this.foo();\n};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * 
@private\n * @return {string}\n */\nFalconTest_A.prototype.foo = function() {\n 
 return '';\n};");
     }
 
     @Test
@@ -121,7 +121,7 @@ public class TestFlexJSMethodMembers extends 
TestGoogMethodMembers
     {
         IClassNode node = (IClassNode) getNode("public function 
FalconTest_A(){foo();}; private function foo():String{return '';};", 
IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() {\n  
this.foo();\n};\n\n\n/**\n * @private\n * @return {string}\n 
*/\nFalconTest_A.prototype.foo = function() {\n  return '';\n};");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() {\n  
this.foo();\n};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * 
@private\n * @return {string}\n */\nFalconTest_A.prototype.foo = function() {\n 
 return '';\n};");
     }
 
     @Override
@@ -130,7 +130,7 @@ public class TestFlexJSMethodMembers extends 
TestGoogMethodMembers
     {
         IClassNode node = (IClassNode) getNode("public function 
FalconTest_A(){}; private var baz:String; private function foo():String{return 
this.baz;};", IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-         assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @private\n * @type {string}\n 
*/\nFalconTest_A.prototype.baz;\n\n\n/**\n * @private\n * @return {string}\n 
*/\nFalconTest_A.prototype.foo = function() {\n  return this.baz;\n};");
+         assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * Prevent renaming of class. Needed for reflection.\n 
*/\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * @private\n * 
@type {string}\n */\nFalconTest_A.prototype.baz;\n\n\n/**\n * @private\n * 
@return {string}\n */\nFalconTest_A.prototype.foo = function() {\n  return 
this.baz;\n};");
     }
 
     @Test
@@ -138,7 +138,7 @@ public class TestFlexJSMethodMembers extends 
TestGoogMethodMembers
     {
         IClassNode node = (IClassNode) getNode("public function 
FalconTest_A(){}; private var baz:String; private function foo():String{return 
baz;};", IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-         assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @private\n * @type {string}\n 
*/\nFalconTest_A.prototype.baz;\n\n\n/**\n * @private\n * @return {string}\n 
*/\nFalconTest_A.prototype.foo = function() {\n  return this.baz;\n};");
+         assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * Prevent renaming of class. Needed for reflection.\n 
*/\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * @private\n * 
@type {string}\n */\nFalconTest_A.prototype.baz;\n\n\n/**\n * @private\n * 
@return {string}\n */\nFalconTest_A.prototype.foo = function() {\n  return 
this.baz;\n};");
     }
 
     @Override
@@ -147,7 +147,7 @@ public class TestFlexJSMethodMembers extends 
TestGoogMethodMembers
     {
         IClassNode node = (IClassNode) getNode("public function 
FalconTest_A(){}; private function foo(value:int):String{return value;}; 
private function bar():String{if(true){while(i){return this.foo(42);}}};", 
IClassNode.class, WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @private\n * @param {number} value\n * @return {string}\n 
*/\nFalconTest_A.prototype.foo = function(value) {\n  return 
value;\n};\n\n\n/**\n * @private\n * @return {string}\n 
*/\nFalconTest_A.prototype.bar = function() {\n  if (true) {\n    while (i) {\n 
     return this.foo(42);\n    }\n  }\n};");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * Prevent renaming of class. Needed for reflection.\n 
*/\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * @private\n * 
@param {number} value\n * @return {string}\n */\nFalconTest_A.prototype.foo = 
function(value) {\n  return value;\n};\n\n\n/**\n * @private\n * @return 
{string}\n */\nFalconTest_A.prototype.bar = function() {\n  if (true) {\n    
while (i) {\n      return this.foo(42);\n    }\n  }\n};");
     }
 
     @Test
@@ -155,7 +155,7 @@ public class TestFlexJSMethodMembers extends 
TestGoogMethodMembers
     {
         IClassNode node = (IClassNode) getNode("public function 
FalconTest_A(){}; private function foo(value:int):String{return value;}; 
private function bar():void{if(true){while(i){foo(42);}}};", IClassNode.class, 
WRAP_LEVEL_CLASS);
         asBlockWalker.visitClass(node);
-        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @private\n * @param {number} value\n * @return {string}\n 
*/\nFalconTest_A.prototype.foo = function(value) {\n  return 
value;\n};\n\n\n/**\n * @private\n */\nFalconTest_A.prototype.bar = function() 
{\n  if (true) {\n    while (i) {\n      this.foo(42);\n    }\n  }\n};");
+        assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * Prevent renaming of class. Needed for reflection.\n 
*/\ngoog.exportSymbol('FalconTest_A', FalconTest_A);\n\n\n/**\n * @private\n * 
@param {number} value\n * @return {string}\n */\nFalconTest_A.prototype.foo = 
function(value) {\n  return value;\n};\n\n\n/**\n * @private\n 
*/\nFalconTest_A.prototype.bar = function() {\n  if (true) {\n    while (i) {\n 
     this.foo(42);\n    }\n  }\n};");
     }
 
     @Override

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
index f9afc81..360b875 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
@@ -82,7 +82,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                        " * @constructor\n" +
                        " */\n" +
                        "A = function() {\n" +
-                       "};\n" +
+                       "};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('A', A);\n" +
                        "\n" +
                        "\n" +
                        "/**\n" +
@@ -93,12 +93,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                        "A.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'A', 
qName: 'A', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('A', A);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -136,7 +130,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                        " * @constructor\n" +
                        " */\n" +
                        "foo.bar.baz.A = function() {\n" +
-                       "};\n" +
+                       "};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "/**\n" +
@@ -147,12 +141,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                        "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -190,7 +178,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                        " * @constructor\n" +
                        " */\n" +
                        "foo.bar.baz.A = function() {\n" +
-                       "};\n" +
+                       "};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "/**\n" +
@@ -201,12 +189,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                        "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -253,7 +235,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                        "      doit();\n" +
                        "    }\n" +
                        "  }\n" +
-                       "};\n" +
+                       "};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "/**\n" +
@@ -264,12 +246,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                        "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -310,7 +286,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                        " * @constructor\n" +
                        " */\n" +
                        "foo.bar.baz.A = function() {\n" +
-                       "};\n" +
+                       "};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "/**\n" +
@@ -321,12 +297,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                        "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -368,7 +338,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                        " * @constructor\n" +
                        " */\n" +
                        "foo.bar.baz.A = function() {\n" +
-                       "};\n" +
+                       "};\n\n\n/**\n * Prevent renaming of class. Needed for 
reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "/**\n" +
@@ -385,12 +355,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                        "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -443,7 +407,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " */\n" +
                          "foo.bar.baz.A = function() {\n" +
                          "  var /** @type {foo.bar.baz.A.InternalClass} */ 
internalClass = new foo.bar.baz.A.InternalClass();\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                          "\n" +
                          "\n/" +
                          "**\n" +
@@ -454,12 +418,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -484,7 +442,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @constructor\n" +
                          " */\n" +
                          "foo.bar.baz.A.InternalClass = function() {\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A.InternalClass', 
foo.bar.baz.A.InternalClass);\n" +
                          "\n" +
                          "\n" +
                          "/**\n" +
@@ -493,12 +451,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @type {Object.<string, Array.<Object>>}\n" +
                          " */\n" +
                          
"foo.bar.baz.A.InternalClass.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'InternalClass', qName: 'foo.bar.baz.A.InternalClass', kind: 'class' }] };\n" +
-                       "\n" +
-                       "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A.InternalClass', 
foo.bar.baz.A.InternalClass);\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -548,7 +500,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                                " */\n" +
                                "foo.bar.baz.A = function() {\n" +
                                "  foo.bar.baz.A.internalFunction();\n" +
-                               "};\n" +
+                               "};\n\n\n/**\n * Prevent renaming of class. 
Needed for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', 
foo.bar.baz.A);\n" +
                                "\n" +
                                "\n/" +
                                "**\n" +
@@ -557,12 +509,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                                " * @type {Object.<string, Array.<Object>>}\n" +
                                " */\n" +
                                "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { 
names: [{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
-                       "\n" +
-                       "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -617,7 +563,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                                " */\n" +
                                "foo.bar.baz.A = function() {\n" +
                                "  foo.bar.baz.A.internalVar = 3;\n" +
-                               "};\n" +
+                               "};\n\n\n/**\n * Prevent renaming of class. 
Needed for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', 
foo.bar.baz.A);\n" +
                                "\n" +
                                "\n/" +
                                "**\n" +
@@ -626,12 +572,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                                " * @type {Object.<string, Array.<Object>>}\n" +
                                " */\n" +
                                "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { 
names: [{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
-                       "\n" +
-                       "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -701,7 +641,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          "  var /** @type {string} */ myString = 
foo.bar.baz.A.InternalClass.someString;\n" +
                          "  myString = 
foo.bar.baz.A.InternalClass.someStaticFunction();\n" +
                          "  myString = internalClass.someMethod();\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                          "\n" +
                          "\n" +
                          "/**\n" +
@@ -710,12 +650,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @type {Object.<string, Array.<Object>>}\n" +
                          " */\n" +
                          "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
-                       "\n" +
-                       "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -742,7 +676,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @constructor\n" +
                          " */\n" +
                          "foo.bar.baz.A.InternalClass = function() {\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A.InternalClass', 
foo.bar.baz.A.InternalClass);\n" +
                          "\n" +
                          "\n" +
                          "/**\n" +
@@ -778,12 +712,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          
"foo.bar.baz.A.InternalClass.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'InternalClass', qName: 'foo.bar.baz.A.InternalClass', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A.InternalClass', 
foo.bar.baz.A.InternalClass);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -853,7 +781,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          "  var /** @type {foo.bar.baz.A.InternalClass} */ 
internalClass = new foo.bar.baz.A.InternalClass();\n" +
                          "  this.myString = internalClass.someString;\n" +
                          "  internalClass.someString = this.myString;\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                          "\n" +
                          "\n" +
                   "foo.bar.baz.A.prototype.get__myString = function() {\n" +
@@ -879,12 +807,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @type {Object.<string, Array.<Object>>}\n" +
                          " */\n" +
                          "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
-                       "\n" +
-                       "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -915,7 +837,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @constructor\n" +
                          " */\n" +
                          "foo.bar.baz.A.InternalClass = function() {\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A.InternalClass', 
foo.bar.baz.A.InternalClass);\n" +
                          "\n" +
                          "\n" +
                   "foo.bar.baz.A.InternalClass.prototype.get__someString = 
function() {\n" +
@@ -943,12 +865,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          
"foo.bar.baz.A.InternalClass.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'InternalClass', qName: 'foo.bar.baz.A.InternalClass', kind: 'class' }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A.InternalClass', 
foo.bar.baz.A.InternalClass);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -1011,7 +927,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          "foo.bar.baz.A = function() {\n" +
                          "  var /** @type {foo.bar.baz.A.ITestInterface} */ 
internalClass = org.apache.flex.utils.Language.as(new 
foo.bar.baz.A.InternalClass(), foo.bar.baz.A.ITestInterface);\n" +
                          "  internalClass.test();\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                          "\n" +
                          "\n" +
                          "/**\n" +
@@ -1020,12 +936,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @type {Object.<string, Array.<Object>>}\n" +
                          " */\n" +
                          "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { names: 
[{ name: 'A', qName: 'foo.bar.baz.A', kind: 'class' }] };\n" +
-                       "\n" +
-                       "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A', foo.bar.baz.A);\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -1052,7 +962,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @interface\n" +
                          " */\n" +
                          "foo.bar.baz.A.ITestInterface = function() {\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A.ITestInterface', 
foo.bar.baz.A.ITestInterface);\n" +
                          "foo.bar.baz.A.ITestInterface.prototype.test = 
function() {\n" +
                          "};\n" +
                          "\n" +
@@ -1065,12 +975,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          
"foo.bar.baz.A.ITestInterface.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'ITestInterface', qName: 'foo.bar.baz.A.ITestInterface', kind: 'interface' }] 
};\n" +
                                "\n" +
                                "\n" +
-                               "/**\n" +
-                               " * Prevent renaming of class. Needed for 
reflection.\n" +
-                               " */\n" +
-                               
"goog.exportSymbol('foo.bar.baz.A.ITestInterface', 
foo.bar.baz.A.ITestInterface);\n" +
-                               "\n" +
-                               "\n" +
                                "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -1095,7 +999,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @implements {foo.bar.baz.A.ITestInterface}\n" +
                          " */\n" +
                          "foo.bar.baz.A.InternalClass = function() {\n" +
-                         "};\n" +
+                         "};\n\n\n/**\n * Prevent renaming of class. Needed 
for reflection.\n */\ngoog.exportSymbol('foo.bar.baz.A.InternalClass', 
foo.bar.baz.A.InternalClass);\n" +
                          "\n" +
                          "\n" +
                          "/**\n" +
@@ -1111,12 +1015,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                          " * @type {Object.<string, Array.<Object>>}\n" +
                          " */\n" +
                          
"foo.bar.baz.A.InternalClass.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'InternalClass', qName: 'foo.bar.baz.A.InternalClass', kind: 'class' }], 
interfaces: [foo.bar.baz.A.ITestInterface] };\n" +
-                       "\n" +
-                       "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.baz.A.InternalClass', 
foo.bar.baz.A.InternalClass);\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -1177,7 +1075,7 @@ public class TestFlexJSPackage extends TestGoogPackage
                                " * @constructor\n" +
                                " */\n" +
                                "foo.bar.A.Internal = function() {\n" +
-                               "};\n" +
+                               "};\n\n\n/**\n * Prevent renaming of class. 
Needed for reflection.\n */\ngoog.exportSymbol('foo.bar.A.Internal', 
foo.bar.A.Internal);\n" +
                                "\n" +
                                "\n" +
                                "/**\n" +
@@ -1194,12 +1092,6 @@ public class TestFlexJSPackage extends TestGoogPackage
                                " * @type {Object.<string, Array.<Object>>}\n" +
                                " */\n" +
                                "foo.bar.A.Internal.prototype.FLEXJS_CLASS_INFO 
= { names: [{ name: 'Internal', qName: 'foo.bar.A.Internal', kind: 'class' }] 
};\n" +
-                       "\n" +
-                       "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('foo.bar.A.Internal', 
foo.bar.A.Internal);\n" +
                        "\n" +
                        "\n" +
                        "\n" +

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
index aa83471..c6adb3f 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
@@ -515,7 +515,7 @@ public class TestFlexJSStatements extends TestGoogStatements
                                      " * @constructor\n" +
                                      " */\n" +
                                      "FalconTest_A = function() {\n" +
-                                     "};\n\n\n" +
+                                     "};\n\n\n/**\n * Prevent renaming of 
class. Needed for reflection.\n */\ngoog.exportSymbol('FalconTest_A', 
FalconTest_A);\n\n\n" +
                                      "FalconTest_A.prototype.falconTest_a = 
function() {\n" +
                                      "  var self = this;\n" +
                                      "  var /** @type {Function} */ 
__localFn0__ = function(foo, bar) {\n" +
@@ -587,12 +587,6 @@ public class TestFlexJSStatements extends 
TestGoogStatements
                                      "FalconTest_A.prototype.FLEXJS_CLASS_INFO 
= { names: [{ name: 'FalconTest_A', qName: 'FalconTest_A', kind: 'class' }] 
};\n" +
                                                "\n" +
                                                "\n" +
-                                               "/**\n" +
-                                               " * Prevent renaming of class. 
Needed for reflection.\n" +
-                                               " */\n" +
-                                               
"goog.exportSymbol('FalconTest_A', FalconTest_A);\n" +
-                                               "\n" +
-                                               "\n" +
                                                "\n" +
                                                "/**\n" +
                                                " * Reflection\n" +

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
index 4f10311..1c5433b 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
@@ -164,6 +164,12 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "  this.mxmldp;\n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -175,12 +181,6 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }], interfaces: 
[org.apache.flex.core.IChrome] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -257,6 +257,12 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "  this.mxmldp;\n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -268,12 +274,6 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }], interfaces: 
[org.apache.flex.core.IChrome, org.apache.flex.core.IPopUp] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -370,6 +370,12 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "  \n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -390,12 +396,6 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -492,6 +492,12 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "  \n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -512,12 +518,6 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -615,6 +615,12 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "  \n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -664,12 +670,6 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -772,6 +772,12 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "  \n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -790,12 +796,6 @@ public class TestFlexJSMXMLApplication extends 
FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
index 5f7f7ef..e4c23c5 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
@@ -77,6 +77,12 @@ public class TestFlexJSMXMLScript extends FlexJSTestBase
                        "  this.mxmldp;\n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -98,12 +104,6 @@ public class TestFlexJSMXMLScript extends FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -179,6 +179,12 @@ public class TestFlexJSMXMLScript extends FlexJSTestBase
                        "  this.mxmldp;\n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -205,12 +211,6 @@ public class TestFlexJSMXMLScript extends FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +
@@ -285,6 +285,12 @@ public class TestFlexJSMXMLScript extends FlexJSTestBase
                        "  this.mxmldp;\n" +
                        "};\n" +
                        "goog.inherits(AppName, 
org.apache.flex.core.Application);\n" +
+                       "\n" +
+                       "\n" +
+                       "/**\n" +
+                       " * Prevent renaming of class. Needed for 
reflection.\n" +
+                       " */\n" +
+                       "goog.exportSymbol('AppName', AppName);\n" +
                        "\n" +
                        "\n" +
                                "\n" +
@@ -303,12 +309,6 @@ public class TestFlexJSMXMLScript extends FlexJSTestBase
                        "AppName.prototype.FLEXJS_CLASS_INFO = { names: [{ 
name: 'AppName', qName: 'AppName', kind: 'class'  }] };\n" +
                        "\n" +
                        "\n" +
-                       "/**\n" +
-                       " * Prevent renaming of class. Needed for 
reflection.\n" +
-                       " */\n" +
-                       "goog.exportSymbol('AppName', AppName);\n" +
-                       "\n" +
-                       "\n" +
                        "\n" +
                        "/**\n" +
                        " * Reflection\n" +

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLEvents.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLEvents.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLEvents.java
index 99b88ba..b18ca07 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLEvents.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLEvents.java
@@ -37,7 +37,7 @@ public class TestSourceMapMXMLEvents extends 
FlexJSSourceMapTestBase
                 .getAncestorOfType(IMXMLDocumentNode.class);
         mxmlBlockWalker.walk(dnode);
         ///event
-        assertMapping(node, 0, 6, 68, 2, 68, 7);  // event
+        assertMapping(node, 0, 6, 74, 2, 74, 7);  // event
         //the start column in the ActionScript seems to be outside the quote
         //instead of inside. that seems like a bug. -JT
     }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLScript.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLScript.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLScript.java
index d43e6cb..84669b9 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLScript.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/sourcemaps/TestSourceMapMXMLScript.java
@@ -45,7 +45,7 @@ public class TestSourceMapMXMLScript extends 
FlexJSSourceMapTestBase
         assertTrue(definitionName.startsWith(getClass().getSimpleName()));
         int endColumn = definitionName.length() + 14;
         ///**\n * @export\n * @type {*}\n */\nFalconTest_A.prototype.foo
-        assertMapping(node, 0, 4, 42, 0, 42, endColumn);  // foo
+        assertMapping(node, 0, 4, 48, 0, 48, endColumn);  // foo
     }
 
     @Test
@@ -63,11 +63,11 @@ public class TestSourceMapMXMLScript extends 
FlexJSSourceMapTestBase
         assertTrue(definitionName.startsWith(getClass().getSimpleName()));
         int nameEndColumn = definitionName.length() + 14;
         ///**\n * @export\n * @type {*}\n */\nFalconTest_A.prototype.foo
-        assertMapping(node, 0, 9, 38, 0, 38, nameEndColumn);  // foo
-        assertMapping(node, 0, 0, 38, nameEndColumn, 38, nameEndColumn + 11);  
// = function
-        assertMapping(node, 0, 12, 38, nameEndColumn + 11, 38, nameEndColumn + 
12);  // (
-        assertMapping(node, 0, 13, 38, nameEndColumn + 12, 38, nameEndColumn + 
13);  // )
-        assertMapping(node, 0, 14, 38, nameEndColumn + 14, 38, nameEndColumn + 
15);  // {
-        assertMapping(node, 0, 15, 39, 0, 39, 1);  // }
+        assertMapping(node, 0, 9, 44, 0, 44, nameEndColumn);  // foo
+        assertMapping(node, 0, 0, 44, nameEndColumn, 44, nameEndColumn + 11);  
// = function
+        assertMapping(node, 0, 12, 44, nameEndColumn + 11, 44, nameEndColumn + 
12);  // (
+        assertMapping(node, 0, 13, 44, nameEndColumn + 12, 44, nameEndColumn + 
13);  // )
+        assertMapping(node, 0, 14, 44, nameEndColumn + 14, 44, nameEndColumn + 
15);  // {
+        assertMapping(node, 0, 15, 45, 0, 45, 1);  // }
     }
 }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/files/FlexJSTest_again_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/files/FlexJSTest_again_result.js 
b/compiler-jx/src/test/resources/flexjs/files/FlexJSTest_again_result.js
index 7da2ae9..560c1a1 100644
--- a/compiler-jx/src/test/resources/flexjs/files/FlexJSTest_again_result.js
+++ b/compiler-jx/src/test/resources/flexjs/files/FlexJSTest_again_result.js
@@ -127,6 +127,12 @@ this.$EH0
 goog.inherits(FlexJSTest_again, org.apache.flex.core.Application);
 
 
+/**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('FlexJSTest_again', FlexJSTest_again);
+
+
 
 /**
  * @export
@@ -176,12 +182,6 @@ Object.defineProperties(FlexJSTest_again.prototype, /** 
@lends {FlexJSTest_again
 FlexJSTest_again.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'FlexJSTest_again', qName: 'FlexJSTest_again', kind: 'class'  }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('FlexJSTest_again', FlexJSTest_again);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/files/LocalFunction_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/files/LocalFunction_result.js 
b/compiler-jx/src/test/resources/flexjs/files/LocalFunction_result.js
index 957a84a..301286d 100644
--- a/compiler-jx/src/test/resources/flexjs/files/LocalFunction_result.js
+++ b/compiler-jx/src/test/resources/flexjs/files/LocalFunction_result.js
@@ -31,6 +31,12 @@ LocalFunction = function() {
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('LocalFunction', LocalFunction);
+
+
+/**
  * @private
  * @type {string}
  */
@@ -66,12 +72,6 @@ LocalFunction.prototype.doIt = function() {
 LocalFunction.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'LocalFunction', 
qName: 'LocalFunction', kind: 'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('LocalFunction', LocalFunction);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/files/MyInitialView_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/files/MyInitialView_result.js 
b/compiler-jx/src/test/resources/flexjs/files/MyInitialView_result.js
index f3bd88d..7fe3836 100644
--- a/compiler-jx/src/test/resources/flexjs/files/MyInitialView_result.js
+++ b/compiler-jx/src/test/resources/flexjs/files/MyInitialView_result.js
@@ -200,6 +200,12 @@ MyInitialView = function() {
 goog.inherits(MyInitialView, org.apache.flex.core.View);
 
 
+/**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('MyInitialView', MyInitialView);
+
+
 
 /**
  * @private
@@ -845,12 +851,6 @@ null
    * @type {Object.<string, Array.<Object>>}
    */
   MyInitialView.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'MyInitialView', qName: 'MyInitialView', kind: 'class'  }] };
-  
-  
-  /**
-   * Prevent renaming of class. Needed for reflection.
-   */
-  goog.exportSymbol('MyInitialView', MyInitialView);
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/files/controllers/MyController_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/files/controllers/MyController_result.js
 
b/compiler-jx/src/test/resources/flexjs/files/controllers/MyController_result.js
index 7fde95a..e72ba30 100644
--- 
a/compiler-jx/src/test/resources/flexjs/files/controllers/MyController_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/files/controllers/MyController_result.js
@@ -44,6 +44,12 @@ controllers.MyController = function(app) {
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('controllers.MyController', controllers.MyController);
+
+
+/**
  * @private
  * @type {string}
  */
@@ -154,12 +160,6 @@ controllers.MyController.prototype.setDocument = 
function(document, id) {
 controllers.MyController.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'MyController', qName: 'controllers.MyController', kind: 'class' }], 
interfaces: [org.apache.flex.core.IDocument] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('controllers.MyController', controllers.MyController);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/files/models/MyModel_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/files/models/MyModel_result.js 
b/compiler-jx/src/test/resources/flexjs/files/models/MyModel_result.js
index ff0160f..ab547d7 100644
--- a/compiler-jx/src/test/resources/flexjs/files/models/MyModel_result.js
+++ b/compiler-jx/src/test/resources/flexjs/files/models/MyModel_result.js
@@ -40,6 +40,12 @@ goog.inherits(models.MyModel, 
org.apache.flex.events.EventDispatcher);
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('models.MyModel', models.MyModel);
+
+
+/**
  * @private
  * @type {string}
  */
@@ -105,12 +111,6 @@ get: models.MyModel.prototype.get__cities}}
 models.MyModel.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'MyModel', 
qName: 'models.MyModel', kind: 'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('models.MyModel', models.MyModel);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/files/wildcard_import_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/files/wildcard_import_result.js 
b/compiler-jx/src/test/resources/flexjs/files/wildcard_import_result.js
index 7bc6a18..dc88afc 100644
--- a/compiler-jx/src/test/resources/flexjs/files/wildcard_import_result.js
+++ b/compiler-jx/src/test/resources/flexjs/files/wildcard_import_result.js
@@ -48,6 +48,12 @@ wildcard_import = function() {
 goog.inherits(wildcard_import, org.apache.flex.core.Application);
 
 
+/**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('wildcard_import', wildcard_import);
+
+
 
 /**
  * @private
@@ -66,12 +72,6 @@ wildcard_import.prototype.tmp = function() {
 wildcard_import.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'wildcard_import', qName: 'wildcard_import', kind: 'class'  }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('wildcard_import', wildcard_import);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/Test_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/Test_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/Test_result.js
index 619f4f8..d6956cb 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/Test_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/Test_result.js
@@ -36,6 +36,12 @@ goog.inherits(Test, classes.A);
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('Test', Test);
+
+
+/**
  * @export
  * @override
  */
@@ -61,12 +67,6 @@ Test.prototype.someOtherFunction = function() {
 Test.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Test', qName: 'Test', 
kind: 'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('Test', Test);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/A_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/A_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/A_result.js
index 0eea031..fb0f5cf 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/A_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/A_result.js
@@ -36,6 +36,12 @@ classes.A = function() {
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('classes.A', classes.A);
+
+
+/**
  * @export
  * @return {classes.B}
  */
@@ -61,12 +67,6 @@ classes.A.prototype.someOtherFunction = function() {
 classes.A.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'A', qName: 
'classes.A', kind: 'class' }], interfaces: [interfaces.IA] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('classes.A', classes.A);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/B_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/B_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/B_result.js
index 76bf513..9790c7e 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/B_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/B_result.js
@@ -31,17 +31,17 @@ classes.B = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-classes.B.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'B', qName: 
'classes.B', kind: 'class' }] };
+goog.exportSymbol('classes.B', classes.B);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('classes.B', classes.B);
+classes.B.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'B', qName: 
'classes.B', kind: 'class' }] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/C_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/C_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/C_result.js
index 192a0c8..4a7d8af 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/C_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/classes/C_result.js
@@ -31,17 +31,17 @@ classes.C = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-classes.C.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'C', qName: 
'classes.C', kind: 'class' }] };
+goog.exportSymbol('classes.C', classes.C);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('classes.C', classes.C);
+classes.C.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'C', qName: 
'classes.C', kind: 'class' }] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IA_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IA_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IA_result.js
index 07eb287..3e4ae11 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IA_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IA_result.js
@@ -31,6 +31,12 @@ goog.require('interfaces.IB');
  */
 interfaces.IA = function() {
 };
+
+
+/**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('interfaces.ID', interfaces.IA);
 interfaces.IA.prototype.someFunction = function() {
 };
 interfaces.IA.prototype.someOtherFunction = function() {
@@ -45,12 +51,6 @@ interfaces.IA.prototype.someOtherFunction = function() {
 interfaces.IA.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IA', qName: 
'interfaces.IA', kind: 'interface' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('interfaces.ID', interfaces.IA);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IB_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IB_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IB_result.js
index 11a4683..9a87619 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IB_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IB_result.js
@@ -31,17 +31,17 @@ interfaces.IB = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-interfaces.IB.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IB', qName: 
'interfaces.IB', kind: 'interface' }] };
+goog.exportSymbol('interfaces.IB', interfaces.IB);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('interfaces.IB', interfaces.IB);
+interfaces.IB.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IB', qName: 
'interfaces.IB', kind: 'interface' }] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IC_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IC_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IC_result.js
index 3275f7b..0e24b6c 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IC_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/bad_overrides/interfaces/IC_result.js
@@ -31,17 +31,17 @@ interfaces.IC = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-interfaces.IC.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IC', qName: 
'interfaces.IC', kind: 'interface' }]};
+goog.exportSymbol('interfaces.IC', interfaces.IC);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('interfaces.IC', interfaces.IC);
+interfaces.IC.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IC', qName: 
'interfaces.IC', kind: 'interface' }]};
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/circular/Base_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/circular/Base_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/circular/Base_result.js
index b1f7ca1..06959e3 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/circular/Base_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/circular/Base_result.js
@@ -36,17 +36,17 @@ goog.inherits(Base, Super);
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-Base.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Base', qName: 'Base', 
kind: 'class' }] };
+goog.exportSymbol('Base', Base);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('Base', Base);
+Base.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Base', qName: 'Base', 
kind: 'class' }] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/circular/Super_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/circular/Super_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/circular/Super_result.js
index bb2d3ab..c85e56a 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/circular/Super_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/circular/Super_result.js
@@ -32,6 +32,12 @@ Super = function() {
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('Super', Super);
+
+
+/**
  * @private
  * @type {Base}
  */
@@ -46,12 +52,6 @@ Super.isItCircular;
 Super.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Super', qName: 'Super', 
kind: 'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('Super', Super);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/A_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/A_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/A_result.js
index 8fd88dd..1f7870b 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/A_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/A_result.js
@@ -34,6 +34,12 @@ A = function() {
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('A', A);
+
+
+/**
  * @private
  */
 A.prototype.test = function() {
@@ -49,12 +55,6 @@ A.prototype.test = function() {
 A.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'A', qName: 'A', kind: 
'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('A', A);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/B_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/B_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/B_result.js
index ff881d1..2af8cc9 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/B_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/B_result.js
@@ -33,6 +33,12 @@ B = function() {
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('B', B);
+
+
+/**
  * @export
  * @param {boolean} b
  * @return {number}
@@ -52,12 +58,6 @@ B.a = function(b) {
 B.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'B', qName: 'B', kind: 
'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('B', B);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/C_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/C_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/C_result.js
index 9dece88..ee8ef5e 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/C_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/C_result.js
@@ -37,6 +37,12 @@ goog.inherits(C, B);
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('C', C);
+
+
+/**
  * @export
  * @param {boolean} b
  * @return {number}
@@ -54,12 +60,6 @@ C.a = function(b) {
 C.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'C', qName: 'C', kind: 
'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('C', C);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/D_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/D_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/D_result.js
index 3dcbe6f..9f17316 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/D_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/D_result.js
@@ -37,6 +37,12 @@ goog.inherits(D, C);
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('D', D);
+
+
+/**
  * @export
  * @param {boolean} b
  * @return {number}
@@ -54,12 +60,6 @@ D.a = function(b) {
 D.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'D', qName: 'D', kind: 
'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('D', D);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/E_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/E_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/E_result.js
index ccf81c0..06aefa7 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/E_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/E_result.js
@@ -33,6 +33,12 @@ E = function() {
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('E', E);
+
+
+/**
  * @export
  * @param {boolean} b
  * @return {number}
@@ -50,12 +56,6 @@ E.a = function(b) {
 E.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'E', qName: 'E', kind: 
'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('E', E);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/F_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/F_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/F_result.js
index 96d9530..f099f91 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/circular_proto/F_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/circular_proto/F_result.js
@@ -37,6 +37,12 @@ goog.inherits(F, D);
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('F', F);
+
+
+/**
  * @export
  * @param {boolean} b
  * @return {number}
@@ -54,12 +60,6 @@ F.a = function(b) {
 F.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'F', qName: 'F', kind: 
'class' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('F', F);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/interfaces/Test_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/Test_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/Test_result.js
index d2f47bd..d4bda25 100644
--- a/compiler-jx/src/test/resources/flexjs/projects/interfaces/Test_result.js
+++ b/compiler-jx/src/test/resources/flexjs/projects/interfaces/Test_result.js
@@ -43,6 +43,12 @@ goog.inherits(Test, classes.A);
 
 
 /**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('Test', Test);
+
+
+/**
  * @export
  * @param {interfaces.IC} ic
  * @return {interfaces.IC}
@@ -63,12 +69,6 @@ Test.prototype.doSomething = function(ic) {
 Test.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Test', qName: 'Test', 
kind: 'class' }], interfaces: [interfaces.IA, interfaces.IE] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('Test', Test);
-
-
 
 /**
  * Reflection

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/A_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/A_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/A_result.js
index c10bc7a..a7a94f3 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/A_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/A_result.js
@@ -36,17 +36,17 @@ goog.inherits(classes.A, classes.C);
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-classes.A.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'A', qName: 
'classes.A', kind: 'class' }] };
+goog.exportSymbol('classes.A', classes.A);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('classes.A', classes.A);
+classes.A.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'A', qName: 
'classes.A', kind: 'class' }] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/B_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/B_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/B_result.js
index 76bf513..9790c7e 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/B_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/B_result.js
@@ -31,17 +31,17 @@ classes.B = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-classes.B.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'B', qName: 
'classes.B', kind: 'class' }] };
+goog.exportSymbol('classes.B', classes.B);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('classes.B', classes.B);
+classes.B.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'B', qName: 
'classes.B', kind: 'class' }] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/C_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/C_result.js 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/C_result.js
index 192a0c8..4a7d8af 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/C_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/classes/C_result.js
@@ -31,17 +31,17 @@ classes.C = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-classes.C.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'C', qName: 
'classes.C', kind: 'class' }] };
+goog.exportSymbol('classes.C', classes.C);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('classes.C', classes.C);
+classes.C.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'C', qName: 
'classes.C', kind: 'class' }] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IA_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IA_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IA_result.js
index 42f1103..571d4a9 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IA_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IA_result.js
@@ -34,17 +34,17 @@ interfaces.IA = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-interfaces.IA.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IA', qName: 
'interfaces.IA', kind: 'interface' }], interfaces: [interfaces.IC] };
+goog.exportSymbol('interfaces.IA', interfaces.IA);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('interfaces.IA', interfaces.IA);
+interfaces.IA.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IA', qName: 
'interfaces.IA', kind: 'interface' }], interfaces: [interfaces.IC] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IC_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IC_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IC_result.js
index ebf9b84..58c7e5c 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IC_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IC_result.js
@@ -34,17 +34,17 @@ interfaces.IC = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-interfaces.IC.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IC', qName: 
'interfaces.IC', kind: 'interface' }], interfaces: [interfaces.ID] };
+goog.exportSymbol('interfaces.IC', interfaces.IC);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('interfaces.IC', interfaces.IC);
+interfaces.IC.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IC', qName: 
'interfaces.IC', kind: 'interface' }], interfaces: [interfaces.ID] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/ID_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/ID_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/ID_result.js
index 02f275d..852a737 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/ID_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/ID_result.js
@@ -31,17 +31,17 @@ interfaces.ID = function() {
 
 
 /**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
+ * Prevent renaming of class. Needed for reflection.
  */
-interfaces.ID.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ID', qName: 
'interfaces.ID', kind: 'interface' }] };
+goog.exportSymbol('interfaces.ID', interfaces.ID);
 
 
 /**
- * Prevent renaming of class. Needed for reflection.
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
  */
-goog.exportSymbol('interfaces.ID', interfaces.ID);
+interfaces.ID.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ID', qName: 
'interfaces.ID', kind: 'interface' }] };
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/caf79f2a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IE_result.js
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IE_result.js
 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IE_result.js
index 5e48a10..c5126fe 100644
--- 
a/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IE_result.js
+++ 
b/compiler-jx/src/test/resources/flexjs/projects/interfaces/interfaces/IE_result.js
@@ -28,6 +28,12 @@ goog.provide('interfaces.IE');
  */
 interfaces.IE = function() {
 };
+
+
+/**
+ * Prevent renaming of class. Needed for reflection.
+ */
+goog.exportSymbol('interfaces.IE', interfaces.IE);
 interfaces.IE.prototype.myMethod = function() {
 };
 /**  * @type {string}
@@ -42,12 +48,6 @@ interfaces.IE.prototype.myMethod = function() {
 interfaces.IE.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IE', qName: 
'interfaces.IE', kind: 'interface' }] };
 
 
-/**
- * Prevent renaming of class. Needed for reflection.
- */
-goog.exportSymbol('interfaces.IE', interfaces.IE);
-
-
 
 /**
  * Reflection

Reply via email to