QDox

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
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 ----------------------------------------------------------------------------

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: