blob: 38e5d50b17c10b15dfb3d1b50c877c0d16721e7e [file] [log] [blame]
Mads Ager418d1ca2017-05-22 09:35:49 +02001// Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4package memberrebinding;
5
6public class ClassAtBottomOfChain extends EssentiallyEmptyClass {
7
8 @Override
9 public void superCallsProperlyPropagate() {
10 System.out.println("Try invoke on super, aka ClassInMiddleOfChain");
11 super.superCallsProperlyPropagate();
12 }
13
14 public void methodThatCallsSuperCallsProperlyPropagateTwo() {
15 // Invoke the method on the superclass even though this class does not override it.
16 super.superCallsProperlyPropagateTwo();
17 }
18
19 // Method with same name but different signature to test lookup.
20 public void methodThatShadowsPrivate(int ignore) {
21
22 }
23}