protected List < String > prepareExtraArgs ( Stack < String > pElements ) { if ( pElements == null || pElements . size ( ) == 0 ) { return null ; } List < String > ret = new ArrayList < String > ( ) ; while ( ! pElements . isEmpty ( ) ) { String element = pElements . pop ( ) ; ret . add ( "*" . equals ( element ) ? null : element ) ; } return ret ; }
Extract extra arguments from the remaining element on the stack .