throw new SpecException("Can't mix * with & ) ");
}
return Arrays.<PathElement>asList( new AmpPathElement( key ) );
}
else if ( "*".equals( key ) ) {
return Arrays.<PathElement>asList( new StarAllPathElement( key ) );
}
else if ( StringUtils.countMatches( key, "*" ) == 1 ) {
return Arrays.<PathElement>asList( new StarSinglePathElement( key ) );
}
else if ( key.contains("*") ) {