QDox
  1. QDox
  2. QDOX-113

Annotations With Parameters do not work

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.8
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      For instance a method like this annotated with the @Editor annotation
      @Editor(FileEditor.class)
      public void setFile(File file)

      { this.file = file; }

      does not work but produces a stack trace.

      Here's the annotaiton.
      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.METHOD)
      public @interface Editor {
      Class<? extends PropertyEditor> value();
      }

        Activity

        Hide
        Robert Scholte added a comment -

        doens't seem to be a problem anymore. Test added like mentioned in the issue. Runs without failing

        Show
        Robert Scholte added a comment - doens't seem to be a problem anymore. Test added like mentioned in the issue. Runs without failing
        Robert Scholte made changes -
        Field Original Value New Value
        Attachment qdox-113.patch [ 39547 ]
        Hide
        Robert Scholte added a comment -

        r521 | rfscholte | 2009-01-30 22:25:36 CET

        added test for qdox-113; doesn't seem to fail anymore
        ----------------------------------------------------------------------------

        Show
        Robert Scholte added a comment - r521 | rfscholte | 2009-01-30 22:25:36 CET added test for qdox-113; doesn't seem to fail anymore ----------------------------------------------------------------------------
        Robert Scholte made changes -
        Fix Version/s 1.8 [ 14826 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Jukka Lindström
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: