public class org.eclipse.jetty.util.Uptime
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.Uptime
super_class: java.lang.Object
{
public static final int NOIMPL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final org.eclipse.jetty.util.Uptime INSTANCE;
descriptor: Lorg/eclipse/jetty/util/Uptime;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.eclipse.jetty.util.Uptime$Impl impl;
descriptor: Lorg/eclipse/jetty/util/Uptime$Impl;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.eclipse.jetty.util.Uptime
dup
invokespecial org.eclipse.jetty.util.Uptime.<init>:()V
putstatic org.eclipse.jetty.util.Uptime.INSTANCE:Lorg/eclipse/jetty/util/Uptime;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.eclipse.jetty.util.Uptime getInstance();
descriptor: ()Lorg/eclipse/jetty/util/Uptime;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.eclipse.jetty.util.Uptime.INSTANCE:Lorg/eclipse/jetty/util/Uptime;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.eclipse.jetty.util.Uptime$DefaultImpl
dup
invokespecial org.eclipse.jetty.util.Uptime$DefaultImpl.<init>:()V
putfield org.eclipse.jetty.util.Uptime.impl:Lorg/eclipse/jetty/util/Uptime$Impl;
2: goto 6
3: StackMap locals: org.eclipse.jetty.util.Uptime
StackMap stack: java.lang.UnsupportedOperationException
astore 1
start local 1 4: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Defaulting Uptime to NOIMPL due to (%s) %s%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual java.lang.UnsupportedOperationException.getMessage:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
5: aload 0
aconst_null
putfield org.eclipse.jetty.util.Uptime.impl:Lorg/eclipse/jetty/util/Uptime$Impl;
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/Uptime;
4 6 1 e Ljava/lang/UnsupportedOperationException;
Exception table:
from to target type
1 2 3 Class java.lang.UnsupportedOperationException
public org.eclipse.jetty.util.Uptime$Impl getImpl();
descriptor: ()Lorg/eclipse/jetty/util/Uptime$Impl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.Uptime.impl:Lorg/eclipse/jetty/util/Uptime$Impl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/Uptime;
public void setImpl(org.eclipse.jetty.util.Uptime$Impl);
descriptor: (Lorg/eclipse/jetty/util/Uptime$Impl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jetty.util.Uptime.impl:Lorg/eclipse/jetty/util/Uptime$Impl;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/Uptime;
0 2 1 impl Lorg/eclipse/jetty/util/Uptime$Impl;
MethodParameters:
Name Flags
impl
public static long getUptime();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic org.eclipse.jetty.util.Uptime.getInstance:()Lorg/eclipse/jetty/util/Uptime;
astore 0
start local 0 1: aload 0
ifnull 2
aload 0
getfield org.eclipse.jetty.util.Uptime.impl:Lorg/eclipse/jetty/util/Uptime$Impl;
ifnonnull 3
2: StackMap locals: org.eclipse.jetty.util.Uptime
StackMap stack:
ldc -1
lreturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.Uptime.impl:Lorg/eclipse/jetty/util/Uptime$Impl;
invokeinterface org.eclipse.jetty.util.Uptime$Impl.getUptime:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 u Lorg/eclipse/jetty/util/Uptime;
}
SourceFile: "Uptime.java"
NestMembers:
org.eclipse.jetty.util.Uptime$DefaultImpl org.eclipse.jetty.util.Uptime$Impl
InnerClasses:
public DefaultImpl = org.eclipse.jetty.util.Uptime$DefaultImpl of org.eclipse.jetty.util.Uptime
public abstract Impl = org.eclipse.jetty.util.Uptime$Impl of org.eclipse.jetty.util.Uptime