All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.codemodder.codemods.AddMissingOverrideCodemod.description.md Maven / Gradle / Ivy

There is a newer version: 0.97.3
Show newest version
This change adds missing `@Override` to known subclasses. Documenting inheritance will help readers and static analysis tools understand the code better, spot bugs easier, and in general lead to more efficient and effective review.

Our changes look something like this:

```diff
  interface AcmeParent {
     void doThing();
  } 

  class AcmeChild implements AcmeParent {

+   @Override
    void doThing() {
      thing();
    }
    
  }
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy