question: public Connection buildConnectionTo ( ConnectionAnchor target ) { InputAnchor sink ; OutputAnchor source ; if ( this . anchor instanceof InputAnchor ) { if ( target instanceof InputAnchor ) { return null ; } sink = ( InputAnchor ) this . anchor ; source = ( OutputAnchor ) target ; } else { if ( target instanceof OutputAnchor ) { return null ; } sink = ( InputAnchor ) target ; source = ( OutputAnchor ) this . anchor ; if ( sink . hasConnection ( ) ) { sink . removeConnections ( ) ; } } if ( sink . block == source . block && ! ( sink instanceof ResultAnchor && source instanceof BinderAnchor ) ) { return null ; } return new Connection ( source , sink ) ; }
target:  Constructs a new Connection from this partial wire and another anchor