Class NoSyntheticMatcher

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

    public class NoSyntheticMatcher
    extends com.google.inject.matcher.AbstractMatcher<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 com.google.inject.matcher.AbstractMatcher

        and, or
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoSyntheticMatcher

        public NoSyntheticMatcher()
    • Method Detail

      • instance

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

        public boolean matches​(java.lang.reflect.Method method)