Created this page as we have no conventions up on the public wiki! Maybe there are some to be found in the archives?
Dependency manager callback methods
Dependency Manager uses reflection to access configured callback methods. As a result reviewers/analyzers may consider these as dead/unused code. Therefore, by convention we define them as protected final and add a comment to indicate their use (AMDATURS-58).
// Dependency Manager callback method protected final void someServiceAdded(ServiceReference<T> reference, T service) { //do something }