public final class com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl extends com.sun.org.glassfish.external.statistics.impl.StatisticImpl implements com.sun.org.glassfish.external.statistics.StringStatistic, java.lang.reflect.InvocationHandler
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl
super_class: com.sun.org.glassfish.external.statistics.impl.StatisticImpl
{
private volatile java.lang.String str;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.lang.String initStr;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.org.glassfish.external.statistics.StringStatistic ss;
descriptor: Lcom/sun/org/glassfish/external/statistics/StringStatistic;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, long, long);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 0
aload 2
aload 3
aload 4
lload 7
lload 5
invokespecial com.sun.org.glassfish.external.statistics.impl.StatisticImpl.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V
1: aload 0
aconst_null
putfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.str:Ljava/lang/String;
2: aload 0
3: ldc Lcom/sun/org/glassfish/external/statistics/StringStatistic;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
4: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lcom/sun/org/glassfish/external/statistics/StringStatistic;
aastore
5: aload 0
6: invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
checkcast com.sun.org.glassfish.external.statistics.StringStatistic
putfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.ss:Lcom/sun/org/glassfish/external/statistics/StringStatistic;
7: aload 0
aload 1
putfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.str:Ljava/lang/String;
8: aload 0
aload 1
putfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.initStr:Ljava/lang/String;
9: return
end local 7 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 10 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
0 10 1 str Ljava/lang/String;
0 10 2 name Ljava/lang/String;
0 10 3 unit Ljava/lang/String;
0 10 4 desc Ljava/lang/String;
0 10 5 sampleTime J
0 10 7 startTime J
MethodParameters:
Name Flags
str
name
unit
desc
sampleTime
startTime
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc ""
aload 1
aload 2
aload 3
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic java.lang.System.currentTimeMillis:()J
invokespecial com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
0 2 1 name Ljava/lang/String;
0 2 2 unit Ljava/lang/String;
0 2 3 desc Ljava/lang/String;
MethodParameters:
Name Flags
name
unit
desc
public synchronized com.sun.org.glassfish.external.statistics.StringStatistic getStatistic();
descriptor: ()Lcom/sun/org/glassfish/external/statistics/StringStatistic;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.ss:Lcom/sun/org/glassfish/external/statistics/StringStatistic;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
public synchronized java.util.Map getStaticAsMap();
descriptor: ()Ljava/util/Map;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.glassfish.external.statistics.impl.StatisticImpl.getStaticAsMap:()Ljava/util/Map;
astore 1
start local 1 1: aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.getCurrent:()Ljava/lang/String;
ifnull 3
2: aload 1
ldc "current"
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.getCurrent:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals: java.util.Map
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
1 4 1 m Ljava/util/Map;
public synchronized java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial com.sun.org.glassfish.external.statistics.impl.StatisticImpl.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "Current-value: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.getCurrent:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
public java.lang.String getCurrent();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.str:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
public void setCurrent(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.str:Ljava/lang/String;
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.sampleTime:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
0 3 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.glassfish.external.statistics.impl.StatisticImpl.reset:()V
1: aload 0
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.initStr:Ljava/lang/String;
putfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.str:Ljava/lang/String;
2: aload 0
ldc -1
putfield com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.sampleTime:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
public java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual com.sun.org.glassfish.external.statistics.impl.StringStatisticImpl.checkMethod:(Ljava/lang/reflect/Method;)V
1: aload 2
aload 0
aload 3
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: goto 9
end local 4 StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
3: astore 5
start local 5 4: aload 5
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
athrow
end local 5 5: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 6: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "unexpected invocation exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 5
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 5 start local 4 9: StackMap locals: java.lang.Object
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/glassfish/external/statistics/impl/StringStatisticImpl;
0 10 1 proxy Ljava/lang/Object;
0 10 2 m Ljava/lang/reflect/Method;
0 10 3 args [Ljava/lang/Object;
2 3 4 result Ljava/lang/Object;
9 10 4 result Ljava/lang/Object;
4 5 5 e Ljava/lang/reflect/InvocationTargetException;
6 9 5 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.reflect.InvocationTargetException
1 2 5 Class java.lang.Exception
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
proxy
m
args
}
SourceFile: "StringStatisticImpl.java"