public class org.jdbi.v3.sqlobject.locator.SqlObjectClasspathSqlLocator implements org.jdbi.v3.sqlobject.locator.SqlLocator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jdbi.v3.sqlobject.locator.SqlObjectClasspathSqlLocator
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jdbi/v3/sqlobject/locator/SqlObjectClasspathSqlLocator;
public java.lang.String locate(java.lang.Class<?>, java.lang.reflect.Method, org.jdbi.v3.core.config.ConfigRegistry);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;Lorg/jdbi/v3/core/config/ConfigRegistry;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 1
invokedynamic apply(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
org/jdbi/v3/sqlobject/locator/SqlObjectClasspathSqlLocator.lambda$0(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 2
aload 4
invokestatic org.jdbi.v3.sqlobject.internal.SqlAnnotations.getAnnotationValue:(Ljava/lang/reflect/Method;Ljava/util/function/Function;)Ljava/util/Optional;
2: aload 2
invokedynamic get(Ljava/lang/reflect/Method;)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/jdbi/v3/sqlobject/locator/SqlObjectClasspathSqlLocator.lambda$1(Ljava/lang/reflect/Method;)Ljava/lang/IllegalStateException; (6)
()Ljava/lang/IllegalStateException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.String
3: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jdbi/v3/sqlobject/locator/SqlObjectClasspathSqlLocator;
0 4 1 sqlObjectType Ljava/lang/Class<*>;
0 4 2 method Ljava/lang/reflect/Method;
0 4 3 config Lorg/jdbi/v3/core/config/ConfigRegistry;
1 4 4 valueOrMethodNameToSql Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Method;Lorg/jdbi/v3/core/config/ConfigRegistry;)Ljava/lang/String;
MethodParameters:
Name Flags
sqlObjectType
method
config
private static java.lang.String lambda$0(java.lang.reflect.Method, java.lang.Class, java.lang.String);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 2 0: aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: java.lang.String
2: astore 3
start local 3 3: aload 1
aload 3
invokestatic org.jdbi.v3.core.locator.ClasspathSqlLocator.findSqlOnClasspath:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 key Ljava/lang/String;
3 4 3 filename Ljava/lang/String;
private static java.lang.IllegalStateException lambda$1(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/IllegalStateException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=1, args_size=1
0: new java.lang.IllegalStateException
dup
ldc "method %s has no query annotations"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SqlObjectClasspathSqlLocator.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles