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

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

public static class Enclosing.Block<T extends com.sun.source.tree.Tree> extends Object
Author:
alexeagle@google.com (Alex Eagle)
See Also:
  • Field Details

    • matcher

      protected final Matcher<com.sun.source.tree.BlockTree> matcher
    • clazz

      protected final Class<com.sun.source.tree.BlockTree> clazz
  • Constructor Details

    • Block

      public Block(Matcher<com.sun.source.tree.BlockTree> matcher)
  • Method Details

    • matches

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