public final class org.hibernate.persister.walking.internal.FetchStrategyHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.persister.walking.internal.FetchStrategyHelper
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$org$hibernate$engine$FetchStyle;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/persister/walking/internal/FetchStrategyHelper;
public static org.hibernate.engine.FetchStyle determineFetchStyleByProfile(org.hibernate.engine.spi.LoadQueryInfluencers, org.hibernate.persister.entity.EntityPersister, org.hibernate.loader.PropertyPath, int);
descriptor: (Lorg/hibernate/engine/spi/LoadQueryInfluencers;Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/loader/PropertyPath;I)Lorg/hibernate/engine/FetchStyle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.hibernate.engine.spi.LoadQueryInfluencers.hasEnabledFetchProfiles:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.hibernate.loader.PropertyPath.getFullPath:()Ljava/lang/String;
astore 4
start local 4 3: aload 1
checkcast org.hibernate.persister.entity.OuterJoinLoadable
iload 3
invokeinterface org.hibernate.persister.entity.OuterJoinLoadable.getSubclassPropertyName:(I)Ljava/lang/String;
astore 5
start local 5 4: aload 4
aload 5
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 6
start local 6 5: iload 6
iflt 7
6: aload 4
iload 6
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 8
7: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 5
8: StackMap locals:
StackMap stack: java.lang.String
astore 7
start local 7 9: new java.lang.StringBuilder
dup
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 10: aload 0
invokevirtual org.hibernate.engine.spi.LoadQueryInfluencers.getEnabledFetchProfileNames:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 16
StackMap locals: org.hibernate.engine.spi.LoadQueryInfluencers org.hibernate.persister.entity.EntityPersister org.hibernate.loader.PropertyPath int java.lang.String java.lang.String int java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
11: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 12: aload 0
invokevirtual org.hibernate.engine.spi.LoadQueryInfluencers.getSessionFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
aload 9
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getFetchProfile:(Ljava/lang/String;)Lorg/hibernate/engine/profile/FetchProfile;
astore 11
start local 11 13: aload 11
aload 8
invokevirtual org.hibernate.engine.profile.FetchProfile.getFetchByRole:(Ljava/lang/String;)Lorg/hibernate/engine/profile/Fetch;
astore 12
start local 12 14: aload 12
ifnull 16
getstatic org.hibernate.engine.profile.Fetch$Style.JOIN:Lorg/hibernate/engine/profile/Fetch$Style;
aload 12
invokevirtual org.hibernate.engine.profile.Fetch.getStyle:()Lorg/hibernate/engine/profile/Fetch$Style;
if_acmpne 16
15: getstatic org.hibernate.engine.FetchStyle.JOIN:Lorg/hibernate/engine/FetchStyle;
areturn
end local 12 end local 11 end local 9 16: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
17: aconst_null
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 loadQueryInfluencers Lorg/hibernate/engine/spi/LoadQueryInfluencers;
0 18 1 persister Lorg/hibernate/persister/entity/EntityPersister;
0 18 2 path Lorg/hibernate/loader/PropertyPath;
0 18 3 propertyNumber I
3 18 4 fullPath Ljava/lang/String;
4 18 5 rootPropertyName Ljava/lang/String;
5 18 6 pos I
9 18 7 relativePropertyPath Ljava/lang/String;
10 18 8 fetchRole Ljava/lang/String;
12 16 9 profileName Ljava/lang/String;
13 16 11 profile Lorg/hibernate/engine/profile/FetchProfile;
14 16 12 fetch Lorg/hibernate/engine/profile/Fetch;
MethodParameters:
Name Flags
loadQueryInfluencers
persister
path
propertyNumber
public static org.hibernate.engine.FetchStyle determineFetchStyleByMetadata(org.hibernate.FetchMode, org.hibernate.type.AssociationType, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Lorg/hibernate/FetchMode;Lorg/hibernate/type/AssociationType;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/engine/FetchStyle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.hibernate.type.AssociationType.isEntityType:()Z
ifne 2
aload 1
invokeinterface org.hibernate.type.AssociationType.isCollectionType:()Z
ifne 2
1: getstatic org.hibernate.engine.FetchStyle.SELECT:Lorg/hibernate/engine/FetchStyle;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.hibernate.FetchMode.JOIN:Lorg/hibernate/FetchMode;
if_acmpne 4
3: getstatic org.hibernate.engine.FetchStyle.JOIN:Lorg/hibernate/engine/FetchStyle;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic org.hibernate.FetchMode.SELECT:Lorg/hibernate/FetchMode;
if_acmpne 6
5: getstatic org.hibernate.engine.FetchStyle.SELECT:Lorg/hibernate/engine/FetchStyle;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.hibernate.type.AssociationType.isEntityType:()Z
ifeq 12
7: aload 1
aload 2
invokeinterface org.hibernate.type.AssociationType.getAssociatedJoinable:(Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/persister/entity/Joinable;
checkcast org.hibernate.persister.entity.EntityPersister
astore 3
start local 3 8: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.isBatchLoadable:()Z
ifeq 10
9: getstatic org.hibernate.engine.FetchStyle.BATCH:Lorg/hibernate/engine/FetchStyle;
areturn
10: StackMap locals: org.hibernate.persister.entity.EntityPersister
StackMap stack:
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.hasProxy:()Z
ifne 18
11: getstatic org.hibernate.engine.FetchStyle.JOIN:Lorg/hibernate/engine/FetchStyle;
areturn
end local 3 12: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface org.hibernate.type.AssociationType.getAssociatedJoinable:(Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/persister/entity/Joinable;
checkcast org.hibernate.persister.collection.CollectionPersister
astore 3
start local 3 13: aload 3
instanceof org.hibernate.persister.collection.AbstractCollectionPersister
ifeq 16
14: aload 3
checkcast org.hibernate.persister.collection.AbstractCollectionPersister
invokevirtual org.hibernate.persister.collection.AbstractCollectionPersister.isSubselectLoadable:()Z
ifeq 16
15: getstatic org.hibernate.engine.FetchStyle.SUBSELECT:Lorg/hibernate/engine/FetchStyle;
areturn
16: StackMap locals: org.hibernate.persister.collection.CollectionPersister
StackMap stack:
aload 3
invokeinterface org.hibernate.persister.collection.CollectionPersister.getBatchSize:()I
ifle 18
17: getstatic org.hibernate.engine.FetchStyle.BATCH:Lorg/hibernate/engine/FetchStyle;
areturn
end local 3 18: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.FetchStyle.SELECT:Lorg/hibernate/engine/FetchStyle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 mappingFetchMode Lorg/hibernate/FetchMode;
0 19 1 type Lorg/hibernate/type/AssociationType;
0 19 2 sessionFactory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
8 12 3 persister Lorg/hibernate/persister/entity/EntityPersister;
13 18 3 persister Lorg/hibernate/persister/collection/CollectionPersister;
MethodParameters:
Name Flags
mappingFetchMode
type
sessionFactory
public static org.hibernate.engine.FetchTiming determineFetchTiming(org.hibernate.engine.FetchStyle, org.hibernate.type.AssociationType, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Lorg/hibernate/engine/FetchStyle;Lorg/hibernate/type/AssociationType;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/engine/FetchTiming;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.hibernate.persister.walking.internal.FetchStrategyHelper.$SWITCH_TABLE$org$hibernate$engine$FetchStyle:()[I
aload 0
invokevirtual org.hibernate.engine.FetchStyle.ordinal:()I
iaload
tableswitch { // 2 - 4
2: 1
3: 2
4: 2
default: 3
}
1: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.FetchTiming.IMMEDIATE:Lorg/hibernate/engine/FetchTiming;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.FetchTiming.DELAYED:Lorg/hibernate/engine/FetchTiming;
areturn
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic org.hibernate.persister.walking.internal.FetchStrategyHelper.isSubsequentSelectDelayed:(Lorg/hibernate/type/AssociationType;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Z
ifeq 5
4: getstatic org.hibernate.engine.FetchTiming.DELAYED:Lorg/hibernate/engine/FetchTiming;
goto 6
5: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.FetchTiming.IMMEDIATE:Lorg/hibernate/engine/FetchTiming;
6: StackMap locals:
StackMap stack: org.hibernate.engine.FetchTiming
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 style Lorg/hibernate/engine/FetchStyle;
0 7 1 type Lorg/hibernate/type/AssociationType;
0 7 2 sessionFactory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
MethodParameters:
Name Flags
style
type
sessionFactory
private static boolean isSubsequentSelectDelayed(org.hibernate.type.AssociationType, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Lorg/hibernate/type/AssociationType;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.hibernate.type.AssociationType.isAnyType:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.hibernate.type.AssociationType.isEntityType:()Z
ifeq 4
3: aload 0
aload 1
invokeinterface org.hibernate.type.AssociationType.getAssociatedJoinable:(Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/persister/entity/Joinable;
checkcast org.hibernate.persister.entity.EntityPersister
invokeinterface org.hibernate.persister.entity.EntityPersister.hasProxy:()Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.hibernate.type.AssociationType.getAssociatedJoinable:(Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/persister/entity/Joinable;
checkcast org.hibernate.persister.collection.CollectionPersister
astore 2
start local 2 5: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.isLazy:()Z
ifne 6
aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.isExtraLazy:()Z
ifne 6
iconst_0
ireturn
StackMap locals: org.hibernate.persister.collection.CollectionPersister
StackMap stack:
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Lorg/hibernate/type/AssociationType;
0 7 1 sessionFactory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
5 7 2 cp Lorg/hibernate/persister/collection/CollectionPersister;
MethodParameters:
Name Flags
type
sessionFactory
public static boolean isJoinFetched(org.hibernate.engine.FetchStrategy);
descriptor: (Lorg/hibernate/engine/FetchStrategy;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.engine.FetchStrategy.getTiming:()Lorg/hibernate/engine/FetchTiming;
getstatic org.hibernate.engine.FetchTiming.IMMEDIATE:Lorg/hibernate/engine/FetchTiming;
if_acmpne 3
1: aload 0
invokevirtual org.hibernate.engine.FetchStrategy.getStyle:()Lorg/hibernate/engine/FetchStyle;
getstatic org.hibernate.engine.FetchStyle.JOIN:Lorg/hibernate/engine/FetchStyle;
if_acmpne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 fetchStrategy Lorg/hibernate/engine/FetchStrategy;
MethodParameters:
Name Flags
fetchStrategy
static int[] $SWITCH_TABLE$org$hibernate$engine$FetchStyle();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.hibernate.persister.walking.internal.FetchStrategyHelper.$SWITCH_TABLE$org$hibernate$engine$FetchStyle:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.hibernate.engine.FetchStyle.values:()[Lorg/hibernate/engine/FetchStyle;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.hibernate.engine.FetchStyle.BATCH:Lorg/hibernate/engine/FetchStyle;
invokevirtual org.hibernate.engine.FetchStyle.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.hibernate.engine.FetchStyle.JOIN:Lorg/hibernate/engine/FetchStyle;
invokevirtual org.hibernate.engine.FetchStyle.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.hibernate.engine.FetchStyle.SELECT:Lorg/hibernate/engine/FetchStyle;
invokevirtual org.hibernate.engine.FetchStyle.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.hibernate.engine.FetchStyle.SUBSELECT:Lorg/hibernate/engine/FetchStyle;
invokevirtual org.hibernate.engine.FetchStyle.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.hibernate.persister.walking.internal.FetchStrategyHelper.$SWITCH_TABLE$org$hibernate$engine$FetchStyle:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "FetchStrategyHelper.java"
InnerClasses:
public final Style = org.hibernate.engine.profile.Fetch$Style of org.hibernate.engine.profile.Fetch