question: private void pathCreateNode ( float x , float y ) throws OsmIllegalOperationException { Node lastSelectedNode = logic . getSelectedNode ( ) ; Way lastSelectedWay = logic . getSelectedWay ( ) ; if ( appendTargetNode != null ) { logic . performAppendAppend ( x , y ) ; } else { logic . performAdd ( x , y ) ; } if ( logic . getSelectedNode ( ) == null ) { if ( currentActionMode != null ) currentActionMode . finish ( ) ; tagApplicable ( lastSelectedNode , lastSelectedWay , true , false ) ; } else { createdWay = logic . getSelectedWay ( ) ; if ( createdWay == null ) { createdNodes = new ArrayList < Node > ( ) ; } createdNodes . add ( logic . getSelectedNode ( ) ) ; } main . invalidateMap ( ) ; }
target:  Creates/adds a node into a path during path creation