class io.micronaut.core.value.MapValueResolver<K extends java.lang.CharSequence> implements io.micronaut.core.value.ValueResolver<K>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.micronaut.core.value.MapValueResolver
super_class: java.lang.Object
{
private final java.util.Map<K, ?> map;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<TK;*>;
void <init>(java.util.Map<K, ?>);
descriptor: (Ljava/util/Map;)V
flags: (0x0000)
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 io.micronaut.core.value.MapValueResolver.map:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/micronaut/core/value/MapValueResolver<TK;>;
0 3 1 map Ljava/util/Map<TK;*>;
Signature: (Ljava/util/Map<TK;*>;)V
MethodParameters:
Name Flags
map
public <T> java.util.Optional<T> get(K, io.micronaut.core.convert.ArgumentConversionContext<T>);
descriptor: (Ljava/lang/CharSequence;Lio/micronaut/core/convert/ArgumentConversionContext;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.micronaut.core.value.MapValueResolver.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokeinterface io.micronaut.core.convert.ArgumentConversionContext.getArgument:()Lio/micronaut/core/type/Argument;
astore 4
start local 4 4: aload 4
invokeinterface io.micronaut.core.type.Argument.getType:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 6
5: aload 3
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
6: StackMap locals: io.micronaut.core.type.Argument
StackMap stack:
getstatic io.micronaut.core.convert.ConversionService.SHARED:Lio/micronaut/core/convert/ConversionService;
aload 3
aload 2
invokeinterface io.micronaut.core.convert.ConversionService.convert:(Ljava/lang/Object;Lio/micronaut/core/convert/ArgumentConversionContext;)Ljava/util/Optional;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/micronaut/core/value/MapValueResolver<TK;>;
0 7 1 name TK;
0 7 2 conversionContext Lio/micronaut/core/convert/ArgumentConversionContext<TT;>;
1 7 3 v Ljava/lang/Object;
4 7 4 argument Lio/micronaut/core/type/Argument<TT;>;
Signature: <T:Ljava/lang/Object;>(TK;Lio/micronaut/core/convert/ArgumentConversionContext<TT;>;)Ljava/util/Optional<TT;>;
MethodParameters:
Name Flags
name
conversionContext
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast io.micronaut.core.value.MapValueResolver
astore 2
start local 2 5: aload 0
getfield io.micronaut.core.value.MapValueResolver.map:Ljava/util/Map;
aload 2
getfield io.micronaut.core.value.MapValueResolver.map:Ljava/util/Map;
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/micronaut/core/value/MapValueResolver<TK;>;
0 6 1 o Ljava/lang/Object;
5 6 2 that Lio/micronaut/core/value/MapValueResolver;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.micronaut.core.value.MapValueResolver.map:Ljava/util/Map;
invokeinterface java.util.Map.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/micronaut/core/value/MapValueResolver<TK;>;
}
Signature: <K::Ljava/lang/CharSequence;>Ljava/lang/Object;Lio/micronaut/core/value/ValueResolver<TK;>;
SourceFile: "MapValueResolver.java"