class org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl implements javax.persistence.Tuple
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl
super_class: java.lang.Object
{
private java.lang.Object[] tuple;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.lang.Object> aliasToValue;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private java.util.Map<java.lang.String, java.lang.String> aliasReferences;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public void <init>(java.lang.Object[], java.lang.String[]);
descriptor: ([Ljava/lang/Object;[Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasToValue:Ljava/util/Map;
2: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasReferences:Ljava/util/Map;
3: aload 1
ifnonnull 5
4: new org.hibernate.HibernateException
dup
ldc "Tuple must not be null"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl java.lang.Object[] java.lang.String[]
StackMap stack:
aload 2
ifnonnull 7
6: new org.hibernate.HibernateException
dup
ldc "Aliases must not be null"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
arraylength
aload 2
arraylength
if_icmpeq 9
8: new org.hibernate.HibernateException
dup
ldc "Got different size of tuples and aliases"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.tuple:[Ljava/lang/Object;
10: iconst_0
istore 3
start local 3 11: goto 15
12: StackMap locals: int
StackMap stack:
aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasToValue:Ljava/util/Map;
aload 2
iload 3
aaload
aload 1
iload 3
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasReferences:Ljava/util/Map;
aload 2
iload 3
aaload
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aload 2
iload 3
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
aload 1
arraylength
if_icmplt 12
end local 3 16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/hibernate/jpa/spi/NativeQueryTupleTransformer$NativeTupleImpl;
0 17 1 tuple [Ljava/lang/Object;
0 17 2 aliases [Ljava/lang/String;
11 16 3 i I
MethodParameters:
Name Flags
tuple
aliases
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=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.get:(Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 2
aload 2
aload 3
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/jpa/spi/NativeQueryTupleTransformer$NativeTupleImpl;
0 4 1 alias Ljava/lang/String;
0 4 2 type Ljava/lang/Class<TX;>;
1 4 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(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasReferences:Ljava/util/Map;
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnull 3
aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasToValue:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasToValue:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown alias ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/jpa/spi/NativeQueryTupleTransformer$NativeTupleImpl;
0 4 1 alias Ljava/lang/String;
1 4 2 aliasReference Ljava/lang/String;
MethodParameters:
Name Flags
alias
public <X> X get(int, java.lang.Class<X>);
descriptor: (ILjava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.get:(I)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 2
aload 2
aload 3
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/jpa/spi/NativeQueryTupleTransformer$NativeTupleImpl;
0 4 1 i I
0 4 2 type Ljava/lang/Class<TX;>;
1 4 3 untyped Ljava/lang/Object;
Signature: <X:Ljava/lang/Object;>(ILjava/lang/Class<TX;>;)TX;
MethodParameters:
Name Flags
i
type
public java.lang.Object get(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "requested tuple index must be greater than zero"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasToValue:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
if_icmplt 4
3: new java.lang.IllegalArgumentException
dup
ldc "requested tuple index exceeds actual tuple size"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.tuple:[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/NativeQueryTupleTransformer$NativeTupleImpl;
0 5 1 i I
MethodParameters:
Name Flags
i
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.NativeQueryTupleTransformer$NativeTupleImpl.tuple:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/jpa/spi/NativeQueryTupleTransformer$NativeTupleImpl;
public java.util.List<javax.persistence.TupleElement<?>> getElements();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasToValue:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.aliasToValue:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 1
new org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleElementImpl
dup
aload 0
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.getValueClass:(Ljava/lang/Object;)Ljava/lang/Class;
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleElementImpl.<init>:(Ljava/lang/Class;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/jpa/spi/NativeQueryTupleTransformer$NativeTupleImpl;
1 6 1 elements Ljava/util/List<Ljavax/persistence/TupleElement<*>;>;
3 4 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ()Ljava/util/List<Ljavax/persistence/TupleElement<*>;>;
private java.lang.Class<?> getValueClass();
descriptor: (Ljava/lang/Object;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: ldc Ljava/lang/Object;
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
3: StackMap locals: java.lang.Class
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/jpa/spi/NativeQueryTupleTransformer$NativeTupleImpl;
0 4 1 value Ljava/lang/Object;
1 4 2 valueClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Object;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
value
public <X> X get(javax.persistence.TupleElement<X>);
descriptor: (Ljavax/persistence/TupleElement;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface javax.persistence.TupleElement.getAlias:()Ljava/lang/String;
aload 1
invokeinterface javax.persistence.TupleElement.getJavaType:()Ljava/lang/Class;
invokevirtual org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl.get:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/jpa/spi/NativeQueryTupleTransformer$NativeTupleImpl;
0 1 1 tupleElement Ljavax/persistence/TupleElement<TX;>;
Signature: <X:Ljava/lang/Object;>(Ljavax/persistence/TupleElement<TX;>;)TX;
MethodParameters:
Name Flags
tupleElement
}
SourceFile: "NativeQueryTupleTransformer.java"
NestHost: org.hibernate.jpa.spi.NativeQueryTupleTransformer
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private NativeTupleElementImpl = org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleElementImpl of org.hibernate.jpa.spi.NativeQueryTupleTransformer
private NativeTupleImpl = org.hibernate.jpa.spi.NativeQueryTupleTransformer$NativeTupleImpl of org.hibernate.jpa.spi.NativeQueryTupleTransformer