public class org.apache.qpid.proton.engine.impl.CollectorImpl extends java.lang.Object implements org.apache.qpid.proton.engine.Collector
{
private org.apache.qpid.proton.engine.impl.EventImpl head;
private org.apache.qpid.proton.engine.impl.EventImpl tail;
private org.apache.qpid.proton.engine.impl.EventImpl free;
public void <init>()
{
org.apache.qpid.proton.engine.impl.CollectorImpl v;
v := @this: org.apache.qpid.proton.engine.impl.CollectorImpl;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public org.apache.qpid.proton.engine.Event peek()
{
org.apache.qpid.proton.engine.impl.CollectorImpl v;
org.apache.qpid.proton.engine.impl.EventImpl v;
v := @this: org.apache.qpid.proton.engine.impl.CollectorImpl;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
return v;
}
public void pop()
{
org.apache.qpid.proton.engine.impl.CollectorImpl v;
org.apache.qpid.proton.engine.impl.EventImpl v, v, v, v, v, v, v;
v := @this: org.apache.qpid.proton.engine.impl.CollectorImpl;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
if v == null goto label;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
v = v.<org.apache.qpid.proton.engine.impl.EventImpl: org.apache.qpid.proton.engine.impl.EventImpl next>;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl free>;
v.<org.apache.qpid.proton.engine.impl.EventImpl: org.apache.qpid.proton.engine.impl.EventImpl next> = v;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl free> = v;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
virtualinvoke v.<org.apache.qpid.proton.engine.impl.EventImpl: void clear()>();
v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head> = v;
label:
return;
}
public org.apache.qpid.proton.engine.impl.EventImpl put(org.apache.qpid.proton.engine.EventType, java.lang.Object)
{
org.apache.qpid.proton.engine.EventType v, v;
org.apache.qpid.proton.engine.impl.EventImpl v, v, v, v, v, v, v, v, v, v;
java.lang.String v;
boolean v;
java.lang.IllegalArgumentException v, v;
org.apache.qpid.proton.engine.impl.CollectorImpl v;
java.lang.Object v, v;
v := @this: org.apache.qpid.proton.engine.impl.CollectorImpl;
v := @parameter: org.apache.qpid.proton.engine.EventType;
v := @parameter: java.lang.Object;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("Type cannot be null");
throw v;
label:
v = interfaceinvoke v.<org.apache.qpid.proton.engine.EventType: boolean isValid()>();
if v != 0 goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.apache.qpid.proton.engine.EventType)>(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[])>("Cannot put events of type \u0001");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl tail>;
if v == null goto label;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl tail>;
v = virtualinvoke v.<org.apache.qpid.proton.engine.impl.EventImpl: org.apache.qpid.proton.engine.EventType getEventType()>();
if v != v goto label;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl tail>;
v = virtualinvoke v.<org.apache.qpid.proton.engine.impl.EventImpl: java.lang.Object getContext()>();
if v != v goto label;
return null;
label:
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl free>;
if v != null goto label;
v = new org.apache.qpid.proton.engine.impl.EventImpl;
specialinvoke v.<org.apache.qpid.proton.engine.impl.EventImpl: void <init>()>();
v = v;
goto label;
label:
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl free>;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl free>;
v = v.<org.apache.qpid.proton.engine.impl.EventImpl: org.apache.qpid.proton.engine.impl.EventImpl next>;
v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl free> = v;
v.<org.apache.qpid.proton.engine.impl.EventImpl: org.apache.qpid.proton.engine.impl.EventImpl next> = null;
label:
virtualinvoke v.<org.apache.qpid.proton.engine.impl.EventImpl: void init(org.apache.qpid.proton.engine.EventType,java.lang.Object)>(v, v);
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
if v != null goto label;
v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head> = v;
v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl tail> = v;
goto label;
label:
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl tail>;
v.<org.apache.qpid.proton.engine.impl.EventImpl: org.apache.qpid.proton.engine.impl.EventImpl next> = v;
v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl tail> = v;
label:
return v;
}
public boolean more()
{
org.apache.qpid.proton.engine.impl.CollectorImpl v;
org.apache.qpid.proton.engine.impl.EventImpl v, v, v;
boolean v;
v := @this: org.apache.qpid.proton.engine.impl.CollectorImpl;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
if v == null goto label;
v = v.<org.apache.qpid.proton.engine.impl.CollectorImpl: org.apache.qpid.proton.engine.impl.EventImpl head>;
v = v.<org.apache.qpid.proton.engine.impl.EventImpl: org.apache.qpid.proton.engine.impl.EventImpl next>;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
}