abstract class com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal<V>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal
super_class: java.lang.Object
{
private java.util.WeakHashMap<java.lang.ClassLoader, V> CACHE;
descriptor: Ljava/util/WeakHashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/WeakHashMap<Ljava/lang/ClassLoader;TV;>;
void <init>();
descriptor: ()V
flags: (0x0000)
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.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal.CACHE:Ljava/util/WeakHashMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal<TV;>;
public V get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal.CACHE:Ljava/util/WeakHashMap;
aload 1
invokevirtual java.util.WeakHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: aload 0
invokevirtual com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal.createNewInstance:()Ljava/lang/Object;
astore 2
4: aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal.CACHE:Ljava/util/WeakHashMap;
aload 1
aload 2
invokevirtual java.util.WeakHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.lang.ClassLoader java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal<TV;>;
1 6 1 tccl Ljava/lang/ClassLoader;
2 6 2 instance TV;
Exceptions:
throws java.lang.Error
Signature: ()TV;
public void set();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal.CACHE:Ljava/util/WeakHashMap;
invokestatic com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal.getContextClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.util.WeakHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal<TV;>;
0 2 1 instance TV;
Signature: (TV;)V
MethodParameters:
Name Flags
instance
protected abstract V initialValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: ()TV;
private V createNewInstance();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal.initialValue:()Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: new java.lang.Error
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.ContextClassloaderLocalMessages.FAILED_TO_CREATE_NEW_INSTANCE:(Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal<TV;>;
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Signature: ()TV;
private static java.lang.ClassLoader getContextClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal$1
dup
invokespecial com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <V:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ContextClassloaderLocal.java"
NestMembers:
com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal$1
InnerClasses:
com.sun.tools.internal.ws.wsdl.parser.ContextClassloaderLocal$1