class com.google.common.base.Functions$ConstantFunction<E> implements com.google.common.base.Function<java.lang.Object, E>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.base.Functions$ConstantFunction
super_class: java.lang.Object
{
private final E value;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TE;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
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 com.google.common.base.Functions$ConstantFunction.value:Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/base/Functions$ConstantFunction<TE;>;
0 3 1 value TE;
Signature: (TE;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
value
public E apply();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.base.Functions$ConstantFunction.value:Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Functions$ConstantFunction<TE;>;
0 1 1 from Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TE;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
from
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$ConstantFunction
ifeq 3
1: aload 1
checkcast com.google.common.base.Functions$ConstantFunction
astore 2
start local 2 2: aload 0
getfield com.google.common.base.Functions$ConstantFunction.value:Ljava/lang/Object;
aload 2
getfield com.google.common.base.Functions$ConstantFunction.value:Ljava/lang/Object;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;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$ConstantFunction<TE;>;
0 4 1 obj Ljava/lang/Object;
2 3 2 that Lcom/google/common/base/Functions$ConstantFunction<*>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
obj
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$ConstantFunction.value:Ljava/lang/Object;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.google.common.base.Functions$ConstantFunction.value:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/base/Functions$ConstantFunction<TE;>;
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.constant("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.base.Functions$ConstantFunction.value:Ljava/lang/Object;
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$ConstantFunction<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Lcom/google/common/base/Function<Ljava/lang/Object;TE;>;Ljava/io/Serializable;
SourceFile: "Functions.java"
NestHost: com.google.common.base.Functions
InnerClasses:
private ConstantFunction = com.google.common.base.Functions$ConstantFunction of com.google.common.base.Functions