Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-1295

Allow @Destroy annotated methods in abstract Pojos

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Cannot Reproduce
    • Minor
    • 2.0.1
    • None
    • seam2
    • None

    Description

      It would be nice if we could create abstract classes with a @Destroy annotated method. While it appears possible to do this, the IDE complains that only components can have a @Destroy method, which is correct, but the class is abstract and will be subclassed as a component elsewhere. I think it will compile, deploy and run, but it puts several lines of red squiggles in the code which is distracting.

      I'm requesting that the class be allowed to pass the validation if it is marked as abstract.

      Attachments

        Issue Links

          Activity

            People

              scabanovich Viacheslav Kabanovich (Inactive)
              delphi'sghost_jira Andy Gibson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: