Package com.google.errorprone.ErrorProneScanner

Examples of com.google.errorprone.ErrorProneScanner.EnabledPredicate


  private ErrorProneTestCompiler compiler;

  @Before
  public void setUp() {
    compiler = new ErrorProneTestCompiler.Builder()
        .report(new ErrorProneScanner(new EnabledPredicate() {
          @Override
          public boolean isEnabled(Class<? extends BugChecker> check, BugPattern annotation) {
            return asList(DeadException.class, EmptyIfStatement.class, SelfAssignment.class)
                .contains(check);
          }
View Full Code Here

TOP

Related Classes of com.google.errorprone.ErrorProneScanner.EnabledPredicate

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.