public void correctNullReceiver(){
  if (args[0] != null)   return;
  handle=handle.bindTo(NullObject.getNullObject());
  handle=MethodHandles.dropArguments(handle,0,targetType.parameterType(0));
  if (LOG_ENABLED)   LOG.info("binding null object receiver and dropping old receiver");
}

public void correctNullReceiver ( ) { if ( args [ 0 ] != null ) return ; handle = handle . bindTo ( NullObject . getNullObject ( ) ) ; handle = MethodHandles . dropArguments ( handle , 0 , targetType . parameterType ( 0 ) ) ; if ( LOG_ENABLED ) LOG . info ( "binding null object receiver and dropping old receiver" ) ; }
gives a replacement receiver for null . in case of the receiver being null we want to do the method invocation on nullobject instead .
