private MethodRefAmp findLocalMethod()
  {
    ServiceRefAmp serviceRefLocal = _serviceRef.getLocalService();
    
    if (serviceRefLocal == null) {
      return null;
    }

    if (_type != null) {
      return serviceRefLocal.methodByName(_name, _type);
    }
    else {
      return serviceRefLocal.methodByName(_name);
    }
  }
private MethodRefAmp findLocalMethod ( ) { ServiceRefAmp serviceRefLocal = _serviceRef . getLocalService ( ) ; if ( serviceRefLocal == null ) { return null ; } if ( _type != null ) { return serviceRefLocal . methodByName ( _name , _type ) ; } else { return serviceRefLocal . methodByName ( _name ) ; } }
Return the local method for this pod method, when the pod is on the
same jvm.