private boolean getTask(String line, ArrayList mapElements, int depth, int lineNr) {
		if (line.indexOf("INVOKE") == 0) {
			boolean async = false;
			String taskName = null;

			if (line.indexOf("INVOKE ASYNC") == 0) {
				taskName = line.substring(12).trim();
				async = true;
			} else {
				taskName = line.substring(6).trim();
			}

			Invocation task = new Invocation(assembly, taskName, depth, lineNr, async);
			mapElements.add(task);
			return true;
		}
		return false;
	}
private boolean getTask ( String line , ArrayList mapElements , int depth , int lineNr ) { if ( line . indexOf ( "INVOKE" ) == 0 ) { boolean async = false ; String taskName = null ; if ( line . indexOf ( "INVOKE ASYNC" ) == 0 ) { taskName = line . substring ( 12 ) . trim ( ) ; async = true ; } else { taskName = line . substring ( 6 ) . trim ( ) ; } Invocation task = new Invocation ( assembly , taskName , depth , lineNr , async ) ; mapElements . add ( task ) ; return true ; } return false ; }
@param line
@param mapElements
@param depth
@param lineNr
@return