0 Replies Latest reply on Jul 20, 2009 7:06 AM by Paul Reilly

    [svn:fx-trunk] 8682: * Made compile time metadata inheritable and made Bindable inherited.

    Paul Reilly Level 1

      Revision: 8682

      Author:   preilly@adobe.com

      Date:     2009-07-20 07:05:56 -0700 (Mon, 20 Jul 2009)

       

      Log Message:

      ***********

      • Made compile time metadata inheritable and made Bindable inherited.

        This means it's no longer necessary to copy Bindable metadata down

        to overridden variables and properties.

       

      tests Passed: checkintests, mxunit databinding

       

      Needs QA: YES

       

      Needs DOC: YES

       

      Bug fixes: SDK-14251

       

      API Change: NO

       

      Reviewer: Peter D.

       

      Is noteworthy for integration: YES

       

      Code-level description of changes:

       

        abc/Assignable.java

        as3/reflect/Assignable.java

       

          Initial checkin.

       

        CompilerAPI.java

       

          Modified compile() by removing cleanClassTable() call.

       

        abc/Method.java

        abc/Variable.java

       

          Modified interface to extend Assignable and removed getQName(),

          getDeclaringClass(), getAttributes(), getMetaData(), and

          getMetaData(String).

       

        abc/AbcCompiler.java

       

          Modified analyze4() to no longer set the typeTable of the AbcClass

          since we no longer null it out in CompilerAPI.compile().

       

        as3/reflect/Method.java

        as3/reflect/Variable.java

       

          Modified class to extend Assignable.

       

          Removed getQName(), getDeclaringClass(), getAttributes(),

          getMetaData(), and getMetaData(String).

       

          Added getOverridden().

       

        as3/reflect/TypeTable.java

       

          Made createMethod() and createVariable() non-static.

       

        as3/reflect/As3Class.java

       

          Updated to reflect TypeTable changes.

       

        as3/AbstractSyntaxTreeUtil.java

       

          Updated generateApplyTypeExpr() to include "*".

       

          Modified generateTypeExpression() by adding includeAnyType parameter.

       

        as3/binding/DataBindingFirstPassEvaluator.java

        as3/binding/TypeAnalyzer.java

        mxml/reflect/TypeTable.java

       

          Modified all getMetaData() calls to include inherited metadata.

       

        SymbolTable.java

       

          Removed cleanClassTable().

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-14251

       

      Modified Paths:

      **************

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/AbcCompiler.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Method.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Variable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/TypeAnalyzer.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/As3Class.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Method.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/TypeTable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Variable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java

       

      Added Paths:

      ***********

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Assignable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Assignable.java