public class org.apache.qpid.proton.codec.CompositeReadableBuffer extends java.lang.Object implements org.apache.qpid.proton.codec.ReadableBuffer
{
private static final java.util.List EMPTY_LIST;
private static final java.nio.ByteBuffer EMPTY_BUFFER;
private static final org.apache.qpid.proton.codec.CompositeReadableBuffer EMPTY_SLICE;
private static int UNSET_MARK;
private static final int SHORT_BYTES;
private static final int INT_BYTES;
private static final int LONG_BYTES;
private java.util.ArrayList contents;
private int currentArrayIndex;
private byte[] currentArray;
private int currentOffset;
private int position;
private int limit;
private int capacity;
private int mark;
private boolean compactable;
public void <init>()
{
int v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
specialinvoke v.<java.lang.Object: void <init>()>();
v = (int) -1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v = (int) -1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable> = 1;
return;
}
private void <init>(byte[], int)
{
byte[] v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: byte[];
v := @parameter: int;
specialinvoke v.<java.lang.Object: void <init>()>();
v = (int) -1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v = (int) -1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable> = 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
if v == null goto label;
v = lengthof v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity> = v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit> = v;
return;
}
private void <init>(boolean)
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v;
boolean v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: boolean;
specialinvoke v.<java.lang.Object: void <init>()>();
v = (int) -1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v = (int) -1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable> = 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable> = v;
return;
}
public java.util.List getArrays()
{
java.util.List v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
java.util.ArrayList v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
if v != null goto label;
v = <org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.List EMPTY_LIST>;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = staticinvoke <java.util.Collections: java.util.List unmodifiableList(java.util.List)>(v);
label:
return v;
}
public int getCurrentIndex()
{
int v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
return v;
}
public int getCurrentArrayPosition()
{
int v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
return v;
}
public boolean hasArray()
{
byte[] v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v;
boolean v;
java.util.ArrayList v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
if v == null goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
if v == null goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = virtualinvoke v.<java.util.ArrayList: int size()>();
if v != 1 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public int capacity()
{
int v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity>;
return v;
}
public byte[] array()
{
byte[] v;
java.lang.UnsupportedOperationException v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
boolean v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean hasArray()>();
if v == 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
return v;
label:
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>(java.lang.String)>("Buffer not backed by a single array");
throw v;
}
public int arrayOffset()
{
java.lang.UnsupportedOperationException v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v;
boolean v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean hasArray()>();
if v == 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v - v;
return v;
label:
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>(java.lang.String)>("Buffer not backed by a single array");
throw v;
}
public byte get()
{
byte[] v;
java.nio.BufferUnderflowException v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
byte v;
int v, v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit>;
if v != v goto label;
v = new java.nio.BufferUnderflowException;
specialinvoke v.<java.nio.BufferUnderflowException: void <init>()>();
throw v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
return v;
}
public byte get(int)
{
byte[] v;
java.lang.IndexOutOfBoundsException v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
byte v;
int v, v, v, v, v;
java.lang.String v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: int;
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit>;
if v < v goto label;
label:
v = new java.lang.IndexOutOfBoundsException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("The given index is not valid: \u0001");
specialinvoke v.<java.lang.IndexOutOfBoundsException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
if v != v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v[v];
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
if v >= v goto label;
v = specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte getBackwards(int)>(v);
goto label;
label:
v = specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte getForward(int)>(v);
label:
return v;
}
private byte getForward(int)
{
byte[] v;
java.util.ArrayList v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
byte v;
int v, v, v, v, v, v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: int;
v = 0;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v - v;
label:
if v < 0 goto label;
v = lengthof v;
v = v - v;
if v >= v goto label;
v = v + v;
v = v[v];
goto label;
label:
v = lengthof v;
v = v - v;
v = v - v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v + 1;
virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v = 0;
goto label;
label:
return v;
}
private byte getBackwards(int)
{
byte[] v;
java.util.ArrayList v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
byte v;
int v, v, v, v, v, v, v;
java.lang.Object v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: int;
v = 0;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v - v;
label:
if v < 0 goto label;
v = v - v;
if v < 0 goto label;
v = v - v;
v = v[v];
goto label;
label:
v = v - v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v - 1;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v = lengthof v;
goto label;
label:
return v;
}
public int getInt()
{
byte[] v, v, v, v, v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
byte v, v, v, v, v;
short v, v, v, v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.nio.BufferUnderflowException v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
if v >= 4 goto label;
v = new java.nio.BufferUnderflowException;
specialinvoke v.<java.nio.BufferUnderflowException: void <init>()>();
throw v;
label:
v = 0;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
if v < 4 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 24;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 16;
v = v | v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 8;
v = v | v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 0;
v = v | v;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
goto label;
label:
v = 3;
label:
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v * 8;
v = v << v;
v = v | v;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
v = v - 1;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v + 4;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
return v;
}
public long getLong()
{
byte[] v, v, v, v, v, v, v, v, v, v;
byte v, v, v, v, v, v, v, v, v;
long v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
short v, v, v, v, v, v, v, v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.nio.BufferUnderflowException v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
if v >= 8 goto label;
v = new java.nio.BufferUnderflowException;
specialinvoke v.<java.nio.BufferUnderflowException: void <init>()>();
throw v;
label:
v = 0L;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
if v < 8 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 56;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 48;
v = v | v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 40;
v = v | v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 32;
v = v | v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 24;
v = v | v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 16;
v = v | v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 8;
v = v | v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v << 0;
v = v | v;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
goto label;
label:
v = 7;
label:
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v * 8;
v = v << v;
v = v | v;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
v = v - 1;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v + 8;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
return v;
}
public short getShort()
{
byte[] v;
java.nio.BufferUnderflowException v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
short v;
byte v;
int v, v, v, v, v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
if v >= 2 goto label;
v = new java.nio.BufferUnderflowException;
specialinvoke v.<java.nio.BufferUnderflowException: void <init>()>();
throw v;
label:
v = 1;
label:
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v[v];
v = v & 255;
v = v * 8;
v = v << v;
v = 0 | v;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
v = v - 1;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v + 2;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
return v;
}
public float getFloat()
{
int v;
float v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int getInt()>();
v = staticinvoke <java.lang.Float: float intBitsToFloat(int)>(v);
return v;
}
public double getDouble()
{
long v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
double v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: long getLong()>();
v = staticinvoke <java.lang.Double: double longBitsToDouble(long)>(v);
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer get(byte[])
{
byte[] v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v, v;
int v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: byte[];
v = lengthof v;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer get(byte[],int,int)>(v, 0, v);
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer get(byte[], int, int)
{
byte[] v, v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.nio.BufferUnderflowException v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = lengthof v;
staticinvoke <org.apache.qpid.proton.codec.CompositeReadableBuffer: void validateReadTarget(int,int,int)>(v, v, v);
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
if v <= v goto label;
v = new java.nio.BufferUnderflowException;
specialinvoke v.<java.nio.BufferUnderflowException: void <init>()>();
throw v;
label:
v = 0;
label:
if v <= 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + v;
staticinvoke <java.lang.System: void arraycopy(java.lang.Object,int,java.lang.Object,int,int)>(v, v, v, v, v);
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v - v;
v = v + v;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v + v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer get(org.apache.qpid.proton.codec.WritableBuffer)
{
byte[] v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.qpid.proton.codec.WritableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: org.apache.qpid.proton.codec.WritableBuffer;
v = interfaceinvoke v.<org.apache.qpid.proton.codec.WritableBuffer: int remaining()>();
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
if v == 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
interfaceinvoke v.<org.apache.qpid.proton.codec.WritableBuffer: void put(byte[],int,int)>(v, v, v);
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v + v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
v = v - v;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
if v > 0 goto label;
label:
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer position(int)
{
java.lang.IllegalArgumentException v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: int;
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit>;
if v <= v goto label;
label:
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("position must be non-negative and no greater than the limit");
throw v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v - v;
if v < 0 goto label;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void moveForward(int)>(v);
goto label;
label:
v = staticinvoke <java.lang.Math: int abs(int)>(v);
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void moveBackwards(int)>(v);
label:
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark>;
if v <= v goto label;
v = <org.apache.qpid.proton.codec.CompositeReadableBuffer: int UNSET_MARK>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
label:
return v;
}
private void moveForward(int)
{
byte[] v, v, v;
java.util.ArrayList v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Object v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: int;
label:
if v <= 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
if v >= v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v + v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
v = v - v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = (int) -1;
if v == v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = virtualinvoke v.<java.util.ArrayList: int size()>();
v = v - 1;
if v >= v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = 0;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
goto label;
label:
return;
}
private void moveBackwards(int)
{
byte[] v;
java.util.ArrayList v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v, v, v;
java.lang.Object v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: int;
label:
if v <= 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v - 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = v;
goto label;
label:
return;
}
public int position()
{
int v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer slice()
{
byte[] v;
java.util.ArrayList v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v, v, v;
int v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit()>();
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position()>();
v = v - v;
if v != 0 goto label;
v = <org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer EMPTY_SLICE>;
goto label;
label:
v = new org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void <init>(byte[],int)>(v, v);
v = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = 0;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable> = 0;
label:
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer flip()
{
int v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit> = v;
virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer position(int)>(0);
v = <org.apache.qpid.proton.codec.CompositeReadableBuffer: int UNSET_MARK>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer limit(int)
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v;
java.lang.IllegalArgumentException v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: int;
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity>;
if v <= v goto label;
label:
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("limit must be non-negative and no greater than the capacity");
throw v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark>;
if v <= v goto label;
v = <org.apache.qpid.proton.codec.CompositeReadableBuffer: int UNSET_MARK>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
if v <= v goto label;
virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer position(int)>(v);
label:
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit> = v;
return v;
}
public int limit()
{
int v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit>;
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer mark()
{
int v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer reset()
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v;
java.nio.InvalidMarkException v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark>;
if v >= 0 goto label;
v = new java.nio.InvalidMarkException;
specialinvoke v.<java.nio.InvalidMarkException: void <init>()>();
throw v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark>;
virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer position(int)>(v);
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer rewind()
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer position(int)>(0);
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer clear()
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v, v;
int v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = <org.apache.qpid.proton.codec.CompositeReadableBuffer: int UNSET_MARK>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit> = v;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer position(int)>(0);
return v;
}
public int remaining()
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v - v;
return v;
}
public boolean hasRemaining()
{
int v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
boolean v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
if v <= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer duplicate()
{
byte[] v;
java.util.ArrayList v, v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v, v;
int v, v, v, v, v, v;
boolean v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = new org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void <init>(byte[],int)>(v, v);
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
if v == null goto label;
v = new java.util.ArrayList;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
specialinvoke v.<java.util.ArrayList: void <init>(java.util.Collection)>(v);
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents> = v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable> = v;
return v;
}
public java.nio.ByteBuffer byteBuffer()
{
byte[] v, v;
java.nio.ByteBuffer v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit()>();
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position()>();
v = v - v;
if v != 0 goto label;
v = <org.apache.qpid.proton.codec.CompositeReadableBuffer: java.nio.ByteBuffer EMPTY_BUFFER>;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
if v > v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = staticinvoke <java.nio.ByteBuffer: java.nio.ByteBuffer wrap(byte[],int,int)>(v, v, v);
goto label;
label:
v = specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.nio.ByteBuffer buildByteBuffer(int)>(v);
label:
v = virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer asReadOnlyBuffer()>();
return v;
}
private java.nio.ByteBuffer buildByteBuffer(int)
{
byte[] v, v, v, v;
java.nio.ByteBuffer v;
java.util.ArrayList v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Object v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: int;
v = newarray (byte)[v];
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
staticinvoke <java.lang.System: void arraycopy(java.lang.Object,int,java.lang.Object,int,int)>(v, v, v, 0, v);
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
label:
if v >= v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v + 1;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v = v - v;
v = lengthof v;
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
staticinvoke <java.lang.System: void arraycopy(java.lang.Object,int,java.lang.Object,int,int)>(v, 0, v, v, v);
v = v + v;
goto label;
label:
v = staticinvoke <java.nio.ByteBuffer: java.nio.ByteBuffer wrap(byte[])>(v);
return v;
}
public java.lang.String readUTF8() throws java.nio.charset.CharacterCodingException
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
java.nio.charset.Charset v;
java.lang.String v;
java.nio.charset.CharsetDecoder v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = <java.nio.charset.StandardCharsets: java.nio.charset.Charset UTF_8>;
v = virtualinvoke v.<java.nio.charset.Charset: java.nio.charset.CharsetDecoder newDecoder()>();
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.lang.String readString(java.nio.charset.CharsetDecoder)>(v);
return v;
}
public java.lang.String readString(java.nio.charset.CharsetDecoder) throws java.nio.charset.CharacterCodingException
{
byte[] v;
java.nio.CharBuffer v;
java.nio.charset.CharsetDecoder v;
java.nio.ByteBuffer v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v;
java.lang.String v;
boolean v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: java.nio.charset.CharsetDecoder;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean hasRemaining()>();
if v != 0 goto label;
return "";
label:
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean hasArray()>();
if v == 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
v = staticinvoke <java.nio.ByteBuffer: java.nio.ByteBuffer wrap(byte[],int,int)>(v, v, v);
v = virtualinvoke v.<java.nio.charset.CharsetDecoder: java.nio.CharBuffer decode(java.nio.ByteBuffer)>(v);
goto label;
label:
v = specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.nio.CharBuffer readStringFromComponents(java.nio.charset.CharsetDecoder)>(v);
label:
v = virtualinvoke v.<java.nio.CharBuffer: java.lang.String toString()>();
return v;
}
private java.nio.CharBuffer readStringFromComponents(java.nio.charset.CharsetDecoder) throws java.nio.charset.CharacterCodingException
{
byte[] v, v;
java.nio.ByteBuffer v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
boolean v, v, v, v, v, v;
java.nio.CharBuffer v, v, v;
java.nio.charset.CharsetDecoder v;
float v, v;
java.util.ArrayList v, v;
java.nio.charset.CoderResult v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Object v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: java.nio.charset.CharsetDecoder;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
v = virtualinvoke v.<java.nio.charset.CharsetDecoder: float averageCharsPerByte()>();
v = v * v;
v = staticinvoke <java.nio.CharBuffer: java.nio.CharBuffer allocate(int)>(v);
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit()>();
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position()>();
v = v - v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = staticinvoke <java.nio.ByteBuffer: java.nio.ByteBuffer wrap(byte[],int,int)>(v, v, v);
v = <java.nio.charset.CoderResult: java.nio.charset.CoderResult OVERFLOW>;
label:
if v != v goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = virtualinvoke v.<java.nio.charset.CharsetDecoder: java.nio.charset.CoderResult decode(java.nio.ByteBuffer,java.nio.CharBuffer,boolean)>(v, v, v);
v = virtualinvoke v.<java.nio.charset.CoderResult: boolean isUnderflow()>();
if v == 0 goto label;
if v == 0 goto label;
v = virtualinvoke v.<java.nio.charset.CharsetDecoder: java.nio.charset.CoderResult flush(java.nio.CharBuffer)>(v);
goto label;
label:
v = virtualinvoke v.<java.nio.ByteBuffer: boolean hasRemaining()>();
if v == 0 goto label;
v = virtualinvoke v.<java.nio.ByteBuffer: int remaining()>();
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v + 1;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v = v;
v = lengthof v;
v = v - v;
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
v = v + v;
v = staticinvoke <java.nio.ByteBuffer: java.nio.ByteBuffer allocate(int)>(v);
virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer put(java.nio.ByteBuffer)>(v);
virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer put(byte[],int,int)>(v, 0, v);
v = v + v;
virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer flip()>();
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v + 1;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v = lengthof v;
v = v - v;
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
v = staticinvoke <java.nio.ByteBuffer: java.nio.ByteBuffer wrap(byte[],int,int)>(v, 0, v);
v = v + v;
goto label;
label:
v = virtualinvoke v.<java.nio.charset.CoderResult: boolean isOverflow()>();
if v == 0 goto label;
v = 2 * v;
v = v + 1;
v = staticinvoke <java.nio.CharBuffer: java.nio.CharBuffer allocate(int)>(v);
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer flip()>();
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer put(java.nio.CharBuffer)>(v);
v = v;
label:
v = virtualinvoke v.<java.nio.charset.CoderResult: boolean isError()>();
if v == 0 goto label;
label:
v = virtualinvoke v.<java.nio.charset.CoderResult: boolean isError()>();
if v == 0 goto label;
virtualinvoke v.<java.nio.charset.CoderResult: void throwException()>();
label:
v = virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer flip()>();
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer reclaimRead()
{
byte[] v, v, v;
java.util.ArrayList v, v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
boolean v;
java.lang.Object v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable>;
if v == 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
if v != null goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
if v != null goto label;
label:
return v;
label:
v = 0;
v = 0;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
if v >= v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object remove(int)>(0);
v = lengthof v;
v = v + v;
v = v + 1;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v - v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
if v != v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v + v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
if v != 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
virtualinvoke v.<java.util.ArrayList: void clear()>();
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents> = null;
label:
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray> = null;
v = (int) -1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = 0;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position>;
v = v - v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity>;
v = v - v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark>;
v = <org.apache.qpid.proton.codec.CompositeReadableBuffer: int UNSET_MARK>;
if v == v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark>;
v = v - v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int mark> = v;
label:
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer append(byte[])
{
byte[] v, v, v;
java.lang.IllegalArgumentException v;
java.util.ArrayList v, v, v, v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: byte[];
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void validateAppendable()>();
if v == null goto label;
v = lengthof v;
if v != 0 goto label;
label:
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("Array must not be empty or null");
throw v;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
if v != null goto label;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = 0;
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
if v != null goto label;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
virtualinvoke v.<java.util.ArrayList: boolean add(java.lang.Object)>(v);
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
virtualinvoke v.<java.util.ArrayList: boolean add(java.lang.Object)>(v);
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = 0;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
virtualinvoke v.<java.util.ArrayList: boolean add(java.lang.Object)>(v);
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void maybeMoveToNextArray()>();
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity>;
v = lengthof v;
v = v + v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity> = v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity>;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit> = v;
return v;
}
private void validateAppendable()
{
java.lang.IllegalStateException v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
boolean v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean compactable>;
if v != 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>()>();
throw v;
label:
return;
}
private void validateBuffer(org.apache.qpid.proton.codec.ReadableBuffer)
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
org.apache.qpid.proton.codec.ReadableBuffer v;
java.lang.IllegalArgumentException v, v;
boolean v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: org.apache.qpid.proton.codec.ReadableBuffer;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("A non-null buffer must be provided");
throw v;
label:
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: boolean hasRemaining()>();
if v != 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("Buffer has no remaining content to append");
throw v;
label:
return;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer append(org.apache.qpid.proton.codec.CompositeReadableBuffer)
{
byte[] v, v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v, v;
int v, v, v, v, v, v, v, v, v, v;
boolean v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: org.apache.qpid.proton.codec.CompositeReadableBuffer;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void validateAppendable()>();
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void validateBuffer(org.apache.qpid.proton.codec.ReadableBuffer)>(v);
label:
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
if v > 0 goto label;
if v >= v goto label;
label:
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
v = newarray (byte)[v];
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
staticinvoke <java.lang.System: void arraycopy(java.lang.Object,int,java.lang.Object,int,int)>(v, v, v, 0, v);
goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
label:
virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer append(byte[])>(v);
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position()>();
v = lengthof v;
v = v + v;
virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer position(int)>(v);
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean hasRemaining()>();
if v != 0 goto label;
return v;
}
public org.apache.qpid.proton.codec.CompositeReadableBuffer append(org.apache.qpid.proton.codec.ReadableBuffer)
{
byte[] v, v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
org.apache.qpid.proton.codec.ReadableBuffer v;
int v, v, v, v, v, v, v, v;
boolean v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: org.apache.qpid.proton.codec.ReadableBuffer;
v = v instanceof org.apache.qpid.proton.codec.CompositeReadableBuffer;
if v == 0 goto label;
virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer append(org.apache.qpid.proton.codec.CompositeReadableBuffer)>(v);
goto label;
label:
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void validateAppendable()>();
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void validateBuffer(org.apache.qpid.proton.codec.ReadableBuffer)>(v);
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: boolean hasArray()>();
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: byte[] array()>();
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int remaining()>();
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int arrayOffset()>();
if v > 0 goto label;
v = lengthof v;
if v >= v goto label;
label:
v = newarray (byte)[v];
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: byte[] array()>();
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int arrayOffset()>();
staticinvoke <java.lang.System: void arraycopy(java.lang.Object,int,java.lang.Object,int,int)>(v, v, v, 0, v);
label:
virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer append(byte[])>(v);
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int position()>();
v = lengthof v;
v = v + v;
interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: org.apache.qpid.proton.codec.ReadableBuffer position(int)>(v);
goto label;
label:
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int remaining()>();
v = newarray (byte)[v];
interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: org.apache.qpid.proton.codec.ReadableBuffer get(byte[])>(v);
virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer append(byte[])>(v);
label:
return v;
}
public int hashCode()
{
byte[] v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
byte v;
int v, v, v, v, v, v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = 1;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
if v > v goto label;
label:
if v <= 0 goto label;
v = 31 * v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - 1;
v = v + v;
v = v[v];
v = v + v;
goto label;
label:
v = specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int hashCodeFromComponents()>();
label:
return v;
}
private int hashCodeFromComponents()
{
byte[] v;
java.util.ArrayList v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
byte v;
int v, v, v, v, v, v, v, v, v, v, v;
java.lang.Object v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = 1;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
v = v;
label:
if v <= 0 goto label;
v = lengthof v;
v = v - v;
if v > v goto label;
v = v + v;
goto label;
label:
v = lengthof v;
v = v - v;
v = v - v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v + 1;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v = 0;
goto label;
label:
v = v;
label:
if v <= 0 goto label;
v = 31 * v;
v = v - 1;
v = v[v];
v = v + v;
if v != 0 goto label;
if v <= 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v - 1;
virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v = lengthof v;
label:
v = v - 1;
goto label;
label:
return v;
}
public boolean equals(java.lang.Object)
{
byte[] v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v;
java.lang.Object v;
boolean v, v, v, v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v := @parameter: java.lang.Object;
if v != v goto label;
return 1;
label:
v = v instanceof org.apache.qpid.proton.codec.ReadableBuffer;
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int remaining()>();
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int remaining()>();
if v == v goto label;
return 0;
label:
if v != 0 goto label;
return 1;
label:
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean hasArray()>();
if v != 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = v - v;
if v > v goto label;
label:
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
v = staticinvoke <org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean equals(byte[],int,int,org.apache.qpid.proton.codec.ReadableBuffer)>(v, v, v, v);
return v;
label:
v = staticinvoke <org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean equals(org.apache.qpid.proton.codec.ReadableBuffer,org.apache.qpid.proton.codec.ReadableBuffer)>(v, v);
return v;
}
private static boolean equals(byte[], int, int, org.apache.qpid.proton.codec.ReadableBuffer)
{
byte[] v;
byte v, v;
org.apache.qpid.proton.codec.ReadableBuffer v;
int v, v, v, v, v, v;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v := @parameter: org.apache.qpid.proton.codec.ReadableBuffer;
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int position()>();
v = 0;
label:
if v >= v goto label;
v = v + v;
v = v[v];
v = v + v;
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: byte get(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
private static boolean equals(org.apache.qpid.proton.codec.ReadableBuffer, org.apache.qpid.proton.codec.ReadableBuffer)
{
java.lang.Throwable v;
byte v, v;
org.apache.qpid.proton.codec.ReadableBuffer v, v;
int v, v;
boolean v, v;
v := @parameter: org.apache.qpid.proton.codec.ReadableBuffer;
v := @parameter: org.apache.qpid.proton.codec.ReadableBuffer;
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int position()>();
label:
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: int position()>();
label:
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: boolean hasRemaining()>();
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: byte get()>();
v = interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: byte get(int)>(v);
v = staticinvoke <org.apache.qpid.proton.codec.CompositeReadableBuffer: boolean equals(byte,byte)>(v, v);
if v != 0 goto label;
label:
interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: org.apache.qpid.proton.codec.ReadableBuffer position(int)>(v);
return 0;
label:
v = v + 1;
goto label;
label:
interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: org.apache.qpid.proton.codec.ReadableBuffer position(int)>(v);
return 1;
label:
v := @caughtexception;
interfaceinvoke v.<org.apache.qpid.proton.codec.ReadableBuffer: org.apache.qpid.proton.codec.ReadableBuffer position(int)>(v);
throw v;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public java.lang.String toString()
{
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
java.lang.StringBuffer v;
int v, v, v;
java.lang.String v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = new java.lang.StringBuffer;
specialinvoke v.<java.lang.StringBuffer: void <init>()>();
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(java.lang.String)>("CompositeReadableBuffer");
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(java.lang.String)>("{ pos=");
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int position()>();
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(int)>(v);
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(java.lang.String)>(" limit=");
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int limit()>();
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(int)>(v);
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(java.lang.String)>(" capacity=");
v = virtualinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int capacity()>();
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(int)>(v);
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(java.lang.String)>(" }");
v = virtualinvoke v.<java.lang.StringBuffer: java.lang.String toString()>();
return v;
}
private static boolean equals(byte, byte)
{
byte v, v;
boolean v;
v := @parameter: byte;
v := @parameter: byte;
if v != v goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
private void maybeMoveToNextArray()
{
byte[] v;
java.util.ArrayList v, v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v, v, v, v, v, v, v, v;
java.lang.Object v;
v := @this: org.apache.qpid.proton.codec.CompositeReadableBuffer;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray>;
v = lengthof v;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset>;
if v != v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
if v < 0 goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = virtualinvoke v.<java.util.ArrayList: int size()>();
v = v - 1;
if v >= v goto label;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.ArrayList contents>;
v = v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex>;
v = v + 1;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentArrayIndex> = v;
v = virtualinvoke v.<java.util.ArrayList: java.lang.Object get(int)>(v);
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: byte[] currentArray> = v;
v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: int currentOffset> = 0;
label:
return;
}
private static void validateReadTarget(int, int, int)
{
java.lang.IndexOutOfBoundsException v, v;
long v;
byte v;
int v, v, v, v;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v = v | v;
if v >= 0 goto label;
v = new java.lang.IndexOutOfBoundsException;
specialinvoke v.<java.lang.IndexOutOfBoundsException: void <init>(java.lang.String)>("offset and legnth must be non-negative");
throw v;
label:
v = v + v;
v = v cmp v;
if v <= 0 goto label;
v = new java.lang.IndexOutOfBoundsException;
specialinvoke v.<java.lang.IndexOutOfBoundsException: void <init>(java.lang.String)>("target is to small for specified read size");
throw v;
label:
return;
}
static void <clinit>()
{
byte[] v;
java.util.List v;
org.apache.qpid.proton.codec.CompositeReadableBuffer v;
int v;
java.nio.ByteBuffer v;
java.util.ArrayList v;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v = staticinvoke <java.util.Collections: java.util.List unmodifiableList(java.util.List)>(v);
<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.util.List EMPTY_LIST> = v;
v = newarray (byte)[0];
v = staticinvoke <java.nio.ByteBuffer: java.nio.ByteBuffer wrap(byte[])>(v);
<org.apache.qpid.proton.codec.CompositeReadableBuffer: java.nio.ByteBuffer EMPTY_BUFFER> = v;
v = new org.apache.qpid.proton.codec.CompositeReadableBuffer;
specialinvoke v.<org.apache.qpid.proton.codec.CompositeReadableBuffer: void <init>(boolean)>(0);
<org.apache.qpid.proton.codec.CompositeReadableBuffer: org.apache.qpid.proton.codec.CompositeReadableBuffer EMPTY_SLICE> = v;
v = (int) -1;
<org.apache.qpid.proton.codec.CompositeReadableBuffer: int UNSET_MARK> = v;
return;
}
}