public final String [ ] getPathExpressions ( ) { String pathExpression = this . pathExpression ; Object [ ] pathExpressions = this . pathExpressions ; if ( pathExpression == null && ( pathExpressions == null || pathExpressions . length == 0 ) ) { // there's none ... return new String [ ] { } ; } if ( pathExpression != null && ( pathExpressions == null || pathExpressions . length == 0 ) ) { // There's just one ... return new String [ ] { pathExpression } ; } List < String > expressions = new ArrayList < String > ( pathExpressions . length + 1 ) ; addExpression ( expressions , pathExpression ) ; for ( Object value : pathExpressions ) { addExpression ( expressions , value ) ; } return expressions . toArray ( new String [ expressions . size ( ) ] ) ; }
Obtain the path expressions as configured on the sequencer . This method always returns a copy to prevent modification of the values .