class org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl implements javax.persistence.Tuple
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl
super_class: java.lang.Object
{
private final java.lang.Object[] tuples;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.hibernate.jpa.spi.CriteriaQueryTupleTransformer this$0;
descriptor: Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.hibernate.jpa.spi.CriteriaQueryTupleTransformer, java.lang.Object[]);
descriptor: (Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer;[Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.this$0:Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
arraylength
aload 1
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer.tupleElements:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 7
2: new java.lang.IllegalArgumentException
dup
3: new java.lang.StringBuilder
dup
ldc "Size mismatch between tuple result ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc "] and expected tuple elements ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer.tupleElements:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl org.hibernate.jpa.spi.CriteriaQueryTupleTransformer java.lang.Object[]
StackMap stack:
aload 0
aload 2
putfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.tuples:[Ljava/lang/Object;
8: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer$TupleImpl;
0 9 2 tuples [Ljava/lang/Object;
MethodParameters:
Name Flags
this$0 final
tuples
public <X> X get(javax.persistence.TupleElement<X>);
descriptor: (Ljavax/persistence/TupleElement;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.this$0:Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer;
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer.tupleElements:Ljava/util/List;
aload 1
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 2
start local 2 1: iload 2
ifge 5
2: new java.lang.IllegalArgumentException
dup
3: ldc "Requested tuple element did not correspond to element in the result tuple"
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.tuples:[Ljava/lang/Object;
iload 2
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer$TupleImpl;
0 6 1 tupleElement Ljavax/persistence/TupleElement<TX;>;
1 6 2 index I
Signature: <X:Ljava/lang/Object;>(Ljavax/persistence/TupleElement<TX;>;)TX;
MethodParameters:
Name Flags
tupleElement
public java.lang.Object get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iconst_m1
istore 2
start local 2 1: aload 1
ifnull 12
2: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
3: aload 1
invokevirtual java.lang.String.length:()I
ifle 12
4: iconst_0
istore 3
start local 3 5: aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.this$0:Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer;
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer.tupleElements:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl java.lang.String int int top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.persistence.TupleElement
astore 4
start local 4 7: aload 1
aload 4
invokeinterface javax.persistence.TupleElement.getAlias:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: iload 3
istore 2
9: goto 12
10: StackMap locals: org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl java.lang.String int int javax.persistence.TupleElement java.util.Iterator
StackMap stack:
iinc 3 1
end local 4 11: StackMap locals: org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl java.lang.String int int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 3 12: StackMap locals: org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl java.lang.String int
StackMap stack:
iload 2
ifge 16
13: new java.lang.IllegalArgumentException
dup
14: new java.lang.StringBuilder
dup
ldc "Given alias ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] did not correspond to an element in the result tuple"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.tuples:[Ljava/lang/Object;
iload 2
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer$TupleImpl;
0 17 1 alias Ljava/lang/String;
1 17 2 index I
5 12 3 i I
7 11 4 selection Ljavax/persistence/TupleElement;
MethodParameters:
Name Flags
alias
public <X> X get(java.lang.String, java.lang.Class<X>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.get:(Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 10
2: aload 2
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 10
3: new java.lang.IllegalArgumentException
dup
4: ldc "Requested tuple value [alias=%s, value=%s] cannot be assigned to requested type [%s]"
iconst_3
anewarray java.lang.Object
dup
iconst_0
5: aload 1
aastore
dup
iconst_1
6: aload 3
aastore
dup
iconst_2
7: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer$TupleImpl;
0 11 1 alias Ljava/lang/String;
0 11 2 type Ljava/lang/Class<TX;>;
1 11 3 untyped Ljava/lang/Object;
Signature: <X:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/Class<TX;>;)TX;
MethodParameters:
Name Flags
alias
type
public java.lang.Object get(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.tuples:[Ljava/lang/Object;
arraylength
if_icmplt 4
1: new java.lang.IllegalArgumentException
dup
2: new java.lang.StringBuilder
dup
ldc "Given index ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] was outside the range of result tuple size ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.tuples:[Ljava/lang/Object;
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.tuples:[Ljava/lang/Object;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer$TupleImpl;
0 5 1 i I
MethodParameters:
Name Flags
i
public <X> X get(int, java.lang.Class<X>);
descriptor: (ILjava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.get:(I)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 9
aload 2
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 9
2: new java.lang.IllegalArgumentException
dup
3: ldc "Requested tuple value [index=%s, realType=%s] cannot be assigned to requested type [%s]"
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
5: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
6: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer$TupleImpl;
0 10 1 i I
0 10 2 type Ljava/lang/Class<TX;>;
1 10 3 result Ljava/lang/Object;
Signature: <X:Ljava/lang/Object;>(ILjava/lang/Class<TX;>;)TX;
MethodParameters:
Name Flags
i
type
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.tuples:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer$TupleImpl;
public java.util.List<javax.persistence.TupleElement<?>> getElements();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl.this$0:Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer;
getfield org.hibernate.jpa.spi.CriteriaQueryTupleTransformer.tupleElements:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/jpa/spi/CriteriaQueryTupleTransformer$TupleImpl;
Signature: ()Ljava/util/List<Ljavax/persistence/TupleElement<*>;>;
}
SourceFile: "CriteriaQueryTupleTransformer.java"
NestHost: org.hibernate.jpa.spi.CriteriaQueryTupleTransformer
InnerClasses:
private TupleImpl = org.hibernate.jpa.spi.CriteriaQueryTupleTransformer$TupleImpl of org.hibernate.jpa.spi.CriteriaQueryTupleTransformer