class javax.validation.Validation$NewProviderInstance<T extends javax.validation.spi.ValidationProvider<?>> implements java.security.PrivilegedAction<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.validation.Validation$NewProviderInstance
super_class: java.lang.Object
{
private final java.lang.Class<T> clazz;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
public static <T extends javax.validation.spi.ValidationProvider<?>> javax.validation.Validation$NewProviderInstance<T> action(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljavax/validation/Validation$NewProviderInstance;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.validation.Validation$NewProviderInstance
dup
aload 0
invokespecial javax.validation.Validation$NewProviderInstance.<init>:(Ljava/lang/Class;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<TT;>;
Signature: <T::Ljavax/validation/spi/ValidationProvider<*>;>(Ljava/lang/Class<TT;>;)Ljavax/validation/Validation$NewProviderInstance<TT;>;
MethodParameters:
Name Flags
clazz
private void <init>(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.validation.Validation$NewProviderInstance.clazz:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/validation/Validation$NewProviderInstance<TT;>;
0 3 1 clazz Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
clazz
public T run();
descriptor: ()Ljavax/validation/spi/ValidationProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.validation.Validation$NewProviderInstance.clazz:Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast javax.validation.spi.ValidationProvider
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: new javax.validation.ValidationException
dup
new java.lang.StringBuilder
dup
ldc "Cannot instantiate provider type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.validation.Validation$NewProviderInstance.clazz:Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial javax.validation.ValidationException.<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 Ljavax/validation/Validation$NewProviderInstance<TT;>;
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.InstantiationException
0 1 2 Class java.lang.IllegalAccessException
0 1 2 Class java.lang.RuntimeException
Signature: ()TT;
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$NewProviderInstance.run:()Ljavax/validation/spi/ValidationProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T::Ljavax/validation/spi/ValidationProvider<*>;>Ljava/lang/Object;Ljava/security/PrivilegedAction<TT;>;
SourceFile: "Validation.java"
NestHost: javax.validation.Validation
InnerClasses:
private NewProviderInstance = javax.validation.Validation$NewProviderInstance of javax.validation.Validation