Class Enclosing.BlockOrCase<T extends com.sun.source.tree.Tree>

java.lang.Object
com.google.errorprone.matchers.Enclosing.BlockOrCase<T>
All Implemented Interfaces:
Matcher<T>, Serializable
Enclosing class:
Enclosing

public static class Enclosing.BlockOrCase<T extends com.sun.source.tree.Tree>
extends Object
implements Matcher<T>
See Also:
Serialized Form
  • Constructor Details

    • BlockOrCase

      public BlockOrCase​(Matcher<com.sun.source.tree.BlockTree> blockTreeMatcher, Matcher<com.sun.source.tree.CaseTree> caseTreeMatcher)
  • Method Details

    • matches

      public boolean matches​(T unused, VisitorState state)
      Specified by:
      matches in interface Matcher<T extends com.sun.source.tree.Tree>