Reverse engineering rules

  • DavideBz

    DavideBz - 2008-06-05


    I like green. For reverse engineering green uses some rules. For example for aggregation the use of List. If I have other coding conventions, how can I define the rules? On the home page it is sayed that is possible

    • Gene Wang

      Gene Wang - 2008-06-07


        While it certainly is possible to define custom relationship rules for Green, it is somewhat inconvenient at this point.  Green's relationships are composed of a Recognizer, a Generator, and a Remover.  These three parts handle the manipulation of code by traversing and modifying portions of JDT's Java Abstract Syntax Tree.  You can create a new relationship by modeling after one of the existing Green ones; or in the case of your example, modifying the existing aggregation to use a structure other than List.
        I hope this helps.

      - Gene


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks