Ticket #221 (closed enhancement: fixed)

Opened 18 months ago

Last modified 18 months ago

Quickfix for adding @Override to a role class

Reported by: stephan Owned by: stephan
Priority: major Milestone: OTDT_1.2.8
Component: content assist Version: 1.2.7
Keywords: Cc:

Description (last modified by stephan) (diff)

Now that the compiler wants an @Override annotation for each role class that overrides an inherited one (#176), the quickfix for adding this annotation should be extended to apply to role classes, too (currently applies to methods only).

Change History

Changed 18 months ago by stephan

  • status changed from new to closed
  • resolution set to fixed

Implemented in r19758.

Only small adaptations to the existing quickfix were needed:

  • connect to new problemID (done in QuickfixProcessor + avoid double checking in Java50Fix.createAddOverrideAnnotationFix)
  • adjust Java50Fix for handling RoleTypeDeclaration where a TypeDeclaration is expected.

Changed 18 months ago by stephan

  • description modified (diff)
Note: See TracTickets for help on using tickets.