public class io.dropwizard.validation.valuehandling.GuavaOptionalValidatedValueUnwrapper extends org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<com.google.common.base.Optional<?>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.validation.valuehandling.GuavaOptionalValidatedValueUnwrapper
super_class: org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper
{
private final com.fasterxml.classmate.TypeResolver resolver;
descriptor: Lcom/fasterxml/classmate/TypeResolver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper.<init>:()V
1: aload 0
new com.fasterxml.classmate.TypeResolver
dup
invokespecial com.fasterxml.classmate.TypeResolver.<init>:()V
putfield io.dropwizard.validation.valuehandling.GuavaOptionalValidatedValueUnwrapper.resolver:Lcom/fasterxml/classmate/TypeResolver;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/validation/valuehandling/GuavaOptionalValidatedValueUnwrapper;
public handleValidatedValue(com.google.common.base.Optional<?>);
descriptor: (Lcom/google/common/base/Optional;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.google.common.base.Optional.orNull:()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/validation/valuehandling/GuavaOptionalValidatedValueUnwrapper;
0 1 1 optional Lcom/google/common/base/Optional<*>;
Signature: (Lcom/google/common/base/Optional<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
optional final
public java.lang.reflect.Type getValidatedValueType(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.validation.valuehandling.GuavaOptionalValidatedValueUnwrapper.resolver:Lcom/fasterxml/classmate/TypeResolver;
aload 1
iconst_0
anewarray java.lang.reflect.Type
invokevirtual com.fasterxml.classmate.TypeResolver.resolve:(Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)Lcom/fasterxml/classmate/ResolvedType;
astore 2
start local 2 1: aload 2
ldc Lcom/google/common/base/Optional;
invokevirtual com.fasterxml.classmate.ResolvedType.typeParametersFor:(Ljava/lang/Class;)Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.fasterxml.classmate.ResolvedType
invokevirtual com.fasterxml.classmate.ResolvedType.getErasedType:()Ljava/lang/Class;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/validation/valuehandling/GuavaOptionalValidatedValueUnwrapper;
0 2 1 type Ljava/lang/reflect/Type;
1 2 2 resolvedType Lcom/fasterxml/classmate/ResolvedType;
MethodParameters:
Name Flags
type final
public java.lang.Object handleValidatedValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.google.common.base.Optional
invokevirtual io.dropwizard.validation.valuehandling.GuavaOptionalValidatedValueUnwrapper.handleValidatedValue:(Lcom/google/common/base/Optional;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/hibernate/validator/spi/valuehandling/ValidatedValueUnwrapper<Lcom/google/common/base/Optional<*>;>;
SourceFile: "GuavaOptionalValidatedValueUnwrapper.java"