String[] () { String[] patterns = ArrayUtil.newStringArray(myRegexpResourcePatterns.size()); int index = 0; for (final Pattern myRegexpResourcePattern : myRegexpResourcePatterns) { patterns[index++] = myRegexpResourcePattern.getPattern(); } return patterns; }