public class org.jboss.resteasy.statistics.StatisticsControllerImpl implements org.jboss.resteasy.spi.statistics.StatisticsController
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.statistics.StatisticsControllerImpl
super_class: java.lang.Object
{
public static final org.jboss.resteasy.spi.statistics.MethodStatisticsLogger EMPTY;
descriptor: Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
boolean isEnabled;
descriptor: Z
flags: (0x0000)
java.util.List<org.jboss.resteasy.core.ResourceInvoker> registry;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Lorg/jboss/resteasy/core/ResourceInvoker;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jboss.resteasy.statistics.StatisticsControllerImpl$1
dup
invokespecial org.jboss.resteasy.statistics.StatisticsControllerImpl$1.<init>:()V
putstatic org.jboss.resteasy.statistics.StatisticsControllerImpl.EMPTY:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.jboss.resteasy.statistics.StatisticsControllerImpl.isEnabled:Z
2: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield org.jboss.resteasy.statistics.StatisticsControllerImpl.registry:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/statistics/StatisticsControllerImpl;
public void register(org.jboss.resteasy.core.ResourceInvoker);
descriptor: (Lorg/jboss/resteasy/core/ResourceInvoker;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.statistics.StatisticsControllerImpl.isEnabled:Z
ifeq 2
1: aload 1
new org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl
dup
invokespecial org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.<init>:()V
invokeinterface org.jboss.resteasy.core.ResourceInvoker.setMethodStatisticsLogger:(Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.statistics.StatisticsControllerImpl.registry:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/statistics/StatisticsControllerImpl;
0 4 1 invoker Lorg/jboss/resteasy/core/ResourceInvoker;
MethodParameters:
Name Flags
invoker
public void setEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.statistics.StatisticsControllerImpl.isEnabled:Z
iload 1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.jboss.resteasy.statistics.StatisticsControllerImpl.isEnabled:Z
3: aload 0
getfield org.jboss.resteasy.statistics.StatisticsControllerImpl.isEnabled:Z
ifeq 9
4: aload 0
getfield org.jboss.resteasy.statistics.StatisticsControllerImpl.registry:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.jboss.resteasy.statistics.StatisticsControllerImpl int top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.ResourceInvoker
astore 2
start local 2 6: aload 2
new org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl
dup
invokespecial org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.<init>:()V
invokeinterface org.jboss.resteasy.core.ResourceInvoker.setMethodStatisticsLogger:(Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: goto 13
9: StackMap locals: org.jboss.resteasy.statistics.StatisticsControllerImpl int
StackMap stack:
aload 0
getfield org.jboss.resteasy.statistics.StatisticsControllerImpl.registry:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 12
StackMap locals: org.jboss.resteasy.statistics.StatisticsControllerImpl int top java.util.Iterator
StackMap stack:
10: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.ResourceInvoker
astore 2
start local 2 11: aload 2
getstatic org.jboss.resteasy.statistics.StatisticsControllerImpl.EMPTY:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
invokeinterface org.jboss.resteasy.core.ResourceInvoker.setMethodStatisticsLogger:(Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;)V
end local 2 12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: StackMap locals: org.jboss.resteasy.statistics.StatisticsControllerImpl int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jboss/resteasy/statistics/StatisticsControllerImpl;
0 14 1 b Z
6 7 2 invoker Lorg/jboss/resteasy/core/ResourceInvoker;
11 12 2 invoker Lorg/jboss/resteasy/core/ResourceInvoker;
MethodParameters:
Name Flags
b
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.statistics.StatisticsControllerImpl.registry:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: org.jboss.resteasy.statistics.StatisticsControllerImpl top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.ResourceInvoker
astore 1
start local 1 2: aload 1
invokeinterface org.jboss.resteasy.core.ResourceInvoker.getMethodStatisticsLogger:()Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
invokeinterface org.jboss.resteasy.spi.statistics.MethodStatisticsLogger.reset:()V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/statistics/StatisticsControllerImpl;
2 3 1 invoker Lorg/jboss/resteasy/core/ResourceInvoker;
}
SourceFile: "StatisticsControllerImpl.java"
NestMembers:
org.jboss.resteasy.statistics.StatisticsControllerImpl$1
InnerClasses:
org.jboss.resteasy.statistics.StatisticsControllerImpl$1