The powerful as operator in Groovy takes a code block and generates a new class that implements the interface, which you can then call as if it were a concrete class implementing the interface.
The Phalanx operator used the Block 1b's surface mode to perform electro-optical tracking and the system's radio frequency sensors to provide range data to the LaWS.