QDox
  1. QDox
  2. QDOX-192

deprecate AbstractBaseJavaEntity.parent

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.10
    • Fix Version/s: 1.12
    • Component/s: Java API
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The usage of this interface is confusing and in some cases even wrong. The implementation tells us that only a JavaSource or a JavaClass could be a JavaClassParent
      But the AbstractBaseJavaEntity has a void setParent(JavaClassParent) and a JavaClassParent getParent(). This would mean that even JavaParameter has these methods, which is very unusual since the parent of a JavaParameter is always a JavaMethod. The getParent() would return something unexpected.

        Activity

        Robert Scholte made changes -
        Field Original Value New Value
        Summary deprecate JavaClassParent deprecate AbstractBaseJavaEntity.parent
        Paul Hammant made changes -
        Fix Version/s 1.11 [ 16104 ]
        Fix Version/s 1.10.1 [ 15653 ]
        Robert Scholte made changes -
        Fix Version/s 1.11 [ 16104 ]
        Robert Scholte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.12 [ 16282 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Robert Scholte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: