class org.hibernate.result.internal.ResultSetOutputImpl implements org.hibernate.result.ResultSetOutput
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.result.internal.ResultSetOutputImpl
super_class: java.lang.Object
{
private final java.util.function.Supplier<java.util.List> resultSetSupplier;
descriptor: Ljava/util/function/Supplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Supplier<Ljava/util/List;>;
public void <init>(java.util.List);
descriptor: (Ljava/util/List;)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
invokedynamic get(Ljava/util/List;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/hibernate/result/internal/ResultSetOutputImpl.lambda$0(Ljava/util/List;)Ljava/util/List; (6)
()Ljava/util/List;
putfield org.hibernate.result.internal.ResultSetOutputImpl.resultSetSupplier:Ljava/util/function/Supplier;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/result/internal/ResultSetOutputImpl;
0 3 1 results Ljava/util/List;
MethodParameters:
Name Flags
results
public void <init>(java.util.function.Supplier<java.util.List>);
descriptor: (Ljava/util/function/Supplier;)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 org.hibernate.result.internal.ResultSetOutputImpl.resultSetSupplier:Ljava/util/function/Supplier;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/result/internal/ResultSetOutputImpl;
0 3 1 resultSetSupplier Ljava/util/function/Supplier<Ljava/util/List;>;
Signature: (Ljava/util/function/Supplier<Ljava/util/List;>;)V
MethodParameters:
Name Flags
resultSetSupplier
public boolean isResultSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/result/internal/ResultSetOutputImpl;
public java.util.List getResultList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.result.internal.ResultSetOutputImpl.resultSetSupplier:Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.util.List
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/result/internal/ResultSetOutputImpl;
public java.lang.Object getSingleResult();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.result.internal.ResultSetOutputImpl.getResultList:()Ljava/util/List;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
2: StackMap locals: java.util.List
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/result/internal/ResultSetOutputImpl;
1 4 1 results Ljava/util/List;
private static java.util.List lambda$0(java.util.List);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ResultSetOutputImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles