alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (Tester.java)

This example Java source code file (Tester.java) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

error, object, string, tester_class_0, tester_class_1, tester_class_2, tester_class_3, throwable

The Tester.java Java example source code

/*
 * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

/*
 * @test
 * @bug 6646020
 * @summary assert(in_bb(n),"must be in block") in -Xcomp mode
 */

/* Complexity upper bound: 3361 ops */

class Tester_Class_0 {
    static byte var_1;


    public Tester_Class_0()
    {
        "".length();
        {
            var_1 = (var_1 = (new byte[(byte)'D'])[(byte)2.40457E38F]);
            var_1 = (var_1 = (byte)1.738443503665377E307);
            var_1 = (var_1 = (byte)1237144669662298112L);
        }
        var_1 = "baldh".equalsIgnoreCase("") ? (var_1 = (byte)7.2932087E37F) : (byte)3909726578709910528L;
        var_1 = (var_1 = (var_1 = (var_1 = (byte)7.223761846153971E307)));
        var_1 = (var_1 = (var_1 = (var_1 = (var_1 = (byte)((short)7860452029249754112L + (byte)1.7374232546809952E308)))));
        var_1 = (!true ? (var_1 = (byte)4359229782598970368L) : (short)(byte)1.7509836746850026E308) >= 'P' ? (var_1 = (byte)3.275114793095594E307) : (byte)(- ((byte)1.5595572E38F) / 8.2971296E37F);
        byte var_9 = (true ? true : (false ? true : false)) ? (var_1 = (var_1 = (byte)9.928434E37F)) : (var_1 = (byte)9.785060633966518E307);
        final byte var_10 = 53;
        var_9 <<= (true | true) & (((var_10 == "".substring(2001075014).compareToIgnoreCase("rhbytggv") ? !true : ! !true) ? !false : false) ? !true & true : !false) ? var_10 : var_10;
        var_9 <<= - (var_9 -= - ~6397182310329038848L >> (char)955837891 << (short)- - -8.4452034E37F >> + ~5485157895941338112L);
        --var_9;
        var_9 >>= 'V';
        var_9 -= (new char[var_10])[var_9];
        double var_11;
        var_11 = (var_11 = (new int[var_9 = (var_9 %= 684423748)])[var_9]);
        var_9 /= 'q';
        var_9 *= ~var_9 | (short)1.7667766368850557E308 - "w".trim().charAt(- (var_9 /= + (var_11 = 'q')));
        if (var_10 <= 605036859609030656L | !false & false)
        {
            var_9 >>>= false ^ false ? (new short[var_10])[var_10] : (short)1013619326108001280L;
        }
        else
        {
            var_11 = var_9;
        }
        var_9 -= 'X';
        var_9 *= 'E';
        {
            var_9 ^= (new short[var_9])[var_9 >>>= 'c'];
        }
        var_11 = 4315867074042433536L;
        double var_12 = 1.2183900219527627E308;
        var_9 <<= (false ? !false : false) ? '\\' : 'D';
    }




    private final long func_0()
    {
        float var_2 = 0F;
        var_1 = (var_1 = (var_1 = (byte)((short)1.4106931056021857E308 % var_2)));
        for (new String(); true & (! !true ^ !false | false) && var_2 < 1; var_1 = (var_1 = (var_1 = (var_1 = (byte)1183673628639185920L))))
        {
            var_1 = true | false ? (var_1 = (byte)1.6263855E37F) : (byte)'O';
            var_2++;
            "fui".toUpperCase();
            final int var_3 = (var_1 = (var_1 = (byte)'i')) + (byte)2008561384 / (byte)1.4413369179905006E308;
        }
        var_1 = (var_1 = false ^ false ? (byte)2.3850814E38F : (byte)4.42887E37F);
        final float var_4 = 3.052265E38F;
        var_1 = (var_1 = (var_1 = (var_1 = (var_1 = (byte)'o'))));
        long var_5;
        var_1 = (var_1 = (byte)((var_1 = (byte)1913212786) * (var_1 = (byte)var_2)));
        var_5 = (short)3.2024069E38F * (short)(var_5 = 'Q');
        var_5 = (false ? true : false) ? (short)1098137179 : (byte)~695765814858203136L;
        var_1 = (var_1 = true & false ^ true ? (byte)1662737306 : (byte)'r');
        {
            (true ? "a" : "lymivj".toString()).codePointCount((short)3.032349E38F + (var_1 = (var_1 = (var_1 = (var_1 = (byte)1.3159799E37F)))), (byte)2.0898819853138264E307 & (new short[(byte)(short)var_2])[var_1 = (byte)(short)4.859332921376913E307]);
        }
        double var_6;
        var_6 = 1359078277;
        final float var_7 = 3.5952457E37F;
        var_5 = ('u' | 9005660398910009344L) << 'j';
        int var_8;
        var_5 = (!false || true & !false) && false ? (byte)1836342254 : (byte)1.4836203E38F;
        var_1 = (var_1 = (var_1 = (var_1 = (byte)1.5824984701060493E308)));
        var_1 = (var_1 = (var_1 = (byte)~ (var_1 = (var_1 = (var_1 = (byte)var_7)))));
        return +9.067416E37F <= (true | true ^ false ? (var_1 = (byte)(short)1.5243446E38F) : (var_1 = (byte)1.6893049E37F)) ? (byte)~4408841475280588800L - (var_5 = (var_1 = (byte)2.1542209E38F)) : (var_8 = (short)var_4);
    }

    protected final static double func_1(final char arg_0, final long arg_1)
    {
        var_1 = (short)8779631802405542912L << 'x' <= arg_0 ? (byte)+9.96859509852443E307 : (var_1 = (var_1 = (byte)(short)5.218454879223281E307));
        return 5.57437404144192E307;
    }

    double func_2(byte arg_0, final boolean arg_1, Object arg_2)
    {
        arg_2 = arg_1 != arg_1 ? "wq" : "w";
        arg_2 = arg_2;
        if (arg_1)
        {
            arg_2 = false & arg_1 ? "hasmp" : (arg_2 = arg_2);
        }
        else
        {
            arg_2 = "lcquv";
        }
        arg_0 -= arg_1 ^ false ? (arg_0 |= (short)arg_0) : (~3462197988186869760L | 7274210797196514304L) % - - + +130998764279904256L;
        arg_0 &= (true ? - - ~7861994999369861120L << 'l' : 'c') * 1246069704;
        return (arg_1 ? 9.311174E37F : 1.7085558737202237E308) * 1168887722;
    }

    public String toString()
    {
        String result =  "[\n";
        result += "Tester_Class_0.var_1 = "; result += Tester.Printer.print(var_1);
        result += "";
        result += "\n]";
        return result;
    }
}


final class Tester_Class_1 extends Tester_Class_0 {
    static Object var_13;
    final static boolean var_14 = false | (false ? false : true);
    Object var_15;
    static byte var_16;
    final long var_17 = (long)(-9.40561658911133E307 - (short)2.2016736E38F) ^ (char)1099667310;
    static boolean var_18;
    static float var_19;
    final static byte var_20 = 123;
    static byte var_21 = var_1 = (var_1 = var_20);
    final static float var_22 = 1.5415572E38F;


    public Tester_Class_1()
    {
        char[][] var_39;
        boolean var_40 = false | !var_14;
        if (var_14)
        {
            final String[] var_41 = (new String[var_21][var_20])[var_21 *= var_21];
            var_15 = (new Tester_Class_0[var_20])[var_20];
            --var_21;
            int var_42;
        }
        else
        {
            var_19 = (short)325110146;
        }
        var_40 &= true;
        var_13 = (((new Tester_Class_1[var_21 |= (new char[var_20])[var_21]])[var_21]).var_15 = (new String[var_21][var_20][var_20])[var_21 >>= (byte)(int)var_22]);
        var_15 = "m";
    }





    protected final static Tester_Class_0 func_0(final char arg_0, boolean arg_1)
    {
        final short var_23 = false ? (short)2.2956268E38F : var_20;
        {
            ((new Tester_Class_1[var_21])[var_20]).var_15 = ((new Tester_Class_0[var_20][var_21])[var_21])[var_20];
        }
        var_19 = var_23;
        {
            var_21++;
            --var_21;
            var_13 = (false ? arg_1 : arg_1) ? "" : "aianteahl";
            arg_1 ^= ! (var_14 ? var_14 : !var_14);
        }
        (arg_1 ? "rq" : "certd").trim();
        arg_1 ^= 's' < var_22;
        var_19 = 'T';
        var_19 = var_14 ? --var_21 : var_20;
        var_19 = (var_21 >>>= ~ -1559436447128426496L >> 88912720393932800L) | (new char[var_20][var_21])[var_21][var_20];
        short var_24 = 7601;
        if (arg_1)
        {
            var_13 = (new Tester_Class_0[var_20])[var_21];
        }
        else
        {
            var_19 = var_23;
        }
        var_19 = var_24;
        var_19 = 174274929356416000L;
        return arg_1 ? (Tester_Class_0)(new Object[var_20])[var_21 >>>= - ((byte)6471979169965446144L)] : (new Tester_Class_0[var_21])[var_20];
    }

    private static int func_1(final Object arg_0, final boolean arg_1)
    {
        var_19 = 'N';
        var_13 = "ftspm".toUpperCase();
        var_18 = arg_1 ? !arg_1 : var_14;
        var_19 = var_21 % 'j';
        {
            var_13 = new short[var_21 >>= 8019540572802872320L];
        }
        final Tester_Class_0 var_25 = arg_1 ? ((short)1.3614569631193786E308 >= (short)var_20 ? func_0('O', true) : (Tester_Class_0)arg_0) : func_0('e', false);
        "cltpxrg".offsetByCodePoints((new short[var_20])[(byte)'F'] & var_20, 942627356);
        final Object var_26 = ((new Tester_Class_1[var_21])[var_20]).var_15 = arg_0;
        {
            var_21 |= 'H';
        }
        var_19 = 4705089801895780352L;
        var_19 = (var_18 = arg_1 & false) ? var_20 : (! (~var_21 > var_22) ? (new short[var_20])[var_21] : (short)3904907750551380992L);
        var_18 = false;
        {
            var_18 = "aoy".startsWith("ia", 18060804);
            if (true)
            {
                final short var_27 = 4832;
            }
            else
            {
                var_18 = (var_18 = arg_1) ? !false : !var_14;
            }
            var_18 = (var_18 = var_14);
            var_19 = 'L';
        }
        func_0((false ? ! ((var_21 -= 4.670301365216022E307) > 1.1839209E37F) : (var_18 = false)) ? 's' : 'R', 'Z' > - ((long)var_21) << 2585724390819764224L & var_25.func_2(var_21, false, var_13 = var_25) != 4918861136400833536L);
        double var_28 = 0;
        var_21 %= -var_28;
        for (byte var_29 = 91; arg_1 && (var_28 < 1 && false); var_19 = var_20)
        {
            var_19 = (var_18 = arg_1) & (var_18 = false) ? 'm' : '[';
            var_28++;
            var_18 = var_14;
            var_21 += (short)1363703973;
        }
        var_19 = (var_19 = var_22);
        var_18 = (var_18 = false | false ? 1743087391 <= (var_21 >>= 8790741242417599488L) : !arg_1);
        var_18 = true | true;
        --var_21;
        var_18 = !var_14 & false;
        "mt".indexOf(var_14 ? new String("fpu") : "awivb", (var_14 ? !true : (var_18 = var_14)) ? + ++var_21 : ~var_20);
        return (short)(new float[var_21--])[var_21] & ((var_18 = false) ? (var_21 *= 'N') : var_20 + (short)1680927063794178048L) & 1839004800;
    }

    protected static int func_2(Tester_Class_0[][] arg_0)
    {
        ((new Tester_Class_1[var_20][var_21])[var_20][var_20]).var_15 = ((new int[var_21][var_21][(byte)var_22])[var_21 <<= var_20])[var_20];
        ((new Tester_Class_1[var_20])[var_20]).var_15 = "d";
        int var_30 = 0;
        "joxjgpywp".lastIndexOf(1834367264 >> var_21, (byte)7.572305E37F >>> (false ? (short)2.3909862E38F : + - +3939434849912855552L));
        while (var_14 | false ^ var_14 && (var_30 < 1 && true))
        {
            var_1 = var_20;
            var_30++;
            var_13 = new float[var_21][--var_21];
            boolean var_31;
        }
        var_19 = ((new Tester_Class_1[var_21])[var_20]).var_17 <= (~2158227803735181312L & 6001748808824762368L) ? (short)var_20 : var_20;
        var_18 = (var_18 = true);
        return (byte)(new short[var_20])[var_20] >>> ((new char[var_21][var_21])[var_21 |= 6074708801143703552L])[var_20];
    }

    private final String func_3(boolean arg_0, short arg_1, short arg_2)
    {
        var_13 = (Tester_Class_0)((arg_0 ^= arg_0) ? (var_13 = (var_15 = (var_15 = "grfphyrs"))) : (var_13 = new Object[var_21 *= ']']));
        if (true & ! (arg_0 ^= !arg_0 | true))
        {
            boolean var_32 = true;
            var_19 = --arg_1;
            arg_2 <<= var_21;
        }
        else
        {
            arg_0 |= false;
        }
        var_21 >>>= arg_1;
        final float var_33 = 2.5500976E38F;
        return "";
    }

    private static String func_4(final double arg_0, final Object arg_1, final short[] arg_2, final char arg_3)
    {
        float var_34;
        var_21++;
        ((new Tester_Class_1[var_20])[var_20]).var_15 = false ? arg_1 : arg_1;
        var_13 = arg_1;
        var_19 = var_22;
        var_13 = new long[var_21 /= 1038797776 + var_21][--var_21];
        ++var_21;
        var_18 = false && false;
        var_21--;
        "".lastIndexOf("kjro");
        final int var_35 = (var_21 <<= var_21--) * var_21--;
        if ("kohilkx".startsWith("gy", var_35))
        {
            var_34 = 2.0849673E37F;
        }
        else
        {
            double var_36 = arg_0;
        }
        var_34 = (var_21 /= var_20);
        {
            func_2(new Tester_Class_0[var_20][var_21]);
            var_34 = var_20 * (- ~5805881602002385920L / arg_3) << (short)~8041668398152312832L;
            var_13 = (var_13 = "qfwbfdf");
        }
        ((new Tester_Class_1[var_20])[var_21 += var_20]).var_15 = false ? func_0(arg_3, var_14) : func_0('J', var_18 = var_14);
        var_18 = (var_18 = var_14) & var_14;
        if ((new boolean[var_21])[var_21 >>= 121380821])
        {
            var_34 = 1382979413;
        }
        else
        {
            var_34 = (var_20 & var_20) + (true ? 'I' : arg_3);
        }
        byte var_37;
        ((new Tester_Class_1[var_20][var_21])[var_14 ^ var_14 | !var_14 ? var_20 : var_20][var_21 ^= (short)1692053070 & + ~7232298887878750208L - 1512699919]).var_15 = arg_2;
        byte var_38 = 1;
        var_38 -= arg_0;
        var_34 = arg_3;
        return var_14 ? "" : "xgkr".toUpperCase();
    }

    public String toString()
    {
        String result =  "[\n";
        result += "Tester_Class_1.var_1 = "; result += Tester.Printer.print(var_1);
        result += "\n";
        result += "Tester_Class_1.var_16 = "; result += Tester.Printer.print(var_16);
        result += "\n";
        result += "Tester_Class_1.var_20 = "; result += Tester.Printer.print(var_20);
        result += "\n";
        result += "Tester_Class_1.var_21 = "; result += Tester.Printer.print(var_21);
        result += "\n";
        result += "Tester_Class_1.var_14 = "; result += Tester.Printer.print(var_14);
        result += "\n";
        result += "Tester_Class_1.var_18 = "; result += Tester.Printer.print(var_18);
        result += "\n";
        result += "Tester_Class_1.var_17 = "; result += Tester.Printer.print(var_17);
        result += "\n";
        result += "Tester_Class_1.var_19 = "; result += Tester.Printer.print(var_19);
        result += "\n";
        result += "Tester_Class_1.var_22 = "; result += Tester.Printer.print(var_22);
        result += "\n";
        result += "Tester_Class_1.var_13 = "; result += Tester.Printer.print(var_13);
        result += "\n";
        result += "Tester_Class_1.var_15 = "; result += Tester.Printer.print(var_15);
        result += "";
        result += "\n]";
        return result;
    }
}


class Tester_Class_2 extends Tester_Class_0 {
    final int var_43 = 1600723343;
    static long var_44 = ~1297640037857117184L;
    static String var_45 = "ejaglds";
    double var_46;
    static float var_47 = 7.9423827E37F;
    static Tester_Class_1[][] var_48;


    public Tester_Class_2()
    {
        var_45 = (var_45 = "nkulkweqt");
        var_47 %= (new char[Tester_Class_1.var_21 >>= (short)Tester_Class_1.var_20])[Tester_Class_1.var_20];
        {
            Tester_Class_1.var_18 = Tester_Class_1.var_14;
        }
        var_47 %= 1.559461406041646E308;
        var_44 -= Tester_Class_1.var_21++ & ((new Tester_Class_1[Tester_Class_1.var_20])[Tester_Class_1.var_20]).var_17;
        var_44 *= false ? (short)Tester_Class_1.var_20 : (short)var_47;
        Tester_Class_1.var_13 = (new Tester_Class_1().var_15 = new char[Tester_Class_1.var_20]);
        var_46 = 'i';
        double var_49 = var_46 = false ? (var_47 *= (var_46 = var_43)) : Tester_Class_1.var_20;
        var_49 += 'k';
    }




    public String toString()
    {
        String result =  "[\n";
        result += "Tester_Class_2.var_43 = "; result += Tester.Printer.print(var_43);
        result += "\n";
        result += "Tester_Class_2.var_48 = "; result += Tester.Printer.print(var_48);
        result += "\n";
        result += "Tester_Class_2.var_44 = "; result += Tester.Printer.print(var_44);
        result += "\n";
        result += "Tester_Class_2.var_46 = "; result += Tester.Printer.print(var_46);
        result += "\n";
        result += "Tester_Class_2.var_47 = "; result += Tester.Printer.print(var_47);
        result += "\n";
        result += "Tester_Class_2.var_1 = "; result += Tester.Printer.print(var_1);
        result += "\n";
        result += "Tester_Class_2.var_45 = "; result += Tester.Printer.print(var_45);
        result += "";
        result += "\n]";
        return result;
    }
}


class Tester_Class_3 extends Tester_Class_0 {
    byte var_50;
    int var_51;
    static double var_52;
    static boolean var_53 = true;
    long var_54;
    static short var_55;
    short var_56;


    public Tester_Class_3()
    {
        var_53 |= false;
        (Tester_Class_2.var_45 = "gpbcgq").replaceAll("m".concat(Tester_Class_2.var_45 = "q"), Tester_Class_2.var_45).indexOf(Tester_Class_2.var_45 = "d");
        Tester_Class_2.var_45 = Tester_Class_2.var_45;
        double var_68 = 0;
        Tester_Class_1.var_19 = (var_55 = Tester_Class_1.var_20);
        do
        {
            var_53 ^= 'T' > Tester_Class_1.var_21-- & (var_53 |= Tester_Class_1.var_14);
            Tester_Class_2.var_44 >>= (char)3.928497616986412E307;
            var_68++;
            new Tester_Class_2().func_2(Tester_Class_1.var_20, !var_53 & Tester_Class_1.var_14, Tester_Class_1.var_13 = (Tester_Class_2.var_45 = Tester_Class_2.var_45));
        } while ((((var_56 = (short)1161292485) != 'M' ? var_53 : Tester_Class_1.var_14) ? Tester_Class_1.var_14 ^ true : var_53) && var_68 < 1);
        Tester_Class_2.var_45 = Tester_Class_2.var_45;
        ((Tester_Class_1)(Tester_Class_1.var_13 = new Tester_Class_2())).var_15 = Tester_Class_2.var_45;
        var_55 = func_1() | ((Tester_Class_1.var_18 = var_53) | (var_53 |= Tester_Class_1.var_14) | Tester_Class_1.var_14 | !Tester_Class_1.var_14) || false ? (short)Tester_Class_2.var_44 : (var_56 = (var_56 = (short)'['));
        var_52 = (var_51 = (var_55 = Tester_Class_1.var_20));
        double var_69 = 0;
        Tester_Class_2.var_44 |= (Tester_Class_1.var_14 ? (Tester_Class_2)(Tester_Class_1.var_13 = (Tester_Class_2)(Tester_Class_1.var_13 = Tester_Class_2.var_45)) : (Tester_Class_2)(Tester_Class_0)(Tester_Class_1.var_13 = Tester_Class_2.var_45)).var_43;
        do
        {
            var_51 = 495861255;
            var_69++;
        } while (var_69 < 3);
        Tester_Class_2.var_47 -= Tester_Class_1.var_20;
        Tester_Class_2.var_47 %= '[';
    }




    static Object func_0(final Tester_Class_0 arg_0, String arg_1, final float arg_2, final long arg_3)
    {
        (!var_53 | (var_53 &= var_53) ^ false ? new Tester_Class_1() : (Tester_Class_1)(new Tester_Class_0[Tester_Class_1.var_21])[Tester_Class_1.var_21]).var_15 = Tester_Class_1.var_14 ? new Tester_Class_1() : new Tester_Class_1();
        Tester_Class_2.var_47 /= !var_53 || var_53 ? (short)(((Tester_Class_2)arg_0).var_46 = (new char[Tester_Class_1.var_21][Tester_Class_1.var_21])[Tester_Class_1.var_20][Tester_Class_1.var_20]) : Tester_Class_1.var_21;
        return (new Object[Tester_Class_1.var_21])[Tester_Class_1.var_21];
    }

    boolean func_1()
    {
        {
            Tester_Class_1.var_21 >>= (var_56 = (Tester_Class_1.var_21 |= (Tester_Class_1.var_21 -= Tester_Class_1.var_20)));
            Tester_Class_2.var_45 = "w";
            var_51 = Tester_Class_1.var_21;
            Object var_57;
            ((Tester_Class_2)(Tester_Class_0)((new Object[Tester_Class_1.var_21][Tester_Class_1.var_21])[Tester_Class_1.var_20])[Tester_Class_1.var_20]).var_46 = (var_52 = 1.3957085765622284E308);
        }
        Tester_Class_1.var_21 &= (var_55 = (byte)(Tester_Class_1.var_14 ? -Tester_Class_1.var_20 : 4290961666344782848L));
        Tester_Class_2.var_45 = Tester_Class_2.var_45;
        var_51 = (var_53 ^= ((var_53 &= Tester_Class_1.var_14) ? 'J' : 'M') > (var_56 = Tester_Class_1.var_21)) && (var_53 = Tester_Class_1.var_14) ? (Tester_Class_1.var_21 &= ~Tester_Class_1.var_20) : Tester_Class_1.var_20;
        {
            final Tester_Class_1 var_58 = (Tester_Class_1)(Tester_Class_0)(Tester_Class_1.var_13 = (new Object[Tester_Class_1.var_21])[Tester_Class_1.var_20]);
            Object var_59;
            Tester_Class_1.var_21 |= 'X';
            var_53 ^= Tester_Class_1.var_14;
        }
        int var_60 = 0;
        var_53 |= var_53;
        for (char var_61 = 'i'; (Tester_Class_1.var_14 ? false : Tester_Class_1.var_14) | (true | Tester_Class_1.var_14) && var_60 < 1; var_53 &= !Tester_Class_1.var_14)
        {
            var_51 = var_61;
            var_60++;
            var_61 &= (new short[Tester_Class_1.var_20][Tester_Class_1.var_20])[Tester_Class_1.var_20][Tester_Class_1.var_21];
            Tester_Class_2.var_45 = "vsuy";
        }
        Tester_Class_2 var_62 = ((var_53 &= Tester_Class_1.var_14 | Tester_Class_1.var_14 || Tester_Class_1.var_14) ? Tester_Class_1.var_14 : "hgwne".startsWith("etyhd", var_60)) ? (var_53 ? (Tester_Class_2)(Tester_Class_1.var_13 = "uyiaxtqc") : (Tester_Class_2)(Tester_Class_1.var_13 = Tester_Class_2.var_45)) : new Tester_Class_2();
        var_62 = var_62;
        float var_63;
        Object var_64;
        Tester_Class_2.var_44 <<= 'v';
        String var_65;
        {
            var_51 = Tester_Class_1.var_21;
        }
        var_55 = true ? (var_56 = Tester_Class_1.var_20) : (var_55 = Tester_Class_1.var_20);
        var_56 = Tester_Class_1.var_21;
        Tester_Class_1.var_21 |= var_60;
        Object var_66;
        Tester_Class_2 var_67;
        return true & Tester_Class_1.var_14 ^ (false ? var_53 : var_53);
    }

    public String toString()
    {
        String result =  "[\n";
        result += "Tester_Class_3.var_51 = "; result += Tester.Printer.print(var_51);
        result += "\n";
        result += "Tester_Class_3.var_54 = "; result += Tester.Printer.print(var_54);
        result += "\n";
        result += "Tester_Class_3.var_52 = "; result += Tester.Printer.print(var_52);
        result += "\n";
        result += "Tester_Class_3.var_55 = "; result += Tester.Printer.print(var_55);
        result += "\n";
        result += "Tester_Class_3.var_56 = "; result += Tester.Printer.print(var_56);
        result += "\n";
        result += "Tester_Class_3.var_1 = "; result += Tester.Printer.print(var_1);
        result += "\n";
        result += "Tester_Class_3.var_50 = "; result += Tester.Printer.print(var_50);
        result += "\n";
        result += "Tester_Class_3.var_53 = "; result += Tester.Printer.print(var_53);
        result += "";
        result += "\n]";
        return result;
    }
}

public class Tester {
    final long var_70 = Tester_Class_2.var_44;
    int var_71;
    static double var_72;
    static short var_73 = (Tester_Class_3.var_53 &= (Tester_Class_3.var_53 ^= Tester_Class_3.var_53)) ? (short)(byte)(Tester_Class_3.var_55 = Tester_Class_1.var_20) : (Tester_Class_3.var_55 = Tester_Class_1.var_20);
    final static short var_74 = (Tester_Class_3.var_53 &= Tester_Class_3.var_53) ? (Tester_Class_3.var_53 ? var_73 : var_73++) : (var_73 *= (Tester_Class_1.var_21 |= var_73));
    float var_75;


    protected final Tester_Class_2 func_0()
    {
        Tester_Class_1.var_21 ^= ~Tester_Class_1.var_21;
        if (false)
        {
            ((Tester_Class_3)(new Object[Tester_Class_1.var_21])[Tester_Class_1.var_21 -= + + (Tester_Class_2.var_44 >>>= Tester_Class_1.var_21)]).var_50 = (Tester_Class_1.var_21 &= (var_71 = 554295231));
        }
        else
        {
            Tester_Class_2.var_47 += 'H';
        }
        final Tester_Class_0 var_76 = ((new Tester_Class_0[Tester_Class_1.var_20][Tester_Class_1.var_21])[Tester_Class_1.var_20])[Tester_Class_1.var_20];
        (Tester_Class_1.var_14 ? (Tester_Class_2)var_76 : (Tester_Class_2)var_76).var_46 = (var_73 %= var_74 / (((new Tester_Class_2[Tester_Class_1.var_20])[Tester_Class_1.var_21 |= Tester_Class_1.var_20]).var_46 = Tester_Class_1.var_22));
        var_73 |= ((Tester_Class_2)(Tester_Class_1.var_13 = var_76)).var_43 | Tester_Class_1.var_20;
        return new Tester_Class_2();
    }

    private static Tester_Class_3 func_1(byte arg_0, Tester_Class_1 arg_1, Tester_Class_1 arg_2, final int arg_3)
    {
        arg_0 <<= '`';
        return false ? (Tester_Class_3)(Tester_Class_0)(arg_1.var_15 = (arg_1 = arg_2)) : (Tester_Class_3)((new Tester_Class_0[Tester_Class_1.var_20][arg_0])[Tester_Class_1.var_20])[Tester_Class_1.var_20];
    }

    public static String execute()
    {
        try {
            Tester t = new Tester();
            try { t.test(); }
            catch(Throwable e) { }
            try { return t.toString(); }
            catch (Throwable e) { return "Error during result conversion to String"; }
        } catch (Throwable e) { return "Error during test execution"; }
    }

    public static void main(String[] args)
    {
        for (int i = 0; i < 20000; i++) {
            Tester t = new Tester();
            try { t.test(); }
            catch(Throwable e) { }
            if (t.var_71 != 0 ||
                t.var_70 != -1297640037857117185L ||
                t.var_72 != 0.0 ||
                t.var_75 != 0.0 ||
                t.var_73 != -1 ||
                t.var_74 != 15129) {
                throw new InternalError("wrong answer");
            }
        }
    }

    private void test()
    {
        long var_77 = 0L;
        var_73 /= (Tester_Class_2.var_47 = 'D' | 'Q');
        Tester_Class_2.var_47 *= 't';
        while (var_77 < 36)
        {
            var_73 += Tester_Class_1.var_22;
            Tester_Class_2.var_47 += Tester_Class_1.var_20;
            var_77++;
            Tester_Class_2.var_45 = "";
            Tester_Class_2.var_45 = (Tester_Class_2.var_45 = Tester_Class_2.var_45);
        }
        if (Tester_Class_3.var_53 |= false)
        {
            int var_78 = 0;
            (false ? "idipdjrln" : "l").startsWith(Tester_Class_2.var_45);
            while ((Tester_Class_3.var_53 |= (Tester_Class_3.var_53 &= ! (Tester_Class_1.var_18 = true)) | Tester_Class_3.var_53) && (var_78 < 15 && (Tester_Class_3.var_53 &= Tester_Class_1.var_14)))
            {
                Tester_Class_2.var_44 <<= 'b';
                var_78++;
                var_72 = var_74;
                var_71 = (char)6792782617594333184L;
            }
            float var_79 = Tester_Class_2.var_47 /= 1.5148047552641134E308;
            ((new boolean[Tester_Class_1.var_20])[Tester_Class_1.var_21 <= (Tester_Class_1.var_21 -= 9.675021723726166E307) / - + (var_72 = 4.3844763012510596E307) ? (byte)(Tester_Class_2.var_44 += ~Tester_Class_1.var_21) : (Tester_Class_1.var_21 += 1.7430965313164616E308)] ? (Tester_Class_2)(new Tester_Class_1().var_15 = func_0()) : new Tester_Class_2()).var_46 = (var_72 = (Tester_Class_1.var_21 *= 'j'));
            Tester_Class_1.var_13 = (new Tester_Class_3[Tester_Class_1.var_21 >>>= var_78][Tester_Class_1.var_21])[Tester_Class_1.var_21][Tester_Class_1.var_20];
        }
        else
        {
            long var_80 = 0L;
            ((Tester_Class_2)(Tester_Class_1.var_13 = new long[Tester_Class_1.var_21])).var_46 = 'r';
            do
            {
                final float var_81 = 7.3633934E37F;
                var_80++;
                var_73 ^= Tester_Class_2.var_44;
            } while (Tester_Class_3.var_53 && var_80 < 4);
            Tester_Class_1.var_18 = Tester_Class_2.var_47 >= var_73;
            Tester_Class_2.var_45 = "xvodcylp";
            Tester_Class_2.var_45.codePointCount("indreb".charAt(+(new byte[Tester_Class_1.var_20][Tester_Class_1.var_20])[Tester_Class_1.var_21][Tester_Class_1.var_21]) * ~ (Tester_Class_1.var_21 %= (var_71 = --var_73)), ((Tester_Class_3.var_53 ^= Tester_Class_2.var_45.equalsIgnoreCase("rkxwa")) || Tester_Class_2.var_47 <= (Tester_Class_2.var_47 %= -var_80) ? (Tester_Class_1.var_21 ^= var_70) : var_73) & (var_71 = 'k'));
            Tester_Class_1.var_13 = ((new long[Tester_Class_1.var_21][Tester_Class_1.var_20][Tester_Class_1.var_21])[Tester_Class_1.var_21])[Tester_Class_1.var_21];
        }
        var_73 <<= (Tester_Class_1.var_18 = false) ? 't' : (false ? 'E' : 'u');
        var_73++;
        int var_82 = 0;
        Tester_Class_1.var_13 = func_1(Tester_Class_1.var_20, new Tester_Class_1(), (new Tester_Class_1[Tester_Class_1.var_21])[Tester_Class_1.var_21], 'M' & var_74);
        "gdrlrsubb".substring(12438522, var_82);
        Tester_Class_2.var_44 |= (((new Tester_Class_3[Tester_Class_1.var_21][Tester_Class_1.var_21])[Tester_Class_1.var_21 >>= 7993744087962264576L][Tester_Class_1.var_21]).var_51 = Tester_Class_3.var_53 ? 'B' : '[');
        final long var_83 = ~ (4544638910183665664L << (((Tester_Class_3)((new Tester_Class_0[Tester_Class_1.var_20][Tester_Class_1.var_21])[Tester_Class_1.var_21])[Tester_Class_1.var_21]).var_56 = (Tester_Class_3.var_53 &= Tester_Class_3.var_53) ? Tester_Class_1.var_21 : Tester_Class_1.var_20));
        Tester_Class_2.var_45 = Tester_Class_2.var_45;
        while (var_82 < 2 && Tester_Class_3.var_53 & (Tester_Class_3.var_53 ^= !false))
        {
            (Tester_Class_3.var_53 ? "xqeisnyf" : (Tester_Class_2.var_45 = (Tester_Class_2.var_45 = (Tester_Class_2.var_45 = Tester_Class_2.var_45)))).concat(Tester_Class_2.var_45 = "i");
            var_82++;
            boolean var_84 = false;
            Tester_Class_2.var_45 = Tester_Class_2.var_45;
        }
        var_71 = ~Tester_Class_2.var_44 != Tester_Class_2.var_44-- ? (var_73 = var_73) : (var_73 >>>= var_73);
        char var_85;
        Tester_Class_3.var_53 |= (Tester_Class_3.var_53 ^= true);
        int var_86 = 0;
        Tester_Class_1.var_21 %= (var_73 | (Tester_Class_1.var_21 *= 9.831691E37F)) * (Tester_Class_1.var_21 += 6784278051481715712L);
        while (Tester_Class_3.var_53 && (var_86 < 24 && ((((Tester_Class_3.var_53 ^= true) ? Tester_Class_3.var_53 : Tester_Class_1.var_14) ? !Tester_Class_3.var_53 : Tester_Class_3.var_53) ? (Tester_Class_1.var_18 = Tester_Class_3.var_53) : Tester_Class_1.var_14 || true)))
        {
            final byte var_87 = (byte)((false & true ? Tester_Class_1.var_20 : 257407175) & 4242055901066916864L * (var_73 *= 1621204618) / ((((Tester_Class_1)(new Object[(byte)4.925362697409246E307])[Tester_Class_1.var_21]).var_17 ^ (var_71 = var_86)) & 1859382584));
            var_86++;
            Tester_Class_2.var_45 = (Tester_Class_2.var_45 = (Tester_Class_2.var_45 = "arceo"));
            float var_88;
        }
        "a".lastIndexOf(var_71 = Tester_Class_3.var_53 ^ false ? (var_71 = 1058420888) : Tester_Class_1.var_20);
        int var_89 = 0;
        {
            var_71 = 661164411;
        }
        boolean var_90;
        --var_73;
        Tester_Class_2.var_45.concat(Tester_Class_2.var_45);
        {
            var_85 = (Tester_Class_3.var_53 ? Tester_Class_3.var_53 : Tester_Class_3.var_53) ? 'R' : '[';
        }
        ((new Tester_Class_2[Tester_Class_1.var_21][Tester_Class_1.var_21])[Tester_Class_1.var_20][Tester_Class_1.var_20]).var_46 = Tester_Class_1.var_20;
        final float var_91 = ((new Tester_Class_0[Tester_Class_1.var_21][Tester_Class_1.var_21])[Tester_Class_1.var_20][Tester_Class_1.var_21 -= Tester_Class_1.var_21]).equals(((new Tester_Class_1[Tester_Class_1.var_20])[Tester_Class_1.var_21]).var_15 = (Tester_Class_2.var_45 = Tester_Class_2.var_45)) ? (var_71 = Tester_Class_1.var_20) : 2.2259766E38F + Tester_Class_2.var_44;
        Tester_Class_2.var_47 *= ((Tester_Class_2)(Tester_Class_0)(Tester_Class_1.var_13 = Tester_Class_2.var_45)).var_43;
        Tester_Class_2.var_45 = Tester_Class_2.var_45;
        Tester_Class_3.var_53 &= Tester_Class_1.var_14;
        while (Tester_Class_1.var_20 >= ++Tester_Class_1.var_21 && var_89 < 2)
        {
            Tester_Class_1.var_13 = (Tester_Class_3)(new Tester_Class_0[Tester_Class_1.var_21])[Tester_Class_1.var_21];
            var_89++;
            if (true)
            {
                Tester_Class_3.var_53 |= true;
                break;
            }
            else
            {
                Tester_Class_2 var_92;
            }
            ((Tester_Class_3)((Tester_Class_3.var_53 |= Tester_Class_3.var_53) ? (new Tester_Class_1().var_15 = (Tester_Class_0)(Tester_Class_1.var_13 = new boolean[Tester_Class_1.var_20][Tester_Class_1.var_21])) : new Tester_Class_0[Tester_Class_1.var_21][Tester_Class_1.var_21])).var_54 = (Tester_Class_1.var_21 = (Tester_Class_1.var_21 /= (Tester_Class_2.var_44 |= (int)(Tester_Class_1.var_21 >>>= var_82))));
            ((Tester_Class_3)(Tester_Class_1.var_13 = (new Tester_Class_1().var_15 = new Tester_Class_1()))).var_51 = Tester_Class_1.var_20;
            final char var_93 = 'u';
            ((Tester_Class_2)(new Tester_Class_1().var_15 = (Tester_Class_2.var_45 = Tester_Class_2.var_45))).var_46 = var_93;
            Tester_Class_2.var_45.toUpperCase();
            Tester_Class_2.var_45 = "mhk";
            (true | false ? new Tester_Class_1() : (new Tester_Class_1[Tester_Class_1.var_20])[Tester_Class_1.var_20]).var_15 = (Tester_Class_1)(((new Tester_Class_1[Tester_Class_1.var_21 |= Tester_Class_1.var_20][Tester_Class_1.var_21])[Tester_Class_1.var_21][Tester_Class_1.var_21]).var_15 = (Tester_Class_1.var_13 = (Tester_Class_1)(Tester_Class_1.var_13 = (Tester_Class_2.var_45 = "ofkbg"))));
        }
        float var_94 = 0F;
        Tester_Class_2.var_44 |= (var_73 >>>= (var_85 = (var_85 = 'j')));
        Tester_Class_3.var_52 = 1835242863964218368L;
        do
        {
            int var_95 = 1361237611;
            var_94++;
            Tester_Class_3.var_53 ^= (Tester_Class_3.var_53 |= Tester_Class_1.var_14);
        } while (var_94 < 16);
        {
            var_73 = var_73--;
            Tester_Class_2.var_45 = (Tester_Class_1.var_14 ? Tester_Class_1.var_14 : !false) ? "oaxg" : "igdnja";
        }
        ((new Tester_Class_1[Tester_Class_1.var_21])[Tester_Class_1.var_21]).equals(new Tester_Class_1().var_15 = (Tester_Class_2.var_45 = "agdnue").charAt(1416972150) != Tester_Class_2.var_47 ? new Tester_Class_1() : new Tester_Class_1());
        byte var_96 = Tester_Class_1.var_21 >>>= (var_85 = (var_85 = '`'));
        Tester_Class_2.var_45 = "";
        Tester_Class_2.var_47 += Tester_Class_2.var_47;
        Tester_Class_2.var_45 = Tester_Class_2.var_45;
    }
    public String toString()
    {
        String result =  "[\n";
        result += "Tester.var_71 = "; result += Printer.print(var_71);
        result += "\n";
        result += "Tester.var_70 = "; result += Printer.print(var_70);
        result += "\n";
        result += "Tester.var_72 = "; result += Printer.print(var_72);
        result += "\n";
        result += "Tester.var_75 = "; result += Printer.print(var_75);
        result += "\n";
        result += "Tester.var_73 = "; result += Printer.print(var_73);
        result += "\n";
        result += "Tester.var_74 = "; result += Printer.print(var_74);
        result += "";
        result += "\n]";
        return result;
    }
    static class Printer
    {
        public static String print(boolean arg) { return String.valueOf(arg); }
        public static String print(byte arg)    { return String.valueOf(arg); }
        public static String print(short arg)   { return String.valueOf(arg); }
        public static String print(char arg)    { return String.valueOf((int)arg); }
        public static String print(int arg)     { return String.valueOf(arg); }
        public static String print(long arg)    { return String.valueOf(arg); }
        public static String print(float arg)   { return String.valueOf(arg); }
        public static String print(double arg)  { return String.valueOf(arg); }


        public static String print(Object arg)
        {
            return print_r(new java.util.Stack(), arg);
        }

        private static String print_r(java.util.Stack visitedObjects, Object arg)
        {
            String result = "";
            if (arg == null)
                result += "null";
            else
            if (arg.getClass().isArray())
            {
                for (int i = 0; i < visitedObjects.size(); i++)
                    if (visitedObjects.elementAt(i) == arg) return "<recursive>";

                visitedObjects.push(arg);

                final String delimiter = ", ";
                result += "[";

                if (arg instanceof Object[])
                {
                    Object[] array = (Object[]) arg;
                    for (int i = 0; i < array.length; i++)
                    {
                        result += print_r(visitedObjects, array[i]);
                        if (i < array.length - 1) result += delimiter;
                    }
                }
                else
                if (arg instanceof boolean[])
                {
                    boolean[] array = (boolean[]) arg;
                    for (int i = 0; i < array.length; i++)
                    {
                        result += print(array[i]);
                        if (i < array.length - 1) result += delimiter;
                    }
                }
                else
                if (arg instanceof byte[])
                {
                    byte[] array = (byte[]) arg;
                    for (int i = 0; i < array.length; i++)
                    {
                        result += print(array[i]);
                        if (i < array.length - 1) result += delimiter;
                    }
                }
                else
                if (arg instanceof short[])
                {
                    short[] array = (short[]) arg;
                    for (int i = 0; i < array.length; i++)
                    {
                        result += print(array[i]);
                        if (i < array.length - 1) result += delimiter;
                    }
                }
                else
                if (arg instanceof char[])
                {
                    char[] array = (char[]) arg;
                    for (int i = 0; i < array.length; i++)
                    {
                        result += print(array[i]);
                        if (i < array.length - 1) result += delimiter;
                    }
                }
                else
                if (arg instanceof int[])
                {
                     int[] array = (int[]) arg;
                     for (int i = 0; i < array.length; i++)
                     {
                        result += print(array[i]);
                        if (i < array.length - 1) result += delimiter;
                     }
                }
                else
                if (arg instanceof long[])
                {
                    long[] array = (long[]) arg;
                    for (int i = 0; i < array.length; i++)
                    {
                        result += print(array[i]);
                        if (i < array.length - 1) result += delimiter;
                    }
                }
                else
                if (arg instanceof float[])
                {
                    float[] array = (float[]) arg;
                    for (int i = 0; i < array.length; i++)
                    {
                        result += print(array[i]);
                        if (i < array.length - 1) result += delimiter;
                    }
                }
                else
                if (arg instanceof double[])
                {
                    double[] array = (double[]) arg;
                    for (int i = 0; i < array.length; i++)
                    {
                        result += print(array[i]);
                        if (i < array.length - 1) result += delimiter;
                    }
                }

                result += "]";
                visitedObjects.pop();

            } else
            {
                result += arg.toString();
            }

            return result;
        }
    }
}


Other Java examples (source code examples)

Here is a short list of links related to this Java Tester.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.