Skip to content

Quick fix for adding @Override annotation inserts at wrong position if method has annotation(s) #758

@eric-milles

Description

@eric-milles

Consider the following:

import groovy.transform.*
class C implements Runnable {
  @TypeChecked
  void run() {
  }
}

When applying the "Add missing @Override annotation" quick fix to run(), the result is:

  @@Override
  TypeChecked
  void run() {
  }

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions