public class org.bson.internal.Optional$Some<T> extends org.bson.internal.Optional<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.internal.Optional$Some
super_class: org.bson.internal.Optional
{
private final T value;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bson.internal.Optional.<init>:()V
1: aload 0
aload 1
putfield org.bson.internal.Optional$Some.value:Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/internal/Optional$Some<TT;>;
0 3 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value final
public T get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.internal.Optional$Some.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/internal/Optional$Some<TT;>;
Signature: ()TT;
public boolean isEmpty();
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 Lorg/bson/internal/Optional$Some<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "Some(%s)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.bson.internal.Optional$Some.value:Ljava/lang/Object;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/internal/Optional$Some<TT;>;
public boolean isDefined();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial org.bson.internal.Optional.isDefined:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lorg/bson/internal/Optional<TT;>;
SourceFile: "Optional.java"
NestHost: org.bson.internal.Optional
InnerClasses:
public Some = org.bson.internal.Optional$Some of org.bson.internal.Optional