class ServiceReferenceImpl implements ServiceReference<T> {

    public Object getReference() {
        if (usesFactory) {
            return ServiceFactory.class.cast(reference).getService(bundle, registration);
        }
        return reference;
    }

      ServiceReferenceImpl(final Dictionary<String, Object> properties, final Bundle bundle, final Object reference);

}