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()
    RuntimeVisibleTypeAnnotations: 
      FIELD
        javax.validation.Valid()
      FIELD
        javax.validation.constraints.NotNull()

  private java.util.List<io.dropwizard.metrics.ReporterFactory> reporters;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Lio/dropwizard/metrics/ReporterFactory;>;
    RuntimeVisibleAnnotations: 
      javax.validation.Valid()
      javax.validation.constraints.NotNull()
    RuntimeVisibleTypeAnnotations: 
      FIELD
        javax.validation.Valid()
      FIELD
        javax.validation.constraints.NotNull()

  private boolean reportOnStop;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 47
            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 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 51
            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 55
            aload 0 /* this */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            putfield io.dropwizard.metrics.MetricsFactory.reporters:Ljava/util/List;
         3: .line 57
            aload 0 /* this */
            iconst_0
            putfield io.dropwizard.metrics.MetricsFactory.reportOnStop:Z
         4: .line 46
            return
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/dropwizard/metrics/MetricsFactory;

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

  public void setReporters(java.util.List<io.dropwizard.metrics.ReporterFactory>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // io.dropwizard.metrics.MetricsFactory this
        start local 1 // java.util.List reporters
         0: .line 66
            aload 0 /* this */
            new java.util.ArrayList
            dup
            aload 1 /* reporters */
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            putfield io.dropwizard.metrics.MetricsFactory.reporters:Ljava/util/List;
         1: .line 67
            return
        end local 1 // java.util.List 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  Ljava/util/List<Lio/dropwizard/metrics/ReporterFactory;>;
    Signature: (Ljava/util/List<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 71
            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 76
            aload 0 /* this */
            aload 1 /* frequency */
            putfield io.dropwizard.metrics.MetricsFactory.frequency:Lio/dropwizard/util/Duration;
         1: .line 77
            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 boolean isReportOnStop();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.dropwizard.metrics.MetricsFactory this
         0: .line 84
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.reportOnStop:Z
            ireturn
        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 setReportOnStop(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.dropwizard.metrics.MetricsFactory this
        start local 1 // boolean reportOnStop
         0: .line 92
            aload 0 /* this */
            iload 1 /* reportOnStop */
            putfield io.dropwizard.metrics.MetricsFactory.reportOnStop:Z
         1: .line 93
            return
        end local 1 // boolean reportOnStop
        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  reportOnStop  Z
    RuntimeVisibleAnnotations: 
      com.fasterxml.jackson.annotation.JsonProperty()
    MethodParameters:
              Name  Flags
      reportOnStop  

  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 114
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.reporters:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 11
      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 117
            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 118
            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 119
            aload 0 /* this */
            invokevirtual io.dropwizard.metrics.MetricsFactory.isReportOnStop:()Z
         5: .line 117
            invokespecial io.dropwizard.metrics.ScheduledReporterManager.<init>:(Lcom/codahale/metrics/ScheduledReporter;Lio/dropwizard/util/Duration;Z)V
         6: .line 116
            astore 5 /* manager */
        start local 5 // io.dropwizard.metrics.ScheduledReporterManager manager
         7: .line 120
            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
         8: .line 121
            goto 11
      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
         9: astore 5 /* e */
        start local 5 // java.lang.Exception e
        10: .line 122
            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
        11: .line 114
      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
        12: .line 125
            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   13     0         this  Lio/dropwizard/metrics/MetricsFactory;
            0   13     1  environment  Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
            0   13     2     registry  Lcom/codahale/metrics/MetricRegistry;
            2   11     3     reporter  Lio/dropwizard/metrics/ReporterFactory;
            7    8     5      manager  Lio/dropwizard/metrics/ScheduledReporterManager;
           10   11     5            e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2     8       9  Class java.lang.Exception
    RuntimeVisibleAnnotations: 
      com.fasterxml.jackson.annotation.JsonProperty()
    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 129
            new java.lang.StringBuilder
            dup
            ldc "MetricsFactory{frequency="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.frequency:Lio/dropwizard/util/Duration;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc ", reporters="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.reporters:Ljava/util/List;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc ", reportOnStop="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield io.dropwizard.metrics.MetricsFactory.reportOnStop:Z
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            bipush 125
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // io.dropwizard.metrics.MetricsFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/dropwizard/metrics/MetricsFactory;
}
SourceFile: "MetricsFactory.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles