blob: 33b132fbbd91879177e7e48d2ec79b67a44fde02 [file] [log] [blame]
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.accessrelaxation.privatestatic;
import com.android.tools.r8.NeverInline;
import com.android.tools.r8.NeverPropagateValue;
public class B extends A implements I {
public String bar() {
try {
return "B::bar()" + bar(0);
} catch (Throwable e) {
return "B::bar() >> " + e.getClass().getName();
}
}
@NeverInline
@NeverPropagateValue
private static String blah(int i) {
return "B::blah(int)";
}
public static String pBlah1() {
return blah(1);
}
public void dump() {
System.out.println(this.bar());
try {
System.out.println(this.bar(0));
} catch (Throwable e) {
System.out.println(e.getClass().getName());
}
System.out.println(this.foo());
System.out.println(blah(0));
}
}