public class io.dropwizard.validation.InjectValidatorFeature implements javax.ws.rs.core.Feature
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.validation.InjectValidatorFeature
super_class: java.lang.Object
{
private final javax.validation.ValidatorFactory validatorFactory;
descriptor: Ljavax/validation/ValidatorFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javax.ws.rs.container.ResourceContext resourceContext;
descriptor: Ljavax/ws/rs/container/ResourceContext;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.inject.Inject()
public void <init>(javax.validation.ValidatorFactory);
descriptor: (Ljavax/validation/ValidatorFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // io.dropwizard.validation.InjectValidatorFeature this
start local 1 // javax.validation.ValidatorFactory validatorFactory
0: .line 23
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 24
aload 0 /* this */
aload 1 /* validatorFactory */
putfield io.dropwizard.validation.InjectValidatorFeature.validatorFactory:Ljavax/validation/ValidatorFactory;
2: .line 25
return
end local 1 // javax.validation.ValidatorFactory validatorFactory
end local 0 // io.dropwizard.validation.InjectValidatorFeature this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/validation/InjectValidatorFeature;
0 3 1 validatorFactory Ljavax/validation/ValidatorFactory;
MethodParameters:
Name Flags
validatorFactory
public boolean configure(javax.ws.rs.core.FeatureContext);
descriptor: (Ljavax/ws/rs/core/FeatureContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 // io.dropwizard.validation.InjectValidatorFeature this
start local 1 // javax.ws.rs.core.FeatureContext context
0: .line 29
aload 0 /* this */
getfield io.dropwizard.validation.InjectValidatorFeature.validatorFactory:Ljavax/validation/ValidatorFactory;
invokeinterface javax.validation.ValidatorFactory.getConstraintValidatorFactory:()Ljavax/validation/ConstraintValidatorFactory;
astore 2 /* constraintValidatorFactory */
start local 2 // javax.validation.ConstraintValidatorFactory constraintValidatorFactory
1: .line 30
aload 2 /* constraintValidatorFactory */
instanceof io.dropwizard.jersey.validation.MutableValidatorFactory
ifeq 7
2: .line 31
aload 2 /* constraintValidatorFactory */
checkcast io.dropwizard.jersey.validation.MutableValidatorFactory
astore 3 /* mutableValidatorFactory */
start local 3 // io.dropwizard.jersey.validation.MutableValidatorFactory mutableValidatorFactory
3: .line 33
aload 0 /* this */
getfield io.dropwizard.validation.InjectValidatorFeature.resourceContext:Ljavax/ws/rs/container/ResourceContext;
ldc Lorg/glassfish/jersey/server/validation/internal/InjectingConstraintValidatorFactory;
invokeinterface javax.ws.rs.container.ResourceContext.getResource:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.validation.ConstraintValidatorFactory
4: .line 32
astore 4 /* validatorFactory */
start local 4 // javax.validation.ConstraintValidatorFactory validatorFactory
5: .line 35
aload 3 /* mutableValidatorFactory */
aload 4 /* validatorFactory */
invokevirtual io.dropwizard.jersey.validation.MutableValidatorFactory.setValidatorFactory:(Ljavax/validation/ConstraintValidatorFactory;)V
6: .line 36
iconst_1
ireturn
end local 4 // javax.validation.ConstraintValidatorFactory validatorFactory
end local 3 // io.dropwizard.jersey.validation.MutableValidatorFactory mutableValidatorFactory
7: .line 39
StackMap locals: javax.validation.ConstraintValidatorFactory
StackMap stack:
iconst_0
ireturn
end local 2 // javax.validation.ConstraintValidatorFactory constraintValidatorFactory
end local 1 // javax.ws.rs.core.FeatureContext context
end local 0 // io.dropwizard.validation.InjectValidatorFeature this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/dropwizard/validation/InjectValidatorFeature;
0 8 1 context Ljavax/ws/rs/core/FeatureContext;
1 8 2 constraintValidatorFactory Ljavax/validation/ConstraintValidatorFactory;
3 7 3 mutableValidatorFactory Lio/dropwizard/jersey/validation/MutableValidatorFactory;
5 7 4 validatorFactory Ljavax/validation/ConstraintValidatorFactory;
MethodParameters:
Name Flags
context
}
SourceFile: "InjectValidatorFeature.java"