public abstract class org.hibernate.mapping.IndexedCollection extends org.hibernate.mapping.Collection
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.mapping.IndexedCollection
super_class: org.hibernate.mapping.Collection
{
public static final java.lang.String DEFAULT_INDEX_COLUMN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "idx"
private org.hibernate.mapping.Value index;
descriptor: Lorg/hibernate/mapping/Value;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/mapping/IndexedCollection;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.hibernate.mapping.IndexedCollection.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.boot.spi.MetadataImplementor, org.hibernate.mapping.PersistentClass);
descriptor: (Lorg/hibernate/boot/spi/MetadataImplementor;Lorg/hibernate/mapping/PersistentClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.hibernate.mapping.Collection.<init>:(Lorg/hibernate/boot/spi/MetadataImplementor;Lorg/hibernate/mapping/PersistentClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/IndexedCollection;
0 2 1 metadata Lorg/hibernate/boot/spi/MetadataImplementor;
0 2 2 owner Lorg/hibernate/mapping/PersistentClass;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
metadata
owner
public void <init>(org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.PersistentClass);
descriptor: (Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/PersistentClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.hibernate.mapping.Collection.<init>:(Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/PersistentClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/IndexedCollection;
0 2 1 buildingContext Lorg/hibernate/boot/spi/MetadataBuildingContext;
0 2 2 owner Lorg/hibernate/mapping/PersistentClass;
MethodParameters:
Name Flags
buildingContext
owner
public org.hibernate.mapping.Value getIndex();
descriptor: ()Lorg/hibernate/mapping/Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.IndexedCollection.index:Lorg/hibernate/mapping/Value;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/IndexedCollection;
public void setIndex(org.hibernate.mapping.Value);
descriptor: (Lorg/hibernate/mapping/Value;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.hibernate.mapping.IndexedCollection.index:Lorg/hibernate/mapping/Value;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/IndexedCollection;
0 2 1 index Lorg/hibernate/mapping/Value;
MethodParameters:
Name Flags
index
public final boolean isIndexed();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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/mapping/IndexedCollection;
public boolean isSame(org.hibernate.mapping.Collection);
descriptor: (Lorg/hibernate/mapping/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.hibernate.mapping.IndexedCollection
ifeq 3
1: aload 0
aload 1
checkcast org.hibernate.mapping.IndexedCollection
invokevirtual org.hibernate.mapping.IndexedCollection.isSame:(Lorg/hibernate/mapping/IndexedCollection;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/IndexedCollection;
0 4 1 other Lorg/hibernate/mapping/Collection;
MethodParameters:
Name Flags
other
public boolean isSame(org.hibernate.mapping.IndexedCollection);
descriptor: (Lorg/hibernate/mapping/IndexedCollection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.hibernate.mapping.Collection.isSame:(Lorg/hibernate/mapping/Collection;)Z
ifeq 3
1: aload 0
getfield org.hibernate.mapping.IndexedCollection.index:Lorg/hibernate/mapping/Value;
aload 1
getfield org.hibernate.mapping.IndexedCollection.index:Lorg/hibernate/mapping/Value;
invokestatic org.hibernate.mapping.IndexedCollection.isSame:(Lorg/hibernate/mapping/Value;Lorg/hibernate/mapping/Value;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/IndexedCollection;
0 4 1 other Lorg/hibernate/mapping/IndexedCollection;
MethodParameters:
Name Flags
other
void createPrimaryKey();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.isOneToMany:()Z
ifne 14
1: new org.hibernate.mapping.PrimaryKey
dup
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getCollectionTable:()Lorg/hibernate/mapping/Table;
invokespecial org.hibernate.mapping.PrimaryKey.<init>:(Lorg/hibernate/mapping/Table;)V
astore 1
start local 1 2: aload 1
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getKey:()Lorg/hibernate/mapping/KeyValue;
invokeinterface org.hibernate.mapping.KeyValue.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.PrimaryKey.addColumns:(Ljava/util/Iterator;)V
3: iconst_0
istore 2
start local 2 4: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getColumnIterator:()Ljava/util/Iterator;
astore 3
start local 3 5: goto 8
6: StackMap locals: org.hibernate.mapping.PrimaryKey int java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Selectable
invokeinterface org.hibernate.mapping.Selectable.isFormula:()Z
ifeq 8
7: iconst_1
istore 2
8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: iload 2
ifeq 12
10: aload 1
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getElement:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.PrimaryKey.addColumns:(Ljava/util/Iterator;)V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.PrimaryKey.addColumns:(Ljava/util/Iterator;)V
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getCollectionTable:()Lorg/hibernate/mapping/Table;
aload 1
invokevirtual org.hibernate.mapping.Table.setPrimaryKey:(Lorg/hibernate/mapping/PrimaryKey;)V
end local 3 end local 2 end local 1 14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/hibernate/mapping/IndexedCollection;
2 14 1 pk Lorg/hibernate/mapping/PrimaryKey;
4 14 2 isFormula Z
5 14 3 iter Ljava/util/Iterator;
public void validate(org.hibernate.engine.spi.Mapping);
descriptor: (Lorg/hibernate/engine/spi/Mapping;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.hibernate.mapping.Collection.validate:(Lorg/hibernate/engine/spi/Mapping;)V
1: getstatic org.hibernate.mapping.IndexedCollection.$assertionsDisabled:Z
ifne 2
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getElement:()Lorg/hibernate/mapping/Value;
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "IndexedCollection index not bound : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getRole:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
aload 1
invokeinterface org.hibernate.mapping.Value.isValid:(Lorg/hibernate/engine/spi/Mapping;)Z
ifne 10
3: new org.hibernate.MappingException
dup
4: new java.lang.StringBuilder
dup
ldc "collection index mapping has wrong number of columns: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getRole:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc " type: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getType:()Lorg/hibernate/type/Type;
invokeinterface org.hibernate.type.Type.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/mapping/IndexedCollection;
0 11 1 mapping Lorg/hibernate/engine/spi/Mapping;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
mapping
public boolean isList();
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/hibernate/mapping/IndexedCollection;
}
SourceFile: "IndexedCollection.java"