public class BaseClass {
/**
* Gets the value.
*/
public final String getValue() {
// returns something.
}
}
public class SubClass extends BaseClass {
/**
* Gets the value.
* <p/>
* The value is meaningless for SubClass.
*/
@Override // Cannot override final method
public final String getValue() {
super.getValue(); // Not overriding implementation, just javadoc
}
}
I do not need to change the implementation of the final method, I just want to change the Javadoc for it.