public class io.dropwizard.metrics.MetricsFactory
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.dropwizard.metrics.MetricsFactory
  super_class: java.lang.Object
{
  private static final org.slf4j.Logger LOGGER;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private io.dropwizard.util.Duration frequency;
    descriptor: Lio/dropwizard/util/Duration;
    flags: (0x0002) ACC_PRIVATE
    RuntimeVisibleAnnotations: 
      javax.validation.Valid()
      javax.validation.constraints.NotNull()

  private com.google.common.collect.ImmutableList<io.dropwizard.metrics.ReporterFactory> reporters;
    descriptor: Lcom/google/common/collect/ImmutableList;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lcom/google/common/collect/ImmutableList<Lio/dropwizard/metrics/ReporterFactory;>;
    RuntimeVisibleAnnotations: 
      javax.validation.Valid()
      javax.validation.constraints.NotNull()

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 41
            ldc Lio/dropwizard/metrics/MetricsFactory;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic io.dropwizard.metrics.MetricsFactory.LOGGER:Lorg/slf4j/Logger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.dropwizard.metrics.MetricsFactory this
         0: .line 40
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 45
            aload 0 /* this */
            lconst_1
            invokestatic io.dropwizard.util.Duration.minutes:(J)Lio/dropwizard/util/Duration;
            putfield io.dropwizard.metrics.MetricsFactory.frequency:Lio/dropwizard/util/Duration;
         2: .line 49
            aload 0 /* this */
            invokestatic com.google.common.collect.ImmutableList.of:()Lcom/google/common/collect/ImmutableList;
            putfield io.dropwizard.metrics.MetricsFactory.reporters:Lcom/google/common/collect/ImmutableList;
         3: .line 40
            return
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/dropwizard/metrics/MetricsFactory;

  public com.google.common.collect.ImmutableList<io.dropwizard.metrics.ReporterFactory> getReporters();
    descriptor: ()Lcom/google/common/collect/ImmutableList;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.dropwizard.metrics.MetricsFactory this
         0: .line 53
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.reporters:Lcom/google/common/collect/ImmutableList;
            areturn
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/dropwizard/metrics/MetricsFactory;
    Signature: ()Lcom/google/common/collect/ImmutableList<Lio/dropwizard/metrics/ReporterFactory;>;
    RuntimeVisibleAnnotations: 
      com.fasterxml.jackson.annotation.JsonProperty()

  public void setReporters(com.google.common.collect.ImmutableList<io.dropwizard.metrics.ReporterFactory>);
    descriptor: (Lcom/google/common/collect/ImmutableList;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.dropwizard.metrics.MetricsFactory this
        start local 1 // com.google.common.collect.ImmutableList reporters
         0: .line 58
            aload 0 /* this */
            aload 1 /* reporters */
            putfield io.dropwizard.metrics.MetricsFactory.reporters:Lcom/google/common/collect/ImmutableList;
         1: .line 59
            return
        end local 1 // com.google.common.collect.ImmutableList reporters
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lio/dropwizard/metrics/MetricsFactory;
            0    2     1  reporters  Lcom/google/common/collect/ImmutableList<Lio/dropwizard/metrics/ReporterFactory;>;
    Signature: (Lcom/google/common/collect/ImmutableList<Lio/dropwizard/metrics/ReporterFactory;>;)V
    RuntimeVisibleAnnotations: 
      com.fasterxml.jackson.annotation.JsonProperty()
    MethodParameters:
           Name  Flags
      reporters  

  public io.dropwizard.util.Duration getFrequency();
    descriptor: ()Lio/dropwizard/util/Duration;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.dropwizard.metrics.MetricsFactory this
         0: .line 63
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.frequency:Lio/dropwizard/util/Duration;
            areturn
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/dropwizard/metrics/MetricsFactory;
    RuntimeVisibleAnnotations: 
      com.fasterxml.jackson.annotation.JsonProperty()

  public void setFrequency(io.dropwizard.util.Duration);
    descriptor: (Lio/dropwizard/util/Duration;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.dropwizard.metrics.MetricsFactory this
        start local 1 // io.dropwizard.util.Duration frequency
         0: .line 68
            aload 0 /* this */
            aload 1 /* frequency */
            putfield io.dropwizard.metrics.MetricsFactory.frequency:Lio/dropwizard/util/Duration;
         1: .line 69
            return
        end local 1 // io.dropwizard.util.Duration frequency
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lio/dropwizard/metrics/MetricsFactory;
            0    2     1  frequency  Lio/dropwizard/util/Duration;
    RuntimeVisibleAnnotations: 
      com.fasterxml.jackson.annotation.JsonProperty()
    MethodParameters:
           Name  Flags
      frequency  

  public void configure(io.dropwizard.lifecycle.setup.LifecycleEnvironment, com.codahale.metrics.MetricRegistry);
    descriptor: (Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Lcom/codahale/metrics/MetricRegistry;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // io.dropwizard.metrics.MetricsFactory this
        start local 1 // io.dropwizard.lifecycle.setup.LifecycleEnvironment environment
        start local 2 // com.codahale.metrics.MetricRegistry registry
         0: .line 84
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.reporters:Lcom/google/common/collect/ImmutableList;
            invokevirtual com.google.common.collect.ImmutableList.iterator:()Ljava/util/Iterator;
            astore 4
            goto 10
      StackMap locals: io.dropwizard.metrics.MetricsFactory io.dropwizard.lifecycle.setup.LifecycleEnvironment com.codahale.metrics.MetricRegistry top java.util.Iterator
      StackMap stack:
         1: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast io.dropwizard.metrics.ReporterFactory
            astore 3 /* reporter */
        start local 3 // io.dropwizard.metrics.ReporterFactory reporter
         2: .line 87
            new io.dropwizard.metrics.ScheduledReporterManager
            dup
            aload 3 /* reporter */
            aload 2 /* registry */
            invokeinterface io.dropwizard.metrics.ReporterFactory.build:(Lcom/codahale/metrics/MetricRegistry;)Lcom/codahale/metrics/ScheduledReporter;
         3: .line 88
            aload 3 /* reporter */
            invokeinterface io.dropwizard.metrics.ReporterFactory.getFrequency:()Ljava/util/Optional;
            aload 0 /* this */
            invokedynamic get(Lio/dropwizard/metrics/MetricsFactory;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  io/dropwizard/metrics/MetricsFactory.getFrequency()Lio/dropwizard/util/Duration; (5)
                  ()Lio/dropwizard/util/Duration;
            invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast io.dropwizard.util.Duration
         4: .line 87
            invokespecial io.dropwizard.metrics.ScheduledReporterManager.<init>:(Lcom/codahale/metrics/ScheduledReporter;Lio/dropwizard/util/Duration;)V
         5: .line 86
            astore 5 /* manager */
        start local 5 // io.dropwizard.metrics.ScheduledReporterManager manager
         6: .line 89
            aload 1 /* environment */
            aload 5 /* manager */
            invokevirtual io.dropwizard.lifecycle.setup.LifecycleEnvironment.manage:(Lio/dropwizard/lifecycle/Managed;)V
        end local 5 // io.dropwizard.metrics.ScheduledReporterManager manager
         7: .line 90
            goto 10
      StackMap locals: io.dropwizard.metrics.MetricsFactory io.dropwizard.lifecycle.setup.LifecycleEnvironment com.codahale.metrics.MetricRegistry io.dropwizard.metrics.ReporterFactory java.util.Iterator
      StackMap stack: java.lang.Exception
         8: astore 5 /* e */
        start local 5 // java.lang.Exception e
         9: .line 91
            getstatic io.dropwizard.metrics.MetricsFactory.LOGGER:Lorg/slf4j/Logger;
            ldc "Failed to create reporter, metrics may not be properly reported."
            aload 5 /* e */
            invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 5 // java.lang.Exception e
        end local 3 // io.dropwizard.metrics.ReporterFactory reporter
        10: .line 84
      StackMap locals: io.dropwizard.metrics.MetricsFactory io.dropwizard.lifecycle.setup.LifecycleEnvironment com.codahale.metrics.MetricRegistry top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
        11: .line 94
            return
        end local 2 // com.codahale.metrics.MetricRegistry registry
        end local 1 // io.dropwizard.lifecycle.setup.LifecycleEnvironment environment
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0         this  Lio/dropwizard/metrics/MetricsFactory;
            0   12     1  environment  Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
            0   12     2     registry  Lcom/codahale/metrics/MetricRegistry;
            2   10     3     reporter  Lio/dropwizard/metrics/ReporterFactory;
            6    7     5      manager  Lio/dropwizard/metrics/ScheduledReporterManager;
            9   10     5            e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2     7       8  Class java.lang.Exception
    MethodParameters:
             Name  Flags
      environment  
      registry     

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.dropwizard.metrics.MetricsFactory this
         0: .line 98
            aload 0 /* this */
            invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
         1: .line 99
            ldc "frequency"
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.frequency:Lio/dropwizard/util/Duration;
            invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
         2: .line 100
            ldc "reporters"
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.reporters:Lcom/google/common/collect/ImmutableList;
            invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
         3: .line 101
            invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
         4: .line 98
            areturn
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/dropwizard/metrics/MetricsFactory;
}
SourceFile: "MetricsFactory.java"
InnerClasses:
  public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles