LPS-51912 add abstract methods for Javadoc references

Make deprecation references more explicit by adding abstract methods.