public Object getService() { Object service = cachedService; if (service != null) { if (DEBUG) { System.out .println("ServiceTracker.getService[cached]: " + filter); } return service; } if (DEBUG) { System.out.println("ServiceTracker.getService: " + filter); } ServiceReference reference = getServiceReference(); if (reference == null) {
public Object getService(ServiceReference reference) { Tracked tracked = this.tracked;  if (tracked == null) {
	public Object getService() {		Object service = cachedService;		if (service != null) {			if (DEBUG) {				System.out						.println("ServiceTracker.getService[cached]: " + filter); //$NON-NLS-1$			}			return service;		}		if (DEBUG) {			System.out.println("ServiceTracker.getService: " + filter); //$NON-NLS-1$		}		ServiceReference reference = getServiceReference();		if (reference == null) {			return null;		}		return cachedService = getService(reference);	}