final class org.bson.codecs.pojo.IdPropertyModelHolder<I>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.IdPropertyModelHolder
super_class: java.lang.Object
{
private final org.bson.codecs.pojo.PropertyModel<I> propertyModel;
descriptor: Lorg/bson/codecs/pojo/PropertyModel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/pojo/PropertyModel<TI;>;
private final org.bson.codecs.pojo.IdGenerator<I> idGenerator;
descriptor: Lorg/bson/codecs/pojo/IdGenerator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/pojo/IdGenerator<TI;>;
static <T, I> org.bson.codecs.pojo.IdPropertyModelHolder<I> create(org.bson.codecs.pojo.ClassModel<T>, org.bson.codecs.pojo.PropertyModel<I>);
descriptor: (Lorg/bson/codecs/pojo/ClassModel;Lorg/bson/codecs/pojo/PropertyModel;)Lorg/bson/codecs/pojo/IdPropertyModelHolder;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bson.codecs.pojo.ClassModel.getType:()Ljava/lang/Class;
aload 1
aload 0
invokevirtual org.bson.codecs.pojo.ClassModel.getIdPropertyModelHolder:()Lorg/bson/codecs/pojo/IdPropertyModelHolder;
invokevirtual org.bson.codecs.pojo.IdPropertyModelHolder.getIdGenerator:()Lorg/bson/codecs/pojo/IdGenerator;
invokestatic org.bson.codecs.pojo.IdPropertyModelHolder.create:(Ljava/lang/Class;Lorg/bson/codecs/pojo/PropertyModel;Lorg/bson/codecs/pojo/IdGenerator;)Lorg/bson/codecs/pojo/IdPropertyModelHolder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 classModel Lorg/bson/codecs/pojo/ClassModel<TT;>;
0 1 1 idPropertyModel Lorg/bson/codecs/pojo/PropertyModel<TI;>;
Signature: <T:Ljava/lang/Object;I:Ljava/lang/Object;>(Lorg/bson/codecs/pojo/ClassModel<TT;>;Lorg/bson/codecs/pojo/PropertyModel<TI;>;)Lorg/bson/codecs/pojo/IdPropertyModelHolder<TI;>;
MethodParameters:
Name Flags
classModel final
idPropertyModel final
static <T, I, V> org.bson.codecs.pojo.IdPropertyModelHolder<I> create(java.lang.Class<T>, org.bson.codecs.pojo.PropertyModel<I>, org.bson.codecs.pojo.IdGenerator<V>);
descriptor: (Ljava/lang/Class;Lorg/bson/codecs/pojo/PropertyModel;Lorg/bson/codecs/pojo/IdGenerator;)Lorg/bson/codecs/pojo/IdPropertyModelHolder;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
aload 2
ifnull 2
1: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid IdGenerator. There is no IdProperty set for: %s"
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 org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnull 6
aload 1
invokevirtual org.bson.codecs.pojo.PropertyModel.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
invokevirtual org.bson.codecs.pojo.TypeData.getType:()Ljava/lang/Class;
aload 2
invokeinterface org.bson.codecs.pojo.IdGenerator.getType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
3: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid IdGenerator. Mismatching types, the IdProperty type is: %s but the IdGenerator type is: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: aload 1
invokevirtual org.bson.codecs.pojo.PropertyModel.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
invokevirtual org.bson.codecs.pojo.TypeData.getType:()Ljava/lang/Class;
aastore
dup
iconst_1
aload 2
invokeinterface org.bson.codecs.pojo.IdGenerator.getType:()Ljava/lang/Class;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
new org.bson.codecs.pojo.IdPropertyModelHolder
dup
aload 1
aload 2
invokespecial org.bson.codecs.pojo.IdPropertyModelHolder.<init>:(Lorg/bson/codecs/pojo/PropertyModel;Lorg/bson/codecs/pojo/IdGenerator;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljava/lang/Class<TT;>;
0 7 1 idProperty Lorg/bson/codecs/pojo/PropertyModel<TI;>;
0 7 2 idGenerator Lorg/bson/codecs/pojo/IdGenerator<TV;>;
Signature: <T:Ljava/lang/Object;I:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Lorg/bson/codecs/pojo/PropertyModel<TI;>;Lorg/bson/codecs/pojo/IdGenerator<TV;>;)Lorg/bson/codecs/pojo/IdPropertyModelHolder<TI;>;
MethodParameters:
Name Flags
type final
idProperty final
idGenerator final
private void <init>(org.bson.codecs.pojo.PropertyModel<I>, org.bson.codecs.pojo.IdGenerator<I>);
descriptor: (Lorg/bson/codecs/pojo/PropertyModel;Lorg/bson/codecs/pojo/IdGenerator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bson.codecs.pojo.IdPropertyModelHolder.propertyModel:Lorg/bson/codecs/pojo/PropertyModel;
2: aload 0
aload 2
putfield org.bson.codecs.pojo.IdPropertyModelHolder.idGenerator:Lorg/bson/codecs/pojo/IdGenerator;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bson/codecs/pojo/IdPropertyModelHolder<TI;>;
0 4 1 propertyModel Lorg/bson/codecs/pojo/PropertyModel<TI;>;
0 4 2 idGenerator Lorg/bson/codecs/pojo/IdGenerator<TI;>;
Signature: (Lorg/bson/codecs/pojo/PropertyModel<TI;>;Lorg/bson/codecs/pojo/IdGenerator<TI;>;)V
MethodParameters:
Name Flags
propertyModel final
idGenerator final
org.bson.codecs.pojo.PropertyModel<I> getPropertyModel();
descriptor: ()Lorg/bson/codecs/pojo/PropertyModel;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.propertyModel:Lorg/bson/codecs/pojo/PropertyModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/IdPropertyModelHolder<TI;>;
Signature: ()Lorg/bson/codecs/pojo/PropertyModel<TI;>;
org.bson.codecs.pojo.IdGenerator<I> getIdGenerator();
descriptor: ()Lorg/bson/codecs/pojo/IdGenerator;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.idGenerator:Lorg/bson/codecs/pojo/IdGenerator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/IdPropertyModelHolder<TI;>;
Signature: ()Lorg/bson/codecs/pojo/IdGenerator<TI;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bson.codecs.pojo.IdPropertyModelHolder
astore 2
start local 2 5: aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.propertyModel:Lorg/bson/codecs/pojo/PropertyModel;
ifnull 6
aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.propertyModel:Lorg/bson/codecs/pojo/PropertyModel;
aload 2
getfield org.bson.codecs.pojo.IdPropertyModelHolder.propertyModel:Lorg/bson/codecs/pojo/PropertyModel;
invokevirtual org.bson.codecs.pojo.PropertyModel.equals:(Ljava/lang/Object;)Z
ifne 8
goto 7
StackMap locals: org.bson.codecs.pojo.IdPropertyModelHolder
StackMap stack:
6: aload 2
getfield org.bson.codecs.pojo.IdPropertyModelHolder.propertyModel:Lorg/bson/codecs/pojo/PropertyModel;
ifnull 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.idGenerator:Lorg/bson/codecs/pojo/IdGenerator;
ifnull 9
aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.idGenerator:Lorg/bson/codecs/pojo/IdGenerator;
aload 2
getfield org.bson.codecs.pojo.IdPropertyModelHolder.idGenerator:Lorg/bson/codecs/pojo/IdGenerator;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
goto 11
StackMap locals:
StackMap stack:
9: aload 2
getfield org.bson.codecs.pojo.IdPropertyModelHolder.idGenerator:Lorg/bson/codecs/pojo/IdGenerator;
ifnonnull 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bson/codecs/pojo/IdPropertyModelHolder<TI;>;
0 12 1 o Ljava/lang/Object;
5 12 2 that Lorg/bson/codecs/pojo/IdPropertyModelHolder<*>;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.propertyModel:Lorg/bson/codecs/pojo/PropertyModel;
ifnull 1
aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.propertyModel:Lorg/bson/codecs/pojo/PropertyModel;
invokevirtual org.bson.codecs.pojo.PropertyModel.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: bipush 31
iload 1
imul
aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.idGenerator:Lorg/bson/codecs/pojo/IdGenerator;
ifnull 4
aload 0
getfield org.bson.codecs.pojo.IdPropertyModelHolder.idGenerator:Lorg/bson/codecs/pojo/IdGenerator;
invokevirtual java.lang.Object.hashCode:()I
goto 5
StackMap locals: org.bson.codecs.pojo.IdPropertyModelHolder int
StackMap stack: int
4: iconst_0
StackMap locals: org.bson.codecs.pojo.IdPropertyModelHolder int
StackMap stack: int int
5: iadd
istore 1
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/codecs/pojo/IdPropertyModelHolder<TI;>;
3 7 1 result I
}
Signature: <I:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "IdPropertyModelHolder.java"