Class CheckedProviderMethodsModule.LogProvider

  • All Implemented Interfaces:
    Provider<java.util.logging.Logger>, javax.inject.Provider<java.util.logging.Logger>
    Enclosing class:
    CheckedProviderMethodsModule

    private static final class CheckedProviderMethodsModule.LogProvider
    extends java.lang.Object
    implements Provider<java.util.logging.Logger>
    A provider that returns a logger based on the method name.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      LogProvider​(java.lang.reflect.Method method)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.logging.Logger get()
      Provides an instance of T.
      • Methods inherited from class java.lang.Object

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

      • name

        private final java.lang.String name
    • Constructor Detail

      • LogProvider

        public LogProvider​(java.lang.reflect.Method method)
    • Method Detail

      • get

        public java.util.logging.Logger get()
        Description copied from interface: Provider
        Provides an instance of T.
        Specified by:
        get in interface Provider<java.util.logging.Logger>
        Specified by:
        get in interface javax.inject.Provider<java.util.logging.Logger>