public void invalidateVisualState(){
  arguments.forEach(null);
  result.invalidateVisualState();
}

public void invalidateVisualState ( ) { arguments . forEach ( null ) ; result . invalidateVisualState ( ) ; }
called when the visualstate changed .
