you can set the code style inside eclipse to use the final modifier where possible. Unfortunately, this modifier is also installed in the interfaces. But there it makes no sense. Is it possible to prevent the installation of the "final" modifier for method parameters in interfaces? Just to figure it out. I do not mean fields. They are always final and static. I mean method parameters like "param"
public interface MyService { void aMethod(String param); }
instead
public interface MyService { void aMethod(final String param); }
"final" does not change the logic of the code, but this is optional.
source share