class io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener implements org.glassfish.jersey.server.monitoring.ApplicationEventListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener
super_class: java.lang.Object
{
private final io.dropwizard.jersey.DropwizardResourceConfig config;
descriptor: Lio/dropwizard/jersey/DropwizardResourceConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<org.glassfish.jersey.server.model.Resource> resources;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
private java.util.Set<java.lang.Class<?>> providers;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
private static volatile int[] $SWITCH_TABLE$org$glassfish$jersey$server$model$ResourceMethod$JaxrsType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(io.dropwizard.jersey.DropwizardResourceConfig);
descriptor: (Lio/dropwizard/jersey/DropwizardResourceConfig;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.resources:Ljava/util/List;
2: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.providers:Ljava/util/Set;
3: aload 0
aload 1
putfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
0 5 1 config Lio/dropwizard/jersey/DropwizardResourceConfig;
MethodParameters:
Name Flags
config
public void onEvent(org.glassfish.jersey.server.monitoring.ApplicationEvent);
descriptor: (Lorg/glassfish/jersey/server/monitoring/ApplicationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.glassfish.jersey.server.monitoring.ApplicationEvent.getType:()Lorg/glassfish/jersey/server/monitoring/ApplicationEvent$Type;
getstatic org.glassfish.jersey.server.monitoring.ApplicationEvent$Type.INITIALIZATION_APP_FINISHED:Lorg/glassfish/jersey/server/monitoring/ApplicationEvent$Type;
if_acmpne 14
1: aload 0
aload 1
invokeinterface org.glassfish.jersey.server.monitoring.ApplicationEvent.getResourceModel:()Lorg/glassfish/jersey/server/model/ResourceModel;
invokevirtual org.glassfish.jersey.server.model.ResourceModel.getResources:()Ljava/util/List;
putfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.resources:Ljava/util/List;
2: aload 0
aload 1
invokeinterface org.glassfish.jersey.server.monitoring.ApplicationEvent.getProviders:()Ljava/util/Set;
putfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.providers:Ljava/util/Set;
3: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.resources:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
4: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener.lambda$0(Lorg/glassfish/jersey/server/model/Resource;)Ljava/lang/String; (6)
(Lorg/glassfish/jersey/server/model/Resource;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
5: ldc ", "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
6: astore 2
start local 2 7: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.providers:Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
8: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/Class.getCanonicalName()Ljava/lang/String; (5)
(Ljava/lang/Class;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
9: ldc ", "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
10: astore 3
start local 3 11: getstatic io.dropwizard.jersey.DropwizardResourceConfig.LOGGER:Lorg/slf4j/Logger;
ldc "resources = {}"
aload 2
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
12: getstatic io.dropwizard.jersey.DropwizardResourceConfig.LOGGER:Lorg/slf4j/Logger;
ldc "providers = {}"
aload 3
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
13: getstatic io.dropwizard.jersey.DropwizardResourceConfig.LOGGER:Lorg/slf4j/Logger;
aload 0
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.getEndpointsInfo:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
end local 3 end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
0 15 1 event Lorg/glassfish/jersey/server/monitoring/ApplicationEvent;
7 14 2 resourceClasses Ljava/lang/String;
11 14 3 providerClasses Ljava/lang/String;
MethodParameters:
Name Flags
event
private java.util.List<io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine> logMethodLines(org.glassfish.jersey.server.model.Resource, java.lang.String);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
invokevirtual org.glassfish.jersey.server.model.Resource.getAllMethods:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 23
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener org.glassfish.jersey.server.model.Resource java.lang.String java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.ResourceMethod
astore 4
start local 4 3: ldc "OPTIONS"
aload 4
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getHttpMethod:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: goto 23
5: StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener org.glassfish.jersey.server.model.Resource java.lang.String java.util.List org.glassfish.jersey.server.model.ResourceMethod java.util.Iterator
StackMap stack:
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
invokevirtual org.glassfish.jersey.server.model.Resource.getPath:()Ljava/lang/String;
aastore
invokestatic io.dropwizard.jersey.DropwizardResourceConfig.mergePaths:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 6: aload 4
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getHandler:()Lorg/glassfish/jersey/server/model/MethodHandler;
invokevirtual org.glassfish.jersey.server.model.MethodHandler.getHandlerClass:()Ljava/lang/Class;
astore 7
start local 7 7: invokestatic io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.$SWITCH_TABLE$org$glassfish$jersey$server$model$ResourceMethod$JaxrsType:()[I
aload 4
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getType:()Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
invokevirtual org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 8
2: 23
3: 10
default: 23
}
8: StackMap locals: java.lang.String java.lang.Class
StackMap stack:
aload 3
new io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine
dup
aload 4
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getHttpMethod:()Ljava/lang/String;
aload 6
aload 7
invokespecial io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: goto 23
10: StackMap locals:
StackMap stack:
getstatic io.dropwizard.jersey.DropwizardResourceConfig.TYPE_RESOLVER:Lcom/fasterxml/classmate/TypeResolver;
11: aload 4
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getResponseType:()Ljava/lang/reflect/Type;
iconst_0
anewarray java.lang.reflect.Type
invokevirtual com.fasterxml.classmate.TypeResolver.resolve:(Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)Lcom/fasterxml/classmate/ResolvedType;
12: astore 8
start local 8 13: aload 8
invokevirtual com.fasterxml.classmate.ResolvedType.getTypeBindings:()Lcom/fasterxml/classmate/TypeBindings;
invokevirtual com.fasterxml.classmate.TypeBindings.isEmpty:()Z
ifne 15
14: aload 8
invokevirtual com.fasterxml.classmate.ResolvedType.getTypeBindings:()Lcom/fasterxml/classmate/TypeBindings;
iconst_0
invokevirtual com.fasterxml.classmate.TypeBindings.getBoundType:(I)Lcom/fasterxml/classmate/ResolvedType;
invokevirtual com.fasterxml.classmate.ResolvedType.getErasedType:()Ljava/lang/Class;
goto 16
15: StackMap locals: com.fasterxml.classmate.ResolvedType
StackMap stack:
aload 8
invokevirtual com.fasterxml.classmate.ResolvedType.getErasedType:()Ljava/lang/Class;
16: StackMap locals:
StackMap stack: java.lang.Class
astore 9
start local 9 17: aload 9
invokestatic org.glassfish.jersey.server.model.Resource.from:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/model/Resource;
astore 10
start local 10 18: aload 10
ifnonnull 21
19: aload 3
new io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine
dup
aload 4
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getHttpMethod:()Ljava/lang/String;
aload 6
aload 7
invokespecial io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: goto 23
21: StackMap locals: java.lang.Class org.glassfish.jersey.server.model.Resource
StackMap stack:
aload 3
aload 0
aload 10
aload 6
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.logResourceLines:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
22: goto 23
end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 23: StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener org.glassfish.jersey.server.model.Resource java.lang.String java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
24: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
0 25 1 resource Lorg/glassfish/jersey/server/model/Resource;
0 25 2 contextPath Ljava/lang/String;
1 25 3 methodLines Ljava/util/List<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
3 23 4 method Lorg/glassfish/jersey/server/model/ResourceMethod;
6 23 6 path Ljava/lang/String;
7 23 7 handler Ljava/lang/Class<*>;
13 23 8 responseType Lcom/fasterxml/classmate/ResolvedType;
17 23 9 erasedType Ljava/lang/Class<*>;
18 23 10 res Lorg/glassfish/jersey/server/model/Resource;
Signature: (Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
MethodParameters:
Name Flags
resource
contextPath
private java.util.List<io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine> logResourceLines(org.glassfish.jersey.server.model.Resource, java.lang.String);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
invokevirtual org.glassfish.jersey.server.model.Resource.getChildResources:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener org.glassfish.jersey.server.model.Resource java.lang.String java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 4
start local 4 3: aload 3
aload 0
aload 4
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
invokevirtual org.glassfish.jersey.server.model.Resource.getPath:()Ljava/lang/String;
aastore
invokestatic io.dropwizard.jersey.DropwizardResourceConfig.mergePaths:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.logResourceLines:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 3
aload 0
aload 1
aload 2
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.logMethodLines:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
0 7 1 resource Lorg/glassfish/jersey/server/model/Resource;
0 7 2 contextPath Ljava/lang/String;
1 7 3 resourceLines Ljava/util/List<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
3 4 4 child Lorg/glassfish/jersey/server/model/Resource;
Signature: (Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
MethodParameters:
Name Flags
resource
contextPath
java.lang.String getEndpointsInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=10, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
sipush 1024
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: new java.util.TreeSet
dup
new io.dropwizard.jersey.DropwizardResourceConfig$EndpointComparator
dup
invokespecial io.dropwizard.jersey.DropwizardResourceConfig$EndpointComparator.<init>:()V
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 2
start local 2 2: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getContextPath:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 4
aload 3
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
StackMap locals: java.lang.StringBuilder java.util.Set java.lang.String
StackMap stack:
4: ldc ""
goto 7
5: StackMap locals:
StackMap stack:
aload 3
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
aload 3
goto 7
StackMap locals:
StackMap stack:
6: new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 8: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getUrlPattern:()Ljava/lang/String;
ldc "/*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 10
9: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getUrlPattern:()Ljava/lang/String;
iconst_0
aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getUrlPattern:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 11
10: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getUrlPattern:()Ljava/lang/String;
11: StackMap locals:
StackMap stack: java.lang.String
astore 5
start local 5 12: aload 4
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 5
aastore
invokestatic io.dropwizard.jersey.DropwizardResourceConfig.mergePaths:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 13: aload 1
ldc "The following paths were found for the configured resources:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 1
getstatic io.dropwizard.jersey.DropwizardResourceConfig.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic io.dropwizard.jersey.DropwizardResourceConfig.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.resources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 18
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener java.lang.StringBuilder java.util.Set java.lang.String java.lang.String java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
16: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 7
start local 7 17: aload 2
aload 0
aload 7
aload 6
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.logResourceLines:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 7 18: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
19: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.providers:Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
20: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
org/glassfish/jersey/server/model/Resource.from(Ljava/lang/Class;)Lorg/glassfish/jersey/server/model/Resource; (6)
(Ljava/lang/Class;)Lorg/glassfish/jersey/server/model/Resource;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
21: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
java/util/Objects.nonNull(Ljava/lang/Object;)Z (6)
(Lorg/glassfish/jersey/server/model/Resource;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
22: aload 0
aload 6
invokedynamic apply(Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;Ljava/lang/String;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener.lambda$4(Ljava/lang/String;Lorg/glassfish/jersey/server/model/Resource;)Ljava/util/stream/Stream; (7)
(Lorg/glassfish/jersey/server/model/Resource;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
23: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
24: astore 7
start local 7 25: aload 2
aload 7
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
26: aload 2
invokeinterface java.util.Set.isEmpty:()Z
ifne 32
27: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 30
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener java.lang.StringBuilder java.util.Set java.lang.String java.lang.String java.lang.String java.lang.String java.util.List top java.util.Iterator
StackMap stack:
28: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine
astore 8
start local 8 29: aload 1
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
getstatic io.dropwizard.jersey.DropwizardResourceConfig.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 30: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 28
31: goto 33
32: StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener java.lang.StringBuilder java.util.Set java.lang.String java.lang.String java.lang.String java.lang.String java.util.List
StackMap stack:
aload 1
ldc " NONE"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic io.dropwizard.jersey.DropwizardResourceConfig.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
1 34 1 msg Ljava/lang/StringBuilder;
2 34 2 endpointLogLines Ljava/util/Set<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
3 34 3 contextPath Ljava/lang/String;
8 34 4 normalizedContextPath Ljava/lang/String;
12 34 5 pattern Ljava/lang/String;
13 34 6 path Ljava/lang/String;
17 18 7 resource Lorg/glassfish/jersey/server/model/Resource;
25 34 7 providerLines Ljava/util/List<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
29 30 8 line Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;
public org.glassfish.jersey.server.monitoring.RequestEventListener onRequest(org.glassfish.jersey.server.monitoring.RequestEvent);
descriptor: (Lorg/glassfish/jersey/server/monitoring/RequestEvent;)Lorg/glassfish/jersey/server/monitoring/RequestEventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
0 1 1 requestEvent Lorg/glassfish/jersey/server/monitoring/RequestEvent;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
MethodParameters:
Name Flags
requestEvent
static int[] $SWITCH_TABLE$org$glassfish$jersey$server$model$ResourceMethod$JaxrsType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.$SWITCH_TABLE$org$glassfish$jersey$server$model$ResourceMethod$JaxrsType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.values:()[Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.RESOURCE_METHOD:Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
invokevirtual org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.SUB_RESOURCE_LOCATOR:Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
invokevirtual org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.SUB_RESOURCE_METHOD:Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
invokevirtual org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.$SWITCH_TABLE$org$glassfish$jersey$server$model$ResourceMethod$JaxrsType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
private static java.lang.String lambda$0(org.glassfish.jersey.server.model.Resource);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x Lorg/glassfish/jersey/server/model/Resource;
private java.util.stream.Stream lambda$4(java.lang.String, org.glassfish.jersey.server.model.Resource);
descriptor: (Ljava/lang/String;Lorg/glassfish/jersey/server/model/Resource;)Ljava/util/stream/Stream;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 2
aload 1
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.logResourceLines:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
0 1 2 res Lorg/glassfish/jersey/server/model/Resource;
}
SourceFile: "DropwizardResourceConfig.java"
NestHost: io.dropwizard.jersey.DropwizardResourceConfig
InnerClasses:
private ComponentLoggingListener = io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener of io.dropwizard.jersey.DropwizardResourceConfig
private EndpointComparator = io.dropwizard.jersey.DropwizardResourceConfig$EndpointComparator of io.dropwizard.jersey.DropwizardResourceConfig
private EndpointLogLine = io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine of io.dropwizard.jersey.DropwizardResourceConfig
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract JaxrsType = org.glassfish.jersey.server.model.ResourceMethod$JaxrsType of org.glassfish.jersey.server.model.ResourceMethod
public final Type = org.glassfish.jersey.server.monitoring.ApplicationEvent$Type of org.glassfish.jersey.server.monitoring.ApplicationEvent