private String getFNSignatureFromIContext ( INode node ) { String ret = node . getNodeData ( ) . getName ( ) ; List < INode > children = node . getChildrenList ( ) ; if ( children != null && children . size ( ) > 0 ) { ret += "(" ; for ( INode aChildren : children ) { ret += getFNSignatureFromIContext ( aChildren ) + "," ; } ret = ret . substring ( 0 , ret . length ( ) - 1 ) ; ret += ")" ; } return ret ; }
Creates a function - like tree from the given root node