package com.redhat.ceylon.compiler.java.test.statement.loop;

class MethodWhileConditionListIsBoolBool implements .com.redhat.ceylon.compiler.java.runtime.model.ReifiedType, .java.io.Serializable {
    
    MethodWhileConditionListIsBoolBool() {
    }
    
    private final boolean m$priv$(final .java.lang.Object x, final long z) {
        loop_0: while (true) {
            .java.lang.Object x$0;
            if ((x$0 = x) instanceof .ceylon.language.Integer) {
                final long x$1 = ((.ceylon.language.Integer)x$0).longValue();
                if (x$1 > 0L) {
                    if (z < 10L) {
                        return z == 1L;
                    } else {
                        break loop_0;
                    }
                } else {
                    break loop_0;
                }
            } else {
                break loop_0;
            }
        }
        return false;
    }
    
    private final boolean synthetic$priv$(final .java.lang.Object x, final long z) {
        loop_1: while (true) {
            .java.lang.Object y$2;
            if ((y$2 = x) instanceof .ceylon.language.Integer) {
                final long y$3 = ((.ceylon.language.Integer)y$2).longValue();
                if (y$3 > 0L) {
                    if (z < 10L) {
                        return z == 1L;
                    } else {
                        break loop_1;
                    }
                } else {
                    break loop_1;
                }
            } else {
                break loop_1;
            }
        }
        return false;
    }
    
    @.java.lang.Override
    public .com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor $getType$() {
        return .com.redhat.ceylon.compiler.java.test.statement.loop.MethodWhileConditionListIsBoolBool.$TypeDescriptor$;
    }
    public static final .com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor $TypeDescriptor$ = .com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor.klass(.com.redhat.ceylon.compiler.java.test.statement.loop.MethodWhileConditionListIsBoolBool.class);
}