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

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

public static class Enclosing.Method<T extends com.sun.source.tree.Tree> extends Object
See Also:
  • Field Details

    • matcher

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

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

    • Method

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

    • matches

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