code: public static <T> T InThread( T anInterface ) {
          Actor sender = Actor.sender.get();
          if ( sender != null )
              return sender.getScheduler().inThread(sender.getActor(),anInterface);
          else
              return anInterface;
      }
docs: in case called from an actor, wraps the given interface instance into a proxy such that
  all calls on the interface get scheduled on the calling actors thread (avoids accidental multithreading
  when handing out callback/listener interfaces from an actor)
  
  if called from outside an actor thread, NOP
  
  @param anInterface
  @param <T>
  @return