[OS-JIRA] Created: (CAY-373) add importUtils.reserveType() method to reserve this.class type

From: jira-norepl..bjectstyle.org
Date: Fri Sep 09 2005 - 17:08:38 EDT

  • Next message: Andrus Adamchik: "Vertical Inheritance"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-373

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-373
        Summary: add importUtils.reserveType() method to reserve this.class type
           Type: Improvement

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Versions:
                 1.2 [DEV]

       Assignee: Mike Kienenberger
       Reporter: Mike Kienenberger

        Created: Fri, 9 Sep 2005 5:08 PM
        Updated: Fri, 9 Sep 2005 5:08 PM

    Description:
    If you use importUtils.addType(className) where the className matches the current class name, you'll end up with an import statement that causes conflicts with an existing type (the class itself).

    So we need a reserveType(className) method so the current type can be reserved (given priority when generating FQNs and import statements) but not actually generate an import statement.

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Fri Sep 09 2005 - 17:08:38 EDT