public static void main(String[] args) { Class1 c1 = new Class3(); Class1 c2 = new Class2(); Class3 c3 = new Class3(); Class2 c23 = new Class3(); c1 = (Class1) c1; // Class2 c22; Interface2 i2 = new Class2(); // Interface1 i1 = new Class2(); System.out.println("Main - " + c1.c1name); System.out.println("Main - " + c2.c1name); System.out.println("Main - " + ((Class3) c3).c1name); c2.getName(); c3.getName(); System.out.print("Main - call c23.getName: "); c23.getName(); // c2.statMet(); c23.statMet(); ((Class2) c3).statMet(); System.out.println("Main - " + c3.c1name); System.out.println("Main - " + ((Class2) c3).c1name); // c1 = (Class2)(Class3)(Interface2)(Object)c3; // System.out.println("Main c11 - " + ((Class2)(Class3)(Interface2)(Object)c1).i2); }
@Bean public Class2 class2() { Class2 class2 = new Class2("Class 2"); class2.setClass3(class3()); Class1 class1 = appCtx.getBean("class1", Class1.class); class2.setClass1(class1); return class2; }
public static void method426(Class2 class2) { aClass50_Sub1_Sub2_767 = new Stream(true, class2.method154("loc.dat", null)); Stream class50_sub1_sub2 = new Stream(true, class2.method154("loc.idx", null)); anInt808 = class50_sub1_sub2.method523(); anIntArray758 = new int[anInt808]; int i = 2; for (int j = 0; j < anInt808; j++) { anIntArray758[j] = i; i += class50_sub1_sub2.method523(); } aClass47Array782 = new Class47[20]; for (int k = 0; k < 20; k++) aClass47Array782[k] = new Class47(); }
public void method1759(int i) throws IOException { method1758(-121); if (i == -9715) { anInt2157++; aClass2_2160.method175(i + 1572); } }
public Class124(Class2 class2, int i, int i_26_) throws IOException { aClass2_2160 = class2; aLong2140 = aLong2161 = class2.method172(-1); aByteArray2156 = new byte[i]; aByteArray2150 = new byte[i_26_]; aLong2145 = 0L; }
public void method1762(boolean bool) throws IOException { anInt2138++; if (bool == false) { anInt2162 = 0; if ((aLong2145 ^ 0xffffffffffffffffL) != (aLong2152 ^ 0xffffffffffffffffL)) { aClass2_2160.method174(false, aLong2145); aLong2152 = aLong2145; } aLong2147 = aLong2145; int i; for ( /**/ ; ((anInt2162 ^ 0xffffffff) > (aByteArray2156.length ^ 0xffffffff)); anInt2162 += i) { int i_25_ = -anInt2162 + aByteArray2156.length; if (i_25_ > 200000000) i_25_ = 200000000; i = aClass2_2160.method177(i_25_, 0, anInt2162, aByteArray2156); if ((i ^ 0xffffffff) == 0) break; aLong2152 += (long) i; } } }
public void method1758(int i) throws IOException { anInt2132++; int i_11_ = -72 % ((i - -42) / 59); if ((aLong2153 ^ 0xffffffffffffffffL) != 0L) { if ((aLong2153 ^ 0xffffffffffffffffL) != (aLong2152 ^ 0xffffffffffffffffL)) { aClass2_2160.method174(false, aLong2153); aLong2152 = aLong2153; } long l = -1L; aClass2_2160.method176(0, aByteArray2150, 18405, anInt2142); aLong2152 += (long) anInt2142; if ((aLong2147 ^ 0xffffffffffffffffL) >= (aLong2153 ^ 0xffffffffffffffffL) && aLong2153 < (long) anInt2162 + aLong2147) l = aLong2153; else if (aLong2153 <= aLong2147 && ((aLong2153 - -(long) anInt2142 ^ 0xffffffffffffffffL) < (aLong2147 ^ 0xffffffffffffffffL))) l = aLong2147; long l_12_ = -1L; if ((long) anInt2142 + aLong2153 > aLong2147 && (aLong2153 + (long) anInt2142 <= (long) anInt2162 + aLong2147)) l_12_ = aLong2153 + (long) anInt2142; else if ((((long) anInt2162 + aLong2147 ^ 0xffffffffffffffffL) < (aLong2153 ^ 0xffffffffffffffffL)) && ((aLong2147 - -(long) anInt2162 ^ 0xffffffffffffffffL) >= ((long) anInt2142 + aLong2153 ^ 0xffffffffffffffffL))) l_12_ = (long) anInt2162 + aLong2147; if ((aLong2152 ^ 0xffffffffffffffffL) < (aLong2161 ^ 0xffffffffffffffffL)) aLong2161 = aLong2152; if (l > -1L && (l ^ 0xffffffffffffffffL) > (l_12_ ^ 0xffffffffffffffffL)) { int i_13_ = (int) (-l + l_12_); Class39.method465( aByteArray2150, (int) (l + -aLong2153), aByteArray2156, (int) (l - aLong2147), i_13_); } aLong2153 = -1L; anInt2142 = 0; } }
/* * Verify that the assertions are activated or deactivated as specified * by the switches. */ private static void TestClassTree(int[] switches) { // Class1 and anonymous inner class boolean assertsOn = (switches[4] == 2) ? true : (switches[4] == 1) ? false : (switches[1] == 2) ? true : (switches[1] == 1) ? false : (switches[0] == 2) ? true : false; testClass1.testAssert(assertsOn); // Class1 inner class Class11 assertsOn = (switches[4] == 2) ? true : (switches[4] == 1) ? false : (switches[1] == 2) ? true : (switches[1] == 1) ? false : (switches[0] == 2) ? true : false; Class1.Class11.testAssert(assertsOn); // Class2 assertsOn = (switches[5] == 2) ? true : (switches[5] == 1) ? false : (switches[2] == 2) ? true : (switches[2] == 1) ? false : (switches[0] == 2) ? true : false; testClass2.testAssert(assertsOn); // Class3 and anonymous inner class assertsOn = (switches[6] == 2) ? true : (switches[6] == 1) ? false : (switches[3] == 2) ? true : (switches[3] == 1) ? false : (switches[1] == 2) ? true : (switches[1] == 1) ? false : (switches[0] == 2) ? true : false; testClass3.testAssert(assertsOn); // Class3 inner class Class31 assertsOn = (switches[6] == 2) ? true : (switches[6] == 1) ? false : (switches[3] == 2) ? true : (switches[3] == 1) ? false : (switches[1] == 2) ? true : (switches[1] == 1) ? false : (switches[0] == 2) ? true : false; Class3.Class31.testAssert(assertsOn); }
public static void main(String[] args) { Class2 Class2 = new Class2(); System.out.println(Class2.Class2(Class2)); }
public void method1761(int i, int i_14_, int i_15_, byte[] is) throws IOException { anInt2133++; try { if (i_14_ + i > is.length) throw new ArrayIndexOutOfBoundsException(i_14_ + i + -is.length); if ((aLong2153 ^ 0xffffffffffffffffL) != 0L && (aLong2145 ^ 0xffffffffffffffffL) <= (aLong2153 ^ 0xffffffffffffffffL) && ((aLong2145 + (long) i_14_ ^ 0xffffffffffffffffL) >= (aLong2153 - -(long) anInt2142 ^ 0xffffffffffffffffL))) { Class39.method465(aByteArray2150, (int) (-aLong2153 + aLong2145), is, i, i_14_); aLong2145 += (long) i_14_; return; } long l = aLong2145; int i_16_ = i_14_; int i_17_ = i; if ((aLong2145 ^ 0xffffffffffffffffL) <= (aLong2147 ^ 0xffffffffffffffffL) && aLong2145 < (long) anInt2162 + aLong2147) { int i_18_ = (int) ((long) anInt2162 - (aLong2145 + -aLong2147)); if (i_14_ < i_18_) i_18_ = i_14_; i_14_ -= i_18_; Class39.method465(aByteArray2156, (int) (-aLong2147 + aLong2145), is, i, i_18_); aLong2145 += (long) i_18_; i += i_18_; } if ((aByteArray2156.length ^ 0xffffffff) > (i_14_ ^ 0xffffffff)) { aClass2_2160.method174(false, aLong2145); aLong2152 = aLong2145; while ((i_14_ ^ 0xffffffff) < -1) { int i_19_ = aClass2_2160.method177(i_14_, 0, i, is); if ((i_19_ ^ 0xffffffff) == 0) break; i += i_19_; i_14_ -= i_19_; aLong2145 += (long) i_19_; aLong2152 += (long) i_19_; } } else if ((i_14_ ^ 0xffffffff) < -1) { method1762(false); int i_20_ = i_14_; if ((i_20_ ^ 0xffffffff) < (anInt2162 ^ 0xffffffff)) i_20_ = anInt2162; Class39.method465(aByteArray2156, 0, is, i, i_20_); aLong2145 += (long) i_20_; i_14_ -= i_20_; i += i_20_; } if ((aLong2153 ^ 0xffffffffffffffffL) != 0L) { if (aLong2153 > aLong2145 && (i_14_ ^ 0xffffffff) < -1) { int i_21_ = i + (int) (-aLong2145 + aLong2153); if ((i_21_ ^ 0xffffffff) < (i - -i_14_ ^ 0xffffffff)) i_21_ = i - -i_14_; while (i < i_21_) { is[i++] = (byte) 0; aLong2145++; i_14_--; } } long l_22_ = -1L; if (aLong2153 >= l && ((l - -(long) i_16_ ^ 0xffffffffffffffffL) < (aLong2153 ^ 0xffffffffffffffffL))) l_22_ = aLong2153; else if (((aLong2153 ^ 0xffffffffffffffffL) >= (l ^ 0xffffffffffffffffL)) && l < (long) anInt2142 + aLong2153) l_22_ = l; long l_23_ = -1L; if ((l ^ 0xffffffffffffffffL) > ((long) anInt2142 + aLong2153 ^ 0xffffffffffffffffL) && ((aLong2153 - -(long) anInt2142 ^ 0xffffffffffffffffL) >= ((long) i_16_ + l ^ 0xffffffffffffffffL))) l_23_ = (long) anInt2142 + aLong2153; else if ((((long) i_16_ + l ^ 0xffffffffffffffffL) < (aLong2153 ^ 0xffffffffffffffffL)) && aLong2153 - -(long) anInt2142 >= (long) i_16_ + l) l_23_ = (long) i_16_ + l; if ((l_22_ ^ 0xffffffffffffffffL) < 0L && ((l_22_ ^ 0xffffffffffffffffL) > (l_23_ ^ 0xffffffffffffffffL))) { int i_24_ = (int) (-l_22_ + l_23_); Class39.method465( aByteArray2150, (int) (l_22_ - aLong2153), is, i_17_ - -(int) (-l + l_22_), i_24_); if ((l_23_ ^ 0xffffffffffffffffL) < (aLong2145 ^ 0xffffffffffffffffL)) { i_14_ -= l_23_ + -aLong2145; aLong2145 = l_23_; } } } } catch (IOException ioexception) { aLong2152 = -1L; throw ioexception; } if (i_15_ < i_14_) throw new EOFException(); }
public File method1757(boolean bool) { anInt2135++; if (bool != true) aLong2153 = 14L; return aClass2_2160.method173(0); }
public void method1755(int i, int i_6_, int i_7_, byte[] is) throws IOException { anInt2151++; try { if (i_6_ == 0) { if (aLong2140 < aLong2145 - -(long) i) aLong2140 = aLong2145 - -(long) i; if ((aLong2153 ^ 0xffffffffffffffffL) != 0L && (((aLong2145 ^ 0xffffffffffffffffL) > (aLong2153 ^ 0xffffffffffffffffL)) || aLong2153 - -(long) anInt2142 < aLong2145)) method1758(i_6_ + 86); if (aLong2153 != -1L && (((long) aByteArray2150.length + aLong2153 ^ 0xffffffffffffffffL) > (aLong2145 + (long) i ^ 0xffffffffffffffffL))) { int i_8_ = (int) ((long) aByteArray2150.length - aLong2145 + aLong2153); i -= i_8_; Class39.method465(is, i_7_, aByteArray2150, (int) (aLong2145 - aLong2153), i_8_); aLong2145 += (long) i_8_; anInt2142 = aByteArray2150.length; method1758(40); i_7_ += i_8_; } if (i > aByteArray2150.length) { long l = -1L; long l_9_ = -1L; if ((aLong2145 ^ 0xffffffffffffffffL) != (aLong2152 ^ 0xffffffffffffffffL)) { aClass2_2160.method174(false, aLong2145); aLong2152 = aLong2145; } aClass2_2160.method176(i_7_, is, 18405, i); if (((aLong2145 - -(long) i ^ 0xffffffffffffffffL) < (aLong2147 ^ 0xffffffffffffffffL)) && (aLong2145 - -(long) i <= aLong2147 + (long) anInt2162)) l = (long) i + aLong2145; else if (((aLong2147 + (long) anInt2162 ^ 0xffffffffffffffffL) < (aLong2145 ^ 0xffffffffffffffffL)) && (((long) i + aLong2145 ^ 0xffffffffffffffffL) <= ((long) anInt2162 + aLong2147 ^ 0xffffffffffffffffL))) l = (long) anInt2162 + aLong2147; aLong2152 += (long) i; if (((aLong2145 ^ 0xffffffffffffffffL) > (aLong2147 ^ 0xffffffffffffffffL)) || ((aLong2145 ^ 0xffffffffffffffffL) <= (aLong2147 - -(long) anInt2162 ^ 0xffffffffffffffffL))) { if (((aLong2145 ^ 0xffffffffffffffffL) >= (aLong2147 ^ 0xffffffffffffffffL)) && aLong2147 < aLong2145 - -(long) i) l_9_ = aLong2147; } else l_9_ = aLong2145; if (aLong2152 > aLong2161) aLong2161 = aLong2152; if (l_9_ > -1L && ((l ^ 0xffffffffffffffffL) < (l_9_ ^ 0xffffffffffffffffL))) { int i_10_ = (int) (l - l_9_); Class39.method465( is, (int) (l_9_ + (long) i_7_ + -aLong2145), aByteArray2156, (int) (-aLong2147 + l_9_), i_10_); } aLong2145 += (long) i; } else if ((i ^ 0xffffffff) < -1) { if (aLong2153 == -1L) aLong2153 = aLong2145; Class39.method465(is, i_7_, aByteArray2150, (int) (aLong2145 - aLong2153), i); aLong2145 += (long) i; if ((-aLong2153 + aLong2145 ^ 0xffffffffffffffffL) < ((long) anInt2142 ^ 0xffffffffffffffffL)) anInt2142 = (int) (-aLong2153 + aLong2145); } } } catch (IOException ioexception) { aLong2152 = -1L; throw ioexception; } }