public class org.hibernate.tool.hbm2ddl.ForeignKeyMetadata
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.tool.hbm2ddl.ForeignKeyMetadata
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String refTable;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map references;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.sql.ResultSet);
descriptor: (Ljava/sql/ResultSet;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.references:Ljava/util/Map;
2: aload 0
aload 1
ldc "FK_NAME"
invokeinterface java.sql.ResultSet.getString:(Ljava/lang/String;)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.name:Ljava/lang/String;
3: aload 0
aload 1
ldc "PKTABLE_NAME"
invokeinterface java.sql.ResultSet.getString:(Ljava/lang/String;)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.refTable:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/tool/hbm2ddl/ForeignKeyMetadata;
0 5 1 rs Ljava/sql/ResultSet;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
rs
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tool/hbm2ddl/ForeignKeyMetadata;
public java.lang.String getReferencedTableName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.refTable:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tool/hbm2ddl/ForeignKeyMetadata;
void addReference(java.sql.ResultSet);
descriptor: (Ljava/sql/ResultSet;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.references:Ljava/util/Map;
aload 1
ldc "FKCOLUMN_NAME"
invokeinterface java.sql.ResultSet.getString:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
aload 1
ldc "PKCOLUMN_NAME"
invokeinterface java.sql.ResultSet.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/tool/hbm2ddl/ForeignKeyMetadata;
0 2 1 rs Ljava/sql/ResultSet;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
rs
private boolean hasReference(org.hibernate.mapping.Column, org.hibernate.mapping.Column);
descriptor: (Lorg/hibernate/mapping/Column;Lorg/hibernate/mapping/Column;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.references:Ljava/util/Map;
aload 1
invokevirtual org.hibernate.mapping.Column.getName:()Ljava/lang/String;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 1: aload 2
invokevirtual org.hibernate.mapping.Column.getName:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/tool/hbm2ddl/ForeignKeyMetadata;
0 2 1 column Lorg/hibernate/mapping/Column;
0 2 2 ref Lorg/hibernate/mapping/Column;
1 2 3 refName Ljava/lang/String;
MethodParameters:
Name Flags
column
ref
public boolean matches(org.hibernate.mapping.ForeignKey);
descriptor: (Lorg/hibernate/mapping/ForeignKey;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.refTable:Ljava/lang/String;
aload 1
invokevirtual org.hibernate.mapping.ForeignKey.getReferencedTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
1: aload 1
invokevirtual org.hibernate.mapping.ForeignKey.getColumnSpan:()I
aload 0
getfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.references:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
if_icmpne 15
2: aload 1
invokevirtual org.hibernate.mapping.ForeignKey.isReferenceToPrimaryKey:()Z
ifeq 5
3: aload 1
invokevirtual org.hibernate.mapping.ForeignKey.getReferencedTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getPrimaryKey:()Lorg/hibernate/mapping/PrimaryKey;
invokevirtual org.hibernate.mapping.PrimaryKey.getColumns:()Ljava/util/List;
astore 2
start local 2 4: goto 6
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.hibernate.mapping.ForeignKey.getReferencedColumns:()Ljava/util/List;
astore 2
start local 2 6: StackMap locals: java.util.List
StackMap stack:
iconst_0
istore 3
start local 3 7: goto 13
8: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual org.hibernate.mapping.ForeignKey.getColumn:(I)Lorg/hibernate/mapping/Column;
astore 4
start local 4 9: aload 2
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
astore 5
start local 5 10: aload 0
aload 4
aload 5
invokevirtual org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.hasReference:(Lorg/hibernate/mapping/Column;Lorg/hibernate/mapping/Column;)Z
ifne 12
11: iconst_0
ireturn
end local 5 end local 4 12: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
aload 1
invokevirtual org.hibernate.mapping.ForeignKey.getColumnSpan:()I
if_icmplt 8
end local 3 14: iconst_1
ireturn
end local 2 15: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/hibernate/tool/hbm2ddl/ForeignKeyMetadata;
0 16 1 fk Lorg/hibernate/mapping/ForeignKey;
4 5 2 fkRefs Ljava/util/List;
6 15 2 fkRefs Ljava/util/List;
7 14 3 i I
9 12 4 column Lorg/hibernate/mapping/Column;
10 12 5 ref Lorg/hibernate/mapping/Column;
MethodParameters:
Name Flags
fk
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ForeignKeyMetadata("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.tool.hbm2ddl.ForeignKeyMetadata.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tool/hbm2ddl/ForeignKeyMetadata;
}
SourceFile: "ForeignKeyMetadata.java"