src/main/java/hudson/plugins/warnings/parser/GroovyExpressionMatcher.java
public Warning createWarning(final Matcher matcher, final int lineNumber) {
        try {
            Object result = run(matcher, lineNumber);
            if (result instanceof Warning) {
                return (Warning)result;
            }
        }
        catch (Exception exception) { // NOPMD NOCHECKSTYLE: catch all exceptions of the Groovy script
            LOGGER.log(Level.SEVERE, "Groovy dynamic warnings parser: exception during execution: ", exception);
        }
        return falsePositive;
    }
/**
     * Creates a new annotation for the specified match.
     *
     * @param matcher
     *            the regular expression matcher
     * @param lineNumber
     *            the current line number
     * @return a new annotation for the specified pattern
     */
Creates a new annotation for the specified match.

@param matcher
the regular expression matcher
@param lineNumber
the current line number
@return a new annotation for the specified pattern
Creates a new annotation for the specified match . @param matcher the regular expression matcher @param lineNumber the current line number @return a new annotation for the specified pattern
public Warning createWarning(final Matcher matcher, final int lineNumber) {
        try {
            Object result = run(matcher, lineNumber);
            if (result instanceof Warning) {
                return (Warning)result;
            }
        }
        catch (Exception exception) { 
            LOGGER.log(Level.SEVERE, "Groovy dynamic warnings parser: exception during execution: ", exception);
        }
        return falsePositive;
    }
public Warning createWarning ( final Matcher matcher , final int lineNumber ) { try { Object result = run ( matcher , lineNumber ) ; if ( result instanceof Warning ) { return ( Warning ) result ; } } catch ( Exception exception ) { LOGGER . log ( Level . SEVERE , "Groovy dynamic warnings parser: exception during execution: " , exception ) ; } return falsePositive ; }
Creates a new annotation for the specified match.
Creates a new annotation for the specified match .
// NOPMD NOCHECKSTYLE: catch all exceptions of the Groovy script
