public final class com.sun.tools.internal.xjc.reader.Ring
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.xjc.reader.Ring
super_class: java.lang.Object
{
private final java.util.Map<java.lang.Class, java.lang.Object> components;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class;Ljava/lang/Object;>;
private static final java.lang.ThreadLocal<com.sun.tools.internal.xjc.reader.Ring> instances;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lcom/sun/tools/internal/xjc/reader/Ring;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lcom/sun/tools/internal/xjc/reader/Ring;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.tools.internal.xjc.reader.Ring.$assertionsDisabled:Z
3: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic com.sun.tools.internal.xjc.reader.Ring.instances:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.internal.xjc.reader.Ring.components:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/reader/Ring;
public static <T> void add(java.lang.Class<T>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.tools.internal.xjc.reader.Ring.$assertionsDisabled:Z
ifne 1
invokestatic com.sun.tools.internal.xjc.reader.Ring.get:()Lcom/sun/tools/internal/xjc/reader/Ring;
getfield com.sun.tools.internal.xjc.reader.Ring.components:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.internal.xjc.reader.Ring.get:()Lcom/sun/tools/internal/xjc/reader/Ring;
getfield com.sun.tools.internal.xjc.reader.Ring.components:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 clazz Ljava/lang/Class<TT;>;
0 3 1 instance TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;TT;)V
MethodParameters:
Name Flags
clazz
instance
public static <T> void add();
descriptor: (Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 0
invokestatic com.sun.tools.internal.xjc.reader.Ring.add:(Ljava/lang/Class;Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 o TT;
Signature: <T:Ljava/lang/Object;>(TT;)V
MethodParameters:
Name Flags
o
public static <T> T get(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic com.sun.tools.internal.xjc.reader.Ring.get:()Lcom/sun/tools/internal/xjc/reader/Ring;
getfield com.sun.tools.internal.xjc.reader.Ring.components:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 16
2: aload 0
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
start local 2 3: aload 2
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
4: aload 2
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 1
5: invokestatic com.sun.tools.internal.xjc.reader.Ring.get:()Lcom/sun/tools/internal/xjc/reader/Ring;
getfield com.sun.tools.internal.xjc.reader.Ring.components:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 16
6: aload 0
aload 1
invokestatic com.sun.tools.internal.xjc.reader.Ring.add:(Ljava/lang/Class;Ljava/lang/Object;)V
end local 2 7: goto 16
StackMap locals: java.lang.Class java.lang.Object
StackMap stack: java.lang.InstantiationException
8: astore 2
start local 2 9: new java.lang.Error
dup
aload 2
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 10: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 2
start local 2 11: new java.lang.Error
dup
aload 2
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 12: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
astore 2
start local 2 13: new java.lang.Error
dup
aload 2
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 14: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 15: new java.lang.Error
dup
aload 2
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 16: StackMap locals:
StackMap stack:
getstatic com.sun.tools.internal.xjc.reader.Ring.$assertionsDisabled:Z
ifne 17
aload 1
ifnonnull 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
17: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 key Ljava/lang/Class<TT;>;
1 18 1 t TT;
3 7 2 c Ljava/lang/reflect/Constructor<TT;>;
9 10 2 e Ljava/lang/InstantiationException;
11 12 2 e Ljava/lang/IllegalAccessException;
13 14 2 e Ljava/lang/NoSuchMethodException;
15 16 2 e Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
2 7 8 Class java.lang.InstantiationException
2 7 10 Class java.lang.IllegalAccessException
2 7 12 Class java.lang.NoSuchMethodException
2 7 14 Class java.lang.reflect.InvocationTargetException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
key
public static com.sun.tools.internal.xjc.reader.Ring get();
descriptor: ()Lcom/sun/tools/internal/xjc/reader/Ring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.tools.internal.xjc.reader.Ring.instances:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.reader.Ring
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.tools.internal.xjc.reader.Ring begin();
descriptor: ()Lcom/sun/tools/internal/xjc/reader/Ring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: aconst_null
astore 0
start local 0 1: getstatic com.sun.tools.internal.xjc.reader.Ring.instances:Ljava/lang/ThreadLocal;
dup
astore 1
monitorenter
2: getstatic com.sun.tools.internal.xjc.reader.Ring.instances:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.reader.Ring
astore 0
3: getstatic com.sun.tools.internal.xjc.reader.Ring.instances:Ljava/lang/ThreadLocal;
new com.sun.tools.internal.xjc.reader.Ring
dup
invokespecial com.sun.tools.internal.xjc.reader.Ring.<init>:()V
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
4: aload 1
monitorexit
5: goto 8
StackMap locals: com.sun.tools.internal.xjc.reader.Ring java.lang.ThreadLocal
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 9 0 r Lcom/sun/tools/internal/xjc/reader/Ring;
Exception table:
from to target type
2 5 6 any
6 7 6 any
public static void end(com.sun.tools.internal.xjc.reader.Ring);
descriptor: (Lcom/sun/tools/internal/xjc/reader/Ring;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic com.sun.tools.internal.xjc.reader.Ring.instances:Ljava/lang/ThreadLocal;
dup
astore 1
monitorenter
1: getstatic com.sun.tools.internal.xjc.reader.Ring.instances:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.remove:()V
2: getstatic com.sun.tools.internal.xjc.reader.Ring.instances:Ljava/lang/ThreadLocal;
aload 0
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
3: aload 1
monitorexit
4: goto 7
StackMap locals: com.sun.tools.internal.xjc.reader.Ring java.lang.ThreadLocal
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 old Lcom/sun/tools/internal/xjc/reader/Ring;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
old
}
SourceFile: "Ring.java"