private void wrapLastLocationStep ( String selector , int start , boolean bumpLocationStep ) throws InvalidXPathSyntaxException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) tc . entry ( cclass , "wrapLastLocationStep" , "selector: " + selector + ", start: " + start + ", bumpLocationStep: " + new Boolean ( bumpLocationStep ) ) ; int stepEnd = selector . length ( ) ; String step = selector . substring ( start , stepEnd ) ; String full = selector . substring ( 0 , stepEnd ) ; // Add an IdentifierImpl for the location step to the array list selOperands . add ( createIdentifierForSubExpression ( step , full , bumpLocationStep , true ) ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) tc . exit ( this , cclass , "wrapLastLocationStep" ) ; }
Wrap the last location step in an Identifier .