JBossTools 3.x/4 Seam Validation Error Quck Fixes

Version 1
    • Duplicate Component Name
      • Remove Component - shows components with duplicated names and their locations in sources, provides a way to select components to remove (remove operation should allow to choose a way to remove component: remove @name annotation, remove component source ( java source, xml tag in components.xml, etc);
      • Rename Component - shows components with duplicated names and allow to select component for remaning, then starts refactoring for selected component. If components has references it is possible to select what references should be updated during renaming;
      • Change severity lavel for marker
    • Stateful Component does not contain @Remove method
      • Remove @Stateful annotation from component and all related annotations like @Destroy
      • Select @Remove method
      • Create @Remove method
      • Change severity lavel for marker
    • Stateful Component does not have @Destroy method
      • Remove @Stateful annotation from component and all related annotations like @Remove
      • Select @Destroy method
      • Create @Destroy method
      • Change severity lavel for marker
    • Statefull Component has wrong scope
      • Remove @Stateful annotation from component and all related annotations like @Remove
      • Define Component Scope - it inserts scope annotation and shows content assist for available scopes