class com.google.common.base.Functions$FunctionForMapNoDefault<K, V> implements com.google.common.base.Function<K, V>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.base.Functions$FunctionForMapNoDefault
super_class: java.lang.Object
{
final java.util.Map<K, V> map;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<TK;TV;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
void <init>(java.util.Map<K, V>);
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
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
putfield com.google.common.base.Functions$FunctionForMapNoDefault.map:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/base/Functions$FunctionForMapNoDefault<TK;TV;>;
0 3 1 map Ljava/util/Map<TK;TV;>;
Signature: (Ljava/util/Map<TK;TV;>;)V
MethodParameters:
Name Flags
map
public V apply();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.base.Functions$FunctionForMapNoDefault.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
getfield com.google.common.base.Functions$FunctionForMapNoDefault.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 2
iconst_0
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ldc "Key '%s' not present in map"
aload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/base/Functions$FunctionForMapNoDefault<TK;TV;>;
0 5 1 key TK;
1 5 2 result TV;
Signature: (TK;)TV;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
key
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 1
instanceof com.google.common.base.Functions$FunctionForMapNoDefault
ifeq 3
1: aload 1
checkcast com.google.common.base.Functions$FunctionForMapNoDefault
astore 2
start local 2 2: aload 0
getfield com.google.common.base.Functions$FunctionForMapNoDefault.map:Ljava/util/Map;
aload 2
getfield com.google.common.base.Functions$FunctionForMapNoDefault.map:Ljava/util/Map;
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/base/Functions$FunctionForMapNoDefault<TK;TV;>;
0 4 1 o Ljava/lang/Object;
2 3 2 that Lcom/google/common/base/Functions$FunctionForMapNoDefault<**>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
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 com.google.common.base.Functions$FunctionForMapNoDefault.map:Ljava/util/Map;
invokeinterface java.util.Map.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Functions$FunctionForMapNoDefault<TK;TV;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Functions.forMap("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.base.Functions$FunctionForMapNoDefault.map:Ljava/util/Map;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Functions$FunctionForMapNoDefault<TK;TV;>;
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;Lcom/google/common/base/Function<TK;TV;>;Ljava/io/Serializable;
SourceFile: "Functions.java"
NestHost: com.google.common.base.Functions
InnerClasses:
private FunctionForMapNoDefault = com.google.common.base.Functions$FunctionForMapNoDefault of com.google.common.base.Functions