I currently have a register template that defines a method called read_action that I am looking to deprecate. I'd ideally like to decorate this method in the base template in such a way that no other template or register/field that imports this template can define read_action() and cause a compiliation error if they do. In C++ I could have achieved this by decorating it with the final keyword in C++.
template my_read is (read) {
shared method read_action(uint64 in_value) -> (uint64) throws default {
return in_value;
}
}
Is there any equivalent to final in DML?