Class NoSyntheticMatcher

  • All Implemented Interfaces:
    com.google.inject.matcher.Matcher<java.lang.reflect.Method>

    public class NoSyntheticMatcher
    extends java.lang.Object
    implements com.google.inject.matcher.Matcher<java.lang.reflect.Method>
    Matcher to filter synthetic methods (to avoid warnings on aop proxies creation).
    Since:
    17.09.2018
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static NoSyntheticMatcher instance()  
      boolean matches​(java.lang.reflect.Method method)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.inject.matcher.Matcher

        and, or
    • Constructor Detail

      • NoSyntheticMatcher

        public NoSyntheticMatcher()
    • Method Detail

      • instance

        public static final NoSyntheticMatcher instance()
        Returns:
        method matcher for filtering synthetic methods
      • matches

        public boolean matches​(java.lang.reflect.Method method)
        Specified by:
        matches in interface com.google.inject.matcher.Matcher<java.lang.reflect.Method>