1 // Copyright (c) 2017, 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. 4 package memberrebinding3; 5 6 public class Memberrebinding extends ClassAtBottomOfChain { 7 8 @Override 9 void bottomMethod() { 10 11 } 12 13 @Override 14 void middleMethod() { 15 16 } 17 18 @Override 19 void topMethod() { 20 21 } 22 23 private void test() { 24 super.bottomMethod(); 25 super.middleMethod(); 26 super.topMethod(); 27 } 28 29 public static void main(String[] args) { 30 new Memberrebinding().test(); 31 } 32 } 33