public class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener implements org.glassfish.jersey.server.monitoring.ApplicationEventListener, org.glassfish.jersey.server.model.ModelProcessor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
super_class: java.lang.Object
{
private static final java.lang.String[] REQUEST_FILTERING;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] RESPONSE_FILTERING;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String TOTAL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "total"
private final com.codahale.metrics.MetricRegistry metrics;
descriptor: Lcom/codahale/metrics/MetricRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.concurrent.ConcurrentMap<com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod, com.codahale.metrics.Timer> timers;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ConcurrentMap<Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$EventTypeAndMethod;Lcom/codahale/metrics/Timer;>;
private java.util.concurrent.ConcurrentMap<java.lang.reflect.Method, com.codahale.metrics.Meter> meters;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/reflect/Method;Lcom/codahale/metrics/Meter;>;
private java.util.concurrent.ConcurrentMap<java.lang.reflect.Method, com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterMetric> exceptionMeters;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/reflect/Method;Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$ExceptionMeterMetric;>;
private java.util.concurrent.ConcurrentMap<java.lang.reflect.Method, com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric> responseMeters;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/reflect/Method;Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$ResponseMeterMetric;>;
private final com.codahale.metrics.Clock clock;
descriptor: Lcom/codahale/metrics/Clock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean trackFilters;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "request"
aastore
dup
iconst_1
ldc "filtering"
aastore
putstatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.REQUEST_FILTERING:[Ljava/lang/String;
1: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "response"
aastore
dup
iconst_1
ldc "filtering"
aastore
putstatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.RESPONSE_FILTERING:[Ljava/lang/String;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.codahale.metrics.Clock.defaultClock:()Lcom/codahale/metrics/Clock;
iconst_0
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.<init>:(Lcom/codahale/metrics/MetricRegistry;Lcom/codahale/metrics/Clock;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 2 1 metrics Lcom/codahale/metrics/MetricRegistry;
MethodParameters:
Name Flags
metrics final
public void <init>(com.codahale.metrics.MetricRegistry, com.codahale.metrics.Clock, boolean);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Lcom/codahale/metrics/Clock;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timers:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.meters:Ljava/util/concurrent/ConcurrentMap;
3: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.exceptionMeters:Ljava/util/concurrent/ConcurrentMap;
4: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.responseMeters:Ljava/util/concurrent/ConcurrentMap;
5: aload 0
aload 1
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
6: aload 0
aload 2
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.clock:Lcom/codahale/metrics/Clock;
7: aload 0
iload 3
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.trackFilters:Z
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 9 1 metrics Lcom/codahale/metrics/MetricRegistry;
0 9 2 clock Lcom/codahale/metrics/Clock;
0 9 3 trackFilters Z
MethodParameters:
Name Flags
metrics final
clock final
trackFilters final
public void onEvent(org.glassfish.jersey.server.monitoring.ApplicationEvent);
descriptor: (Lorg/glassfish/jersey/server/monitoring/ApplicationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, 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 2
1: aload 0
aload 1
invokeinterface org.glassfish.jersey.server.monitoring.ApplicationEvent.getResourceModel:()Lorg/glassfish/jersey/server/model/ResourceModel;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerMetricsForModel:(Lorg/glassfish/jersey/server/model/ResourceModel;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 3 1 event Lorg/glassfish/jersey/server/monitoring/ApplicationEvent;
MethodParameters:
Name Flags
event
public org.glassfish.jersey.server.model.ResourceModel processResourceModel(org.glassfish.jersey.server.model.ResourceModel, javax.ws.rs.core.Configuration);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceModel;Ljavax/ws/rs/core/Configuration;)Lorg/glassfish/jersey/server/model/ResourceModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 1 1 resourceModel Lorg/glassfish/jersey/server/model/ResourceModel;
0 1 2 configuration Ljavax/ws/rs/core/Configuration;
MethodParameters:
Name Flags
resourceModel
configuration
public org.glassfish.jersey.server.model.ResourceModel processSubResource(org.glassfish.jersey.server.model.ResourceModel, javax.ws.rs.core.Configuration);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceModel;Ljavax/ws/rs/core/Configuration;)Lorg/glassfish/jersey/server/model/ResourceModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerMetricsForModel:(Lorg/glassfish/jersey/server/model/ResourceModel;)V
1: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 2 1 subResourceModel Lorg/glassfish/jersey/server/model/ResourceModel;
0 2 2 configuration Ljavax/ws/rs/core/Configuration;
MethodParameters:
Name Flags
subResourceModel
configuration
private void registerMetricsForModel(org.glassfish.jersey.server.model.ResourceModel);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceModel;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=16, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.jersey.server.model.ResourceModel.getResources:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 27
StackMap locals: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener org.glassfish.jersey.server.model.ResourceModel top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 2
start local 2 2: aload 0
aload 2
ldc Lcom/codahale/metrics/annotation/Timed;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.getClassLevelAnnotation:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.Timed
astore 4
start local 4 3: aload 0
aload 2
ldc Lcom/codahale/metrics/annotation/Metered;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.getClassLevelAnnotation:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.Metered
astore 5
start local 5 4: aload 0
aload 2
ldc Lcom/codahale/metrics/annotation/ExceptionMetered;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.getClassLevelAnnotation:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.ExceptionMetered
astore 6
start local 6 5: aload 0
aload 2
ldc Lcom/codahale/metrics/annotation/ResponseMetered;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.getClassLevelAnnotation:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.ResponseMetered
astore 7
start local 7 6: aload 2
invokevirtual org.glassfish.jersey.server.model.Resource.getAllMethods:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 12
StackMap locals: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener org.glassfish.jersey.server.model.ResourceModel org.glassfish.jersey.server.model.Resource java.util.Iterator com.codahale.metrics.annotation.Timed com.codahale.metrics.annotation.Metered com.codahale.metrics.annotation.ExceptionMetered com.codahale.metrics.annotation.ResponseMetered top java.util.Iterator
StackMap stack:
7: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.ResourceMethod
astore 8
start local 8 8: aload 0
aload 8
aload 4
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerTimedAnnotations:(Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Timed;)V
9: aload 0
aload 8
aload 5
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerMeteredAnnotations:(Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Metered;)V
10: aload 0
aload 8
aload 6
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerExceptionMeteredAnnotations:(Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ExceptionMetered;)V
11: aload 0
aload 8
aload 7
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerResponseMeteredAnnotations:(Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ResponseMetered;)V
end local 8 12: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
13: aload 2
invokevirtual org.glassfish.jersey.server.model.Resource.getChildResources:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 26
StackMap locals:
StackMap stack:
14: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 8
start local 8 15: aload 0
aload 8
ldc Lcom/codahale/metrics/annotation/Timed;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.getClassLevelAnnotation:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.Timed
astore 10
start local 10 16: aload 0
aload 8
ldc Lcom/codahale/metrics/annotation/Metered;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.getClassLevelAnnotation:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.Metered
astore 11
start local 11 17: aload 0
aload 8
ldc Lcom/codahale/metrics/annotation/ExceptionMetered;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.getClassLevelAnnotation:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.ExceptionMetered
astore 12
start local 12 18: aload 0
aload 8
ldc Lcom/codahale/metrics/annotation/ResponseMetered;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.getClassLevelAnnotation:(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.ResponseMetered
astore 13
start local 13 19: aload 8
invokevirtual org.glassfish.jersey.server.model.Resource.getAllMethods:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 15
goto 25
StackMap locals: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener org.glassfish.jersey.server.model.ResourceModel org.glassfish.jersey.server.model.Resource java.util.Iterator com.codahale.metrics.annotation.Timed com.codahale.metrics.annotation.Metered com.codahale.metrics.annotation.ExceptionMetered com.codahale.metrics.annotation.ResponseMetered org.glassfish.jersey.server.model.Resource java.util.Iterator com.codahale.metrics.annotation.Timed com.codahale.metrics.annotation.Metered com.codahale.metrics.annotation.ExceptionMetered com.codahale.metrics.annotation.ResponseMetered top java.util.Iterator
StackMap stack:
20: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.ResourceMethod
astore 14
start local 14 21: aload 0
aload 14
aload 10
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerTimedAnnotations:(Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Timed;)V
22: aload 0
aload 14
aload 11
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerMeteredAnnotations:(Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Metered;)V
23: aload 0
aload 14
aload 12
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerExceptionMeteredAnnotations:(Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ExceptionMetered;)V
24: aload 0
aload 14
aload 13
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerResponseMeteredAnnotations:(Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ResponseMetered;)V
end local 14 25: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
end local 13 end local 12 end local 11 end local 10 end local 8 26: StackMap locals: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener org.glassfish.jersey.server.model.ResourceModel org.glassfish.jersey.server.model.Resource java.util.Iterator com.codahale.metrics.annotation.Timed com.codahale.metrics.annotation.Metered com.codahale.metrics.annotation.ExceptionMetered com.codahale.metrics.annotation.ResponseMetered top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 7 end local 6 end local 5 end local 4 end local 2 27: StackMap locals: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener org.glassfish.jersey.server.model.ResourceModel top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
28: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 29 1 resourceModel Lorg/glassfish/jersey/server/model/ResourceModel;
2 27 2 resource Lorg/glassfish/jersey/server/model/Resource;
3 27 4 classLevelTimed Lcom/codahale/metrics/annotation/Timed;
4 27 5 classLevelMetered Lcom/codahale/metrics/annotation/Metered;
5 27 6 classLevelExceptionMetered Lcom/codahale/metrics/annotation/ExceptionMetered;
6 27 7 classLevelResponseMetered Lcom/codahale/metrics/annotation/ResponseMetered;
8 12 8 method Lorg/glassfish/jersey/server/model/ResourceMethod;
15 26 8 childResource Lorg/glassfish/jersey/server/model/Resource;
16 26 10 classLevelTimedChild Lcom/codahale/metrics/annotation/Timed;
17 26 11 classLevelMeteredChild Lcom/codahale/metrics/annotation/Metered;
18 26 12 classLevelExceptionMeteredChild Lcom/codahale/metrics/annotation/ExceptionMetered;
19 26 13 classLevelResponseMeteredChild Lcom/codahale/metrics/annotation/ResponseMetered;
21 25 14 method Lorg/glassfish/jersey/server/model/ResourceMethod;
MethodParameters:
Name Flags
resourceModel
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=9, locals=3, args_size=2
start local 0 start local 1 0: new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ChainedRequestEventListener
dup
iconst_4
anewarray org.glassfish.jersey.server.monitoring.RequestEventListener
dup
iconst_0
1: new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timers:Ljava/util/concurrent/ConcurrentMap;
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.clock:Lcom/codahale/metrics/Clock;
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.<init>:(Ljava/util/concurrent/ConcurrentMap;Lcom/codahale/metrics/Clock;)V
aastore
dup
iconst_1
2: new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$MeterRequestEventListener
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.meters:Ljava/util/concurrent/ConcurrentMap;
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$MeterRequestEventListener.<init>:(Ljava/util/concurrent/ConcurrentMap;)V
aastore
dup
iconst_2
3: new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterRequestEventListener
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.exceptionMeters:Ljava/util/concurrent/ConcurrentMap;
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterRequestEventListener.<init>:(Ljava/util/concurrent/ConcurrentMap;)V
aastore
dup
iconst_3
4: new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.responseMeters:Ljava/util/concurrent/ConcurrentMap;
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener.<init>:(Ljava/util/concurrent/ConcurrentMap;)V
5: aastore
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ChainedRequestEventListener.<init>:([Lorg/glassfish/jersey/server/monitoring/RequestEventListener;)V
astore 2
start local 2 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 7 1 event Lorg/glassfish/jersey/server/monitoring/RequestEvent;
6 7 2 listener Lorg/glassfish/jersey/server/monitoring/RequestEventListener;
MethodParameters:
Name Flags
event final
private <T extends java.lang.annotation.Annotation> T getClassLevelAnnotation(org.glassfish.jersey.server.model.Resource, java.lang.Class<T>);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
invokevirtual org.glassfish.jersey.server.model.Resource.getHandlerClasses:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener org.glassfish.jersey.server.model.Resource java.lang.Class java.lang.annotation.Annotation top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 3: aload 4
aload 2
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
astore 3
4: aload 3
ifnull 6
5: goto 7
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener org.glassfish.jersey.server.model.Resource java.lang.Class java.lang.annotation.Annotation
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 8 1 resource Lorg/glassfish/jersey/server/model/Resource;
0 8 2 annotationClazz Ljava/lang/Class<TT;>;
1 8 3 annotation TT;
3 6 4 clazz Ljava/lang/Class<*>;
Signature: <T::Ljava/lang/annotation/Annotation;>(Lorg/glassfish/jersey/server/model/Resource;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
resource final
annotationClazz final
private void registerTimedAnnotations(org.glassfish.jersey.server.model.ResourceMethod, com.codahale.metrics.annotation.Timed);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Timed;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getDefinitionMethod:()Ljava/lang/reflect/Method;
astore 3
start local 3 1: aload 2
ifnull 4
2: aload 0
aload 1
aload 3
aload 2
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerTimers:(Lorg/glassfish/jersey/server/model/ResourceMethod;Ljava/lang/reflect/Method;Lcom/codahale/metrics/annotation/Timed;)V
3: return
4: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 3
ldc Lcom/codahale/metrics/annotation/Timed;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.Timed
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 0
aload 1
aload 3
aload 4
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.registerTimers:(Lorg/glassfish/jersey/server/model/ResourceMethod;Ljava/lang/reflect/Method;Lcom/codahale/metrics/annotation/Timed;)V
7: StackMap locals: com.codahale.metrics.annotation.Timed
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 8 1 method Lorg/glassfish/jersey/server/model/ResourceMethod;
0 8 2 classLevelTimed Lcom/codahale/metrics/annotation/Timed;
1 8 3 definitionMethod Ljava/lang/reflect/Method;
5 8 4 annotation Lcom/codahale/metrics/annotation/Timed;
MethodParameters:
Name Flags
method final
classLevelTimed final
private void registerTimers(org.glassfish.jersey.server.model.ResourceMethod, java.lang.reflect.Method, com.codahale.metrics.annotation.Timed);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceMethod;Ljava/lang/reflect/Method;Lcom/codahale/metrics/annotation/Timed;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timers:Ljava/util/concurrent/ConcurrentMap;
aload 2
invokestatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod.requestMethodStart:(Ljava/lang/reflect/Method;)Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$EventTypeAndMethod;
aload 0
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 3
iconst_0
anewarray java.lang.String
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timerMetric:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Timed;[Ljava/lang/String;)Lcom/codahale/metrics/Timer;
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.trackFilters:Z
ifeq 5
2: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timers:Ljava/util/concurrent/ConcurrentMap;
aload 2
invokestatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod.requestMatched:(Ljava/lang/reflect/Method;)Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$EventTypeAndMethod;
aload 0
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 3
getstatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.REQUEST_FILTERING:[Ljava/lang/String;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timerMetric:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Timed;[Ljava/lang/String;)Lcom/codahale/metrics/Timer;
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timers:Ljava/util/concurrent/ConcurrentMap;
aload 2
invokestatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod.respFiltersStart:(Ljava/lang/reflect/Method;)Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$EventTypeAndMethod;
aload 0
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 3
getstatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.RESPONSE_FILTERING:[Ljava/lang/String;
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timerMetric:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Timed;[Ljava/lang/String;)Lcom/codahale/metrics/Timer;
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timers:Ljava/util/concurrent/ConcurrentMap;
aload 2
invokestatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod.finished:(Ljava/lang/reflect/Method;)Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$EventTypeAndMethod;
aload 0
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 3
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "total"
aastore
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.timerMetric:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Timed;[Ljava/lang/String;)Lcom/codahale/metrics/Timer;
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 6 1 method Lorg/glassfish/jersey/server/model/ResourceMethod;
0 6 2 definitionMethod Ljava/lang/reflect/Method;
0 6 3 annotation Lcom/codahale/metrics/annotation/Timed;
MethodParameters:
Name Flags
method
definitionMethod
annotation
private void registerMeteredAnnotations(org.glassfish.jersey.server.model.ResourceMethod, com.codahale.metrics.annotation.Metered);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Metered;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getDefinitionMethod:()Ljava/lang/reflect/Method;
astore 3
start local 3 1: aload 2
ifnull 4
2: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.meters:Ljava/util/concurrent/ConcurrentMap;
aload 3
aload 0
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 2
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.meterMetric:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Metered;)Lcom/codahale/metrics/Meter;
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
4: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 3
ldc Lcom/codahale/metrics/annotation/Metered;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.Metered
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.meters:Ljava/util/concurrent/ConcurrentMap;
aload 3
aload 0
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 4
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.meterMetric:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Metered;)Lcom/codahale/metrics/Meter;
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: com.codahale.metrics.annotation.Metered
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 8 1 method Lorg/glassfish/jersey/server/model/ResourceMethod;
0 8 2 classLevelMetered Lcom/codahale/metrics/annotation/Metered;
1 8 3 definitionMethod Ljava/lang/reflect/Method;
5 8 4 annotation Lcom/codahale/metrics/annotation/Metered;
MethodParameters:
Name Flags
method final
classLevelMetered final
private void registerExceptionMeteredAnnotations(org.glassfish.jersey.server.model.ResourceMethod, com.codahale.metrics.annotation.ExceptionMetered);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ExceptionMetered;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getDefinitionMethod:()Ljava/lang/reflect/Method;
astore 3
start local 3 1: aload 2
ifnull 4
2: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.exceptionMeters:Ljava/util/concurrent/ConcurrentMap;
aload 3
new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterMetric
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 2
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterMetric.<init>:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ExceptionMetered;)V
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
4: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 3
ldc Lcom/codahale/metrics/annotation/ExceptionMetered;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.ExceptionMetered
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.exceptionMeters:Ljava/util/concurrent/ConcurrentMap;
aload 3
new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterMetric
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 4
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterMetric.<init>:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ExceptionMetered;)V
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: com.codahale.metrics.annotation.ExceptionMetered
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 8 1 method Lorg/glassfish/jersey/server/model/ResourceMethod;
0 8 2 classLevelExceptionMetered Lcom/codahale/metrics/annotation/ExceptionMetered;
1 8 3 definitionMethod Ljava/lang/reflect/Method;
5 8 4 annotation Lcom/codahale/metrics/annotation/ExceptionMetered;
MethodParameters:
Name Flags
method final
classLevelExceptionMetered final
private void registerResponseMeteredAnnotations(org.glassfish.jersey.server.model.ResourceMethod, com.codahale.metrics.annotation.ResponseMetered);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ResponseMetered;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getDefinitionMethod:()Ljava/lang/reflect/Method;
astore 3
start local 3 1: aload 2
ifnull 4
2: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.responseMeters:Ljava/util/concurrent/ConcurrentMap;
aload 3
new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 2
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric.<init>:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ResponseMetered;)V
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
4: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 3
ldc Lcom/codahale/metrics/annotation/ResponseMetered;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.ResponseMetered
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.responseMeters:Ljava/util/concurrent/ConcurrentMap;
aload 3
new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.metrics:Lcom/codahale/metrics/MetricRegistry;
aload 1
aload 4
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric.<init>:(Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/ResponseMetered;)V
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: com.codahale.metrics.annotation.ResponseMetered
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 8 1 method Lorg/glassfish/jersey/server/model/ResourceMethod;
0 8 2 classLevelResponseMetered Lcom/codahale/metrics/annotation/ResponseMetered;
1 8 3 definitionMethod Ljava/lang/reflect/Method;
5 8 4 annotation Lcom/codahale/metrics/annotation/ResponseMetered;
MethodParameters:
Name Flags
method final
classLevelResponseMetered final
private com.codahale.metrics.Timer timerMetric(com.codahale.metrics.MetricRegistry, org.glassfish.jersey.server.model.ResourceMethod, com.codahale.metrics.annotation.Timed, java.lang.String[]);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Timed;[Ljava/lang/String;)Lcom/codahale/metrics/Timer;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokeinterface com.codahale.metrics.annotation.Timed.name:()Ljava/lang/String;
aload 3
invokeinterface com.codahale.metrics.annotation.Timed.absolute:()Z
aload 2
aload 4
invokestatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.chooseName:(Ljava/lang/String;ZLorg/glassfish/jersey/server/model/ResourceMethod;[Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 1: aload 1
aload 5
aload 0
invokedynamic newMetric(Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;)Lcom/codahale/metrics/MetricRegistry$MetricSupplier;
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:
()Lcom/codahale/metrics/Metric;
com/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener.lambda$0()Lcom/codahale/metrics/Timer; (7)
()Lcom/codahale/metrics/Timer;
invokevirtual com.codahale.metrics.MetricRegistry.timer:(Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry$MetricSupplier;)Lcom/codahale/metrics/Timer;
areturn
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 2 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 2 1 registry Lcom/codahale/metrics/MetricRegistry;
0 2 2 method Lorg/glassfish/jersey/server/model/ResourceMethod;
0 2 3 timed Lcom/codahale/metrics/annotation/Timed;
0 2 4 suffixes [Ljava/lang/String;
1 2 5 name Ljava/lang/String;
MethodParameters:
Name Flags
registry final
method final
timed final
suffixes final
private com.codahale.metrics.Meter meterMetric(com.codahale.metrics.MetricRegistry, org.glassfish.jersey.server.model.ResourceMethod, com.codahale.metrics.annotation.Metered);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Lorg/glassfish/jersey/server/model/ResourceMethod;Lcom/codahale/metrics/annotation/Metered;)Lcom/codahale/metrics/Meter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface com.codahale.metrics.annotation.Metered.name:()Ljava/lang/String;
aload 3
invokeinterface com.codahale.metrics.annotation.Metered.absolute:()Z
aload 2
iconst_0
anewarray java.lang.String
invokestatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.chooseName:(Ljava/lang/String;ZLorg/glassfish/jersey/server/model/ResourceMethod;[Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 1
aload 4
aload 0
invokedynamic newMetric(Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;)Lcom/codahale/metrics/MetricRegistry$MetricSupplier;
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:
()Lcom/codahale/metrics/Metric;
com/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener.lambda$1()Lcom/codahale/metrics/Meter; (7)
()Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry$MetricSupplier;)Lcom/codahale/metrics/Meter;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
0 2 1 registry Lcom/codahale/metrics/MetricRegistry;
0 2 2 method Lorg/glassfish/jersey/server/model/ResourceMethod;
0 2 3 metered Lcom/codahale/metrics/annotation/Metered;
1 2 4 name Ljava/lang/String;
MethodParameters:
Name Flags
registry final
method final
metered final
protected static java.lang.String chooseName(java.lang.String, boolean, org.glassfish.jersey.server.model.ResourceMethod, java.lang.String[]);
descriptor: (Ljava/lang/String;ZLorg/glassfish/jersey/server/model/ResourceMethod;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x008c) ACC_PROTECTED, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getDefinitionMethod:()Ljava/lang/reflect/Method;
astore 4
start local 4 1: aload 0
ifnull 6
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 6
2: iload 1
ifeq 3
aload 0
goto 4
StackMap locals: java.lang.reflect.Method
StackMap stack:
3: aload 4
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/Class;[Ljava/lang/String;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: astore 5
start local 5 5: goto 7
end local 5 6: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 4
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/Class;[Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 7: StackMap locals: java.lang.String
StackMap stack:
aload 5
aload 3
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
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 8 0 explicitName Ljava/lang/String;
0 8 1 absolute Z
0 8 2 method Lorg/glassfish/jersey/server/model/ResourceMethod;
0 8 3 suffixes [Ljava/lang/String;
1 8 4 definitionMethod Ljava/lang/reflect/Method;
5 6 5 metricName Ljava/lang/String;
7 8 5 metricName Ljava/lang/String;
MethodParameters:
Name Flags
explicitName final
absolute final
method final
suffixes final
private com.codahale.metrics.Timer lambda$0();
descriptor: ()Lcom/codahale/metrics/Timer;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.codahale.metrics.Timer
dup
new com.codahale.metrics.ExponentiallyDecayingReservoir
dup
invokespecial com.codahale.metrics.ExponentiallyDecayingReservoir.<init>:()V
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.clock:Lcom/codahale/metrics/Clock;
invokespecial com.codahale.metrics.Timer.<init>:(Lcom/codahale/metrics/Reservoir;Lcom/codahale/metrics/Clock;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
private com.codahale.metrics.Meter lambda$1();
descriptor: ()Lcom/codahale/metrics/Meter;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.codahale.metrics.Meter
dup
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.clock:Lcom/codahale/metrics/Clock;
invokespecial com.codahale.metrics.Meter.<init>:(Lcom/codahale/metrics/Clock;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener;
}
SourceFile: "InstrumentedResourceMethodApplicationListener.java"
NestMembers:
com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ChainedRequestEventListener com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterMetric com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterRequestEventListener com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$MeterRequestEventListener com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener
InnerClasses:
public abstract MetricSupplier = com.codahale.metrics.MetricRegistry$MetricSupplier of com.codahale.metrics.MetricRegistry
private ChainedRequestEventListener = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ChainedRequestEventListener of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private EventTypeAndMethod = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private ExceptionMeterMetric = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterMetric of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private ExceptionMeterRequestEventListener = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ExceptionMeterRequestEventListener of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private MeterRequestEventListener = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$MeterRequestEventListener of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private ResponseMeterMetric = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private ResponseMeterRequestEventListener = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private TimerRequestEventListener = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Type = org.glassfish.jersey.server.monitoring.ApplicationEvent$Type of org.glassfish.jersey.server.monitoring.ApplicationEvent
RuntimeVisibleAnnotations:
javax.ws.rs.ext.Provider()