final class com.google.common.eventbus.EventBus$LoggingHandler implements com.google.common.eventbus.SubscriberExceptionHandler
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.eventbus.EventBus$LoggingHandler
super_class: java.lang.Object
{
static final com.google.common.eventbus.EventBus$LoggingHandler INSTANCE;
descriptor: Lcom/google/common/eventbus/EventBus$LoggingHandler;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.common.eventbus.EventBus$LoggingHandler
dup
invokespecial com.google.common.eventbus.EventBus$LoggingHandler.<init>:()V
putstatic com.google.common.eventbus.EventBus$LoggingHandler.INSTANCE:Lcom/google/common/eventbus/EventBus$LoggingHandler;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/eventbus/EventBus$LoggingHandler;
public void handleException(java.lang.Throwable, com.google.common.eventbus.SubscriberExceptionContext);
descriptor: (Ljava/lang/Throwable;Lcom/google/common/eventbus/SubscriberExceptionContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.google.common.eventbus.EventBus$LoggingHandler.logger:(Lcom/google/common/eventbus/SubscriberExceptionContext;)Ljava/util/logging/Logger;
astore 3
start local 3 1: aload 3
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 3
2: aload 3
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aload 2
invokestatic com.google.common.eventbus.EventBus$LoggingHandler.message:(Lcom/google/common/eventbus/SubscriberExceptionContext;)Ljava/lang/String;
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
3: StackMap locals: java.util.logging.Logger
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/eventbus/EventBus$LoggingHandler;
0 4 1 exception Ljava/lang/Throwable;
0 4 2 context Lcom/google/common/eventbus/SubscriberExceptionContext;
1 4 3 logger Ljava/util/logging/Logger;
MethodParameters:
Name Flags
exception
context
private static java.util.logging.Logger logger(com.google.common.eventbus.SubscriberExceptionContext);
descriptor: (Lcom/google/common/eventbus/SubscriberExceptionContext;)Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc Lcom/google/common/eventbus/EventBus;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.google.common.eventbus.SubscriberExceptionContext.getEventBus:()Lcom/google/common/eventbus/EventBus;
invokevirtual com.google.common.eventbus.EventBus.identifier:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/google/common/eventbus/SubscriberExceptionContext;
MethodParameters:
Name Flags
context
private static java.lang.String message(com.google.common.eventbus.SubscriberExceptionContext);
descriptor: (Lcom/google/common/eventbus/SubscriberExceptionContext;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.eventbus.SubscriberExceptionContext.getSubscriberMethod:()Ljava/lang/reflect/Method;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "Exception thrown by subscriber method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: aload 1
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
6: ldc " on subscriber "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
invokevirtual com.google.common.eventbus.SubscriberExceptionContext.getSubscriber:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
8: ldc " when dispatching event: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 0
invokevirtual com.google.common.eventbus.SubscriberExceptionContext.getEvent:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 context Lcom/google/common/eventbus/SubscriberExceptionContext;
1 11 1 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
context
}
SourceFile: "EventBus.java"
NestHost: com.google.common.eventbus.EventBus
InnerClasses:
final LoggingHandler = com.google.common.eventbus.EventBus$LoggingHandler of com.google.common.eventbus.EventBus