final class com.google.common.base.Absent<T> extends com.google.common.base.Optional<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.base.Absent
super_class: com.google.common.base.Optional
{
static final com.google.common.base.Absent<java.lang.Object> INSTANCE;
descriptor: Lcom/google/common/base/Absent;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Lcom/google/common/base/Absent<Ljava/lang/Object;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.common.base.Absent
dup
invokespecial com.google.common.base.Absent.<init>:()V
putstatic com.google.common.base.Absent.INSTANCE:Lcom/google/common/base/Absent;
1: return
LocalVariableTable:
Start End Slot Name Signature
static <T> com.google.common.base.Optional<T> withType();
descriptor: ()Lcom/google/common/base/Optional;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.base.Absent.INSTANCE:Lcom/google/common/base/Absent;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Lcom/google/common/base/Optional<TT;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.base.Optional.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
public boolean isPresent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
public T get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.IllegalStateException
dup
ldc "Optional.get() cannot be called on an absent value"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
Signature: ()TT;
public T or();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "use Optional.orNull() instead of Optional.or(null)"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
0 1 1 defaultValue TT;
Signature: (TT;)TT;
MethodParameters:
Name Flags
defaultValue
public com.google.common.base.Optional<T> or(com.google.common.base.Optional<? extends T>);
descriptor: (Lcom/google/common/base/Optional;)Lcom/google/common/base/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.base.Optional
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
0 1 1 secondChoice Lcom/google/common/base/Optional<+TT;>;
Signature: (Lcom/google/common/base/Optional<+TT;>;)Lcom/google/common/base/Optional<TT;>;
MethodParameters:
Name Flags
secondChoice
public T or(com.google.common.base.Supplier<? extends T>);
descriptor: (Lcom/google/common/base/Supplier;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.google.common.base.Supplier.get:()Ljava/lang/Object;
ldc "use Optional.orNull() instead of a Supplier that returns null"
1: invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/base/Absent<TT;>;
0 2 1 supplier Lcom/google/common/base/Supplier<+TT;>;
Signature: (Lcom/google/common/base/Supplier<+TT;>;)TT;
MethodParameters:
Name Flags
supplier
public T orNull();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
Signature: ()TT;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
public java.util.Set<T> asSet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
Signature: ()Ljava/util/Set<TT;>;
public <V> com.google.common.base.Optional<V> transform(com.google.common.base.Function<? super T, V>);
descriptor: (Lcom/google/common/base/Function;)Lcom/google/common/base/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic com.google.common.base.Optional.absent:()Lcom/google/common/base/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/base/Absent<TT;>;
0 2 1 function Lcom/google/common/base/Function<-TT;TV;>;
Signature: <V:Ljava/lang/Object;>(Lcom/google/common/base/Function<-TT;TV;>;)Lcom/google/common/base/Optional<TV;>;
MethodParameters:
Name Flags
function
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/base/Absent<TT;>;
0 2 1 object Ljava/lang/Object;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
object
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc 2040732332
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Optional.absent()"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
private java.lang.Object readResolve();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.google.common.base.Absent.INSTANCE:Lcom/google/common/base/Absent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Absent<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lcom/google/common/base/Optional<TT;>;
SourceFile: "Absent.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()