class javax.validation.Validation$GenericBootstrapImpl implements javax.validation.bootstrap.GenericBootstrap, javax.validation.spi.BootstrapState
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.validation.Validation$GenericBootstrapImpl
super_class: java.lang.Object
{
private javax.validation.ValidationProviderResolver resolver;
descriptor: Ljavax/validation/ValidationProviderResolver;
flags: (0x0002) ACC_PRIVATE
private javax.validation.ValidationProviderResolver defaultResolver;
descriptor: Ljavax/validation/ValidationProviderResolver;
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/validation/Validation$GenericBootstrapImpl;
public javax.validation.bootstrap.GenericBootstrap providerResolver(javax.validation.ValidationProviderResolver);
descriptor: (Ljavax/validation/ValidationProviderResolver;)Ljavax/validation/bootstrap/GenericBootstrap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.validation.Validation$GenericBootstrapImpl.resolver:Ljavax/validation/ValidationProviderResolver;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/validation/Validation$GenericBootstrapImpl;
0 2 1 resolver Ljavax/validation/ValidationProviderResolver;
MethodParameters:
Name Flags
resolver
public javax.validation.ValidationProviderResolver getValidationProviderResolver();
descriptor: ()Ljavax/validation/ValidationProviderResolver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.validation.Validation$GenericBootstrapImpl.resolver:Ljavax/validation/ValidationProviderResolver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/validation/Validation$GenericBootstrapImpl;
public javax.validation.ValidationProviderResolver getDefaultValidationProviderResolver();
descriptor: ()Ljavax/validation/ValidationProviderResolver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.validation.Validation$GenericBootstrapImpl.defaultResolver:Ljavax/validation/ValidationProviderResolver;
ifnonnull 2
1: aload 0
new javax.validation.Validation$DefaultValidationProviderResolver
dup
invokespecial javax.validation.Validation$DefaultValidationProviderResolver.<init>:()V
putfield javax.validation.Validation$GenericBootstrapImpl.defaultResolver:Ljavax/validation/ValidationProviderResolver;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.validation.Validation$GenericBootstrapImpl.defaultResolver:Ljavax/validation/ValidationProviderResolver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/validation/Validation$GenericBootstrapImpl;
public javax.validation.Configuration<?> configure();
descriptor: ()Ljavax/validation/Configuration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.validation.Validation$GenericBootstrapImpl.resolver:Ljavax/validation/ValidationProviderResolver;
ifnonnull 2
1: aload 0
invokevirtual javax.validation.Validation$GenericBootstrapImpl.getDefaultValidationProviderResolver:()Ljavax/validation/ValidationProviderResolver;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.validation.Validation$GenericBootstrapImpl.resolver:Ljavax/validation/ValidationProviderResolver;
3: StackMap locals:
StackMap stack: javax.validation.ValidationProviderResolver
astore 1
start local 1 4: aload 1
invokeinterface javax.validation.ValidationProviderResolver.getValidationProviders:()Ljava/util/List;
astore 2
start local 2 5: goto 10
end local 2 6: StackMap locals: javax.validation.Validation$GenericBootstrapImpl javax.validation.ValidationProviderResolver
StackMap stack: javax.validation.ValidationException
astore 3
start local 3 7: aload 3
athrow
end local 3 8: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 3
start local 3 9: new javax.validation.ValidationException
dup
ldc "Unable to get available provider resolvers."
aload 3
invokespecial javax.validation.ValidationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 10: StackMap locals: java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 13
11: ldc "Unable to create a Configuration, because no Jakarta Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath."
astore 3
start local 3 12: new javax.validation.NoProviderFoundException
dup
aload 3
invokespecial javax.validation.NoProviderFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 3 13: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.validation.ValidationProviderResolver.getValidationProviders:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.validation.spi.ValidationProvider
aload 0
invokeinterface javax.validation.spi.ValidationProvider.createGenericConfiguration:(Ljavax/validation/spi/BootstrapState;)Ljavax/validation/Configuration;
astore 3
start local 3 14: goto 17
end local 3 15: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 4
start local 4 16: new javax.validation.ValidationException
dup
ldc "Unable to instantiate Configuration."
aload 4
invokespecial javax.validation.ValidationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 start local 3 17: StackMap locals: javax.validation.Configuration
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/validation/Validation$GenericBootstrapImpl;
4 18 1 resolver Ljavax/validation/ValidationProviderResolver;
5 6 2 validationProviders Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
10 18 2 validationProviders Ljava/util/List<Ljavax/validation/spi/ValidationProvider<*>;>;
7 8 3 e Ljavax/validation/ValidationException;
9 10 3 re Ljava/lang/RuntimeException;
12 13 3 msg Ljava/lang/String;
14 15 3 config Ljavax/validation/Configuration<*>;
17 18 3 config Ljavax/validation/Configuration<*>;
16 17 4 re Ljava/lang/RuntimeException;
Exception table:
from to target type
4 5 6 Class javax.validation.ValidationException
4 5 8 Class java.lang.RuntimeException
13 14 15 Class java.lang.RuntimeException
Signature: ()Ljavax/validation/Configuration<*>;
}
SourceFile: "Validation.java"
NestHost: javax.validation.Validation
InnerClasses:
private DefaultValidationProviderResolver = javax.validation.Validation$DefaultValidationProviderResolver of javax.validation.Validation
private GenericBootstrapImpl = javax.validation.Validation$GenericBootstrapImpl of javax.validation.Validation