public ByteCodePattern addWild ( int numWild ) { Wild wild = isLastWild ( ) ; if ( wild != null ) { wild . setMinAndMax ( 0 , numWild ) ; } else { addElement ( new Wild ( numWild ) ) ; } return this ; }
Add a wildcard to match between 0 and given number of instructions . If there is already a wildcard at the end of the current pattern resets its max value to that given .