final class jdk.jfr.internal.consumer.Dispatcher$EventDispatcher
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.consumer.Dispatcher$EventDispatcher
  super_class: java.lang.Object
{
  private static final jdk.jfr.internal.consumer.Dispatcher$EventDispatcher[] NO_DISPATCHERS;
    descriptor: [Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.lang.String eventName;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.function.Consumer<jdk.jfr.consumer.RecordedEvent> action;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Consumer<Ljdk/jfr/consumer/RecordedEvent;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 42
            iconst_0
            anewarray jdk.jfr.internal.consumer.Dispatcher$EventDispatcher
            putstatic jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.NO_DISPATCHERS:[Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.lang.String, java.util.function.Consumer<jdk.jfr.consumer.RecordedEvent>);
    descriptor: (Ljava/lang/String;Ljava/util/function/Consumer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.jfr.internal.consumer.Dispatcher$EventDispatcher this
        start local 1 // java.lang.String eventName
        start local 2 // java.util.function.Consumer action
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            aload 0 /* this */
            aload 1 /* eventName */
            putfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.eventName:Ljava/lang/String;
         2: .line 49
            aload 0 /* this */
            aload 2 /* action */
            putfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.action:Ljava/util/function/Consumer;
         3: .line 50
            return
        end local 2 // java.util.function.Consumer action
        end local 1 // java.lang.String eventName
        end local 0 // jdk.jfr.internal.consumer.Dispatcher$EventDispatcher this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
            0    4     1  eventName  Ljava/lang/String;
            0    4     2     action  Ljava/util/function/Consumer<Ljdk/jfr/consumer/RecordedEvent;>;
    Signature: (Ljava/lang/String;Ljava/util/function/Consumer<Ljdk/jfr/consumer/RecordedEvent;>;)V
    MethodParameters:
           Name  Flags
      eventName  
      action     

  private void offer(jdk.jfr.consumer.RecordedEvent);
    descriptor: (Ljdk/jfr/consumer/RecordedEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.consumer.Dispatcher$EventDispatcher this
        start local 1 // jdk.jfr.consumer.RecordedEvent event
         0: .line 53
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.action:Ljava/util/function/Consumer;
            aload 1 /* event */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         1: .line 54
            return
        end local 1 // jdk.jfr.consumer.RecordedEvent event
        end local 0 // jdk.jfr.internal.consumer.Dispatcher$EventDispatcher this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
            0    2     1  event  Ljdk/jfr/consumer/RecordedEvent;
    MethodParameters:
       Name  Flags
      event  

  private boolean accepts(jdk.jfr.EventType);
    descriptor: (Ljdk/jfr/EventType;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.consumer.Dispatcher$EventDispatcher this
        start local 1 // jdk.jfr.EventType eventType
         0: .line 57
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.eventName:Ljava/lang/String;
            ifnull 1
            aload 1 /* eventType */
            invokevirtual jdk.jfr.EventType.getName:()Ljava/lang/String;
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.eventName:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 1 // jdk.jfr.EventType eventType
        end local 0 // jdk.jfr.internal.consumer.Dispatcher$EventDispatcher this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
            0    2     1  eventType  Ljdk/jfr/EventType;
    MethodParameters:
           Name  Flags
      eventType  

  public java.util.function.Consumer<jdk.jfr.consumer.RecordedEvent> getAction();
    descriptor: ()Ljava/util/function/Consumer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.Dispatcher$EventDispatcher this
         0: .line 61
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.action:Ljava/util/function/Consumer;
            areturn
        end local 0 // jdk.jfr.internal.consumer.Dispatcher$EventDispatcher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
    Signature: ()Ljava/util/function/Consumer<Ljdk/jfr/consumer/RecordedEvent;>;
}
SourceFile: "Dispatcher.java"
NestHost: jdk.jfr.internal.consumer.Dispatcher
InnerClasses:
  final EventDispatcher = jdk.jfr.internal.consumer.Dispatcher$EventDispatcher of jdk.jfr.internal.consumer.Dispatcher