Package edu.umd.cs.findbugs.filter

Examples of edu.umd.cs.findbugs.filter.NotMatcher


    public static Matcher invertMatcher(Matcher originalMatcher) {
        if (originalMatcher instanceof NotMatcher) {
            return ((NotMatcher) originalMatcher).originalMatcher();
        }

        NotMatcher notMatcher = new NotMatcher();
        notMatcher.addChild(originalMatcher);
        return notMatcher;
    }
View Full Code Here


                } else if (classMatch != null) {
                    addMatcher(new ClassMatcher(classMatch));
                }
            }
        } else if(qName.equals("Not")) {
            NotMatcher matcher = new NotMatcher();
            pushCompoundMatcherAsChild(matcher);
        } else if (qName.equals("Source")) {
            addMatcher(new SourceMatcher(getRequiredAttribute(attributes, "name", qName)));
        }
        nextMatchedIsDisabled = false;
View Full Code Here

TOP

Related Classes of edu.umd.cs.findbugs.filter.NotMatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.