public class org.hibernate.dialect.function.DB2SubstringFunction extends org.hibernate.dialect.function.StandardSQLFunction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.dialect.function.DB2SubstringFunction
super_class: org.hibernate.dialect.function.StandardSQLFunction
{
private static final java.util.Set<java.lang.String> possibleStringUnits;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.util.HashSet
dup
iconst_3
anewarray java.lang.String
dup
iconst_0
1: ldc "CODEUNITS16"
aastore
dup
iconst_1
ldc "CODEUNITS32"
aastore
dup
iconst_2
ldc "OCTETS"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
2: invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic org.hibernate.dialect.function.DB2SubstringFunction.possibleStringUnits:Ljava/util/Set;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "substring"
getstatic org.hibernate.type.StandardBasicTypes.STRING:Lorg/hibernate/type/StringType;
invokespecial org.hibernate.dialect.function.StandardSQLFunction.<init>:(Ljava/lang/String;Lorg/hibernate/type/Type;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/dialect/function/DB2SubstringFunction;
protected java.lang.String getRenderedName(java.util.List);
descriptor: (Ljava/util/List;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 1
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnull 3
getstatic org.hibernate.dialect.function.DB2SubstringFunction.possibleStringUnits:Ljava/util/Set;
aload 2
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
invokevirtual org.hibernate.dialect.function.DB2SubstringFunction.getName:()Ljava/lang/String;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
ldc "substr"
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/dialect/function/DB2SubstringFunction;
0 4 1 arguments Ljava/util/List;
1 4 2 lastArgument Ljava/lang/String;
MethodParameters:
Name Flags
arguments
}
SourceFile: "DB2SubstringFunction.java"