class javax.validation.Validation$GetValidationProviderListAction implements java.security.PrivilegedAction<java.util.List<javax.validation.spi.ValidationProvider<?>>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.validation.Validation$GetValidationProviderListAction
super_class: java.lang.Object
{
private static final javax.validation.Validation$GetValidationProviderListAction INSTANCE;
descriptor: Ljavax/validation/Validation$GetValidationProviderListAction;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.WeakHashMap<java.lang.ClassLoader, java.lang.ref.SoftReference<java.util.List<javax.validation.spi.ValidationProvider<?>>>> providersPerClassloader;
descriptor: Ljava/util/WeakHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/WeakHashMap<Ljava/lang/ClassLoader;Ljava/lang/ref/SoftReference<Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.validation.Validation$GetValidationProviderListAction
dup
invokespecial javax.validation.Validation$GetValidationProviderListAction.<init>:()V
putstatic javax.validation.Validation$GetValidationProviderListAction.INSTANCE:Ljavax/validation/Validation$GetValidationProviderListAction;
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
2: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield javax.validation.Validation$GetValidationProviderListAction.providersPerClassloader:Ljava/util/WeakHashMap;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/validation/Validation$GetValidationProviderListAction;
public static synchronized java.util.List<javax.validation.spi.ValidationProvider<?>> getValidationProviderList();
descriptor: ()Ljava/util/List;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: getstatic javax.validation.Validation$GetValidationProviderListAction.INSTANCE:Ljavax/validation/Validation$GetValidationProviderListAction;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.List
areturn
2: StackMap locals:
StackMap stack:
getstatic javax.validation.Validation$GetValidationProviderListAction.INSTANCE:Ljavax/validation/Validation$GetValidationProviderListAction;
invokevirtual javax.validation.Validation$GetValidationProviderListAction.run:()Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
public static synchronized void clearCache();
descriptor: ()V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic javax.validation.Validation$GetValidationProviderListAction.INSTANCE:Ljavax/validation/Validation$GetValidationProviderListAction;
getfield javax.validation.Validation$GetValidationProviderListAction.providersPerClassloader:Ljava/util/WeakHashMap;
invokevirtual java.util.WeakHashMap.clear:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public java.util.List<javax.validation.spi.ValidationProvider<?>> run();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual javax.validation.Validation$GetValidationProviderListAction.getCachedValidationProviders:(Ljava/lang/ClassLoader;)Ljava/util/List;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
areturn
4: StackMap locals: java.lang.ClassLoader java.util.List
StackMap stack:
aload 0
aload 1
invokevirtual javax.validation.Validation$GetValidationProviderListAction.loadProviders:(Ljava/lang/ClassLoader;)Ljava/util/List;
astore 3
start local 3 5: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 13
6: ldc Ljavax/validation/Validation$DefaultValidationProviderResolver;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
7: aload 0
8: aload 1
9: invokevirtual javax.validation.Validation$GetValidationProviderListAction.getCachedValidationProviders:(Ljava/lang/ClassLoader;)Ljava/util/List;
astore 4
start local 4 10: aload 4
ifnull 12
11: aload 4
areturn
12: StackMap locals: java.util.List java.util.List
StackMap stack:
aload 0
aload 1
invokevirtual javax.validation.Validation$GetValidationProviderListAction.loadProviders:(Ljava/lang/ClassLoader;)Ljava/util/List;
astore 3
end local 4 13: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual javax.validation.Validation$GetValidationProviderListAction.cacheValidationProviders:(Ljava/lang/ClassLoader;Ljava/util/List;)V
14: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/validation/Validation$GetValidationProviderListAction;
1 15 1 classloader Ljava/lang/ClassLoader;
2 15 2 cachedContextClassLoaderProviderList Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
5 15 3 validationProviderList Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
10 13 4 cachedCurrentClassLoaderProviderList Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
Signature: ()Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
private java.util.List<javax.validation.spi.ValidationProvider<?>> loadProviders(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: ldc Ljavax/validation/spi/ValidationProvider;
aload 1
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
astore 2
start local 2 1: aload 2
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 3: goto 7
4: StackMap locals: java.util.ServiceLoader java.util.Iterator java.util.List
StackMap stack:
aload 4
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.validation.spi.ValidationProvider
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: goto 7
6: StackMap locals:
StackMap stack: java.util.ServiceConfigurationError
pop
7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: 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 9 0 this Ljavax/validation/Validation$GetValidationProviderListAction;
0 9 1 classloader Ljava/lang/ClassLoader;
1 9 2 loader Ljava/util/ServiceLoader<Ljavax/validation/spi/ValidationProvider;>;
2 9 3 providerIterator Ljava/util/Iterator<Ljavax/validation/spi/ValidationProvider;>;
3 9 4 validationProviderList Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
Exception table:
from to target type
4 5 6 Class java.util.ServiceConfigurationError
Signature: (Ljava/lang/ClassLoader;)Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
MethodParameters:
Name Flags
classloader
private synchronized java.util.List<javax.validation.spi.ValidationProvider<?>> getCachedValidationProviders(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/util/List;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.validation.Validation$GetValidationProviderListAction.providersPerClassloader:Ljava/util/WeakHashMap;
aload 1
invokevirtual java.util.WeakHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast java.util.List
goto 3
StackMap locals: java.lang.ref.SoftReference
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.util.List
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/validation/Validation$GetValidationProviderListAction;
0 4 1 classLoader Ljava/lang/ClassLoader;
1 4 2 ref Ljava/lang/ref/SoftReference<Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;>;
Signature: (Ljava/lang/ClassLoader;)Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
MethodParameters:
Name Flags
classLoader
private synchronized void cacheValidationProviders(java.lang.ClassLoader, java.util.List<javax.validation.spi.ValidationProvider<?>>);
descriptor: (Ljava/lang/ClassLoader;Ljava/util/List;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.validation.Validation$GetValidationProviderListAction.providersPerClassloader:Ljava/util/WeakHashMap;
aload 1
new java.lang.ref.SoftReference
dup
aload 2
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
invokevirtual java.util.WeakHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/validation/Validation$GetValidationProviderListAction;
0 2 1 classLoader Ljava/lang/ClassLoader;
0 2 2 providers Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
Signature: (Ljava/lang/ClassLoader;Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;)V
MethodParameters:
Name Flags
classLoader
providers
public java.lang.Object run();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.validation.Validation$GetValidationProviderListAction.run:()Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/security/PrivilegedAction<Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;>;
SourceFile: "Validation.java"
NestHost: javax.validation.Validation
InnerClasses:
private DefaultValidationProviderResolver = javax.validation.Validation$DefaultValidationProviderResolver of javax.validation.Validation
private GetValidationProviderListAction = javax.validation.Validation$GetValidationProviderListAction of javax.validation.Validation