Mads Ager | 418d1ca | 2017-05-22 09:35:49 +0200 | [diff] [blame] | 1 | // 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. |
| 4 | package shaking6; |
| 5 | |
| 6 | public class Subclass extends Superclass { |
| 7 | |
| 8 | public void publicMethod() { |
| 9 | // Intentionally empty. |
| 10 | } |
| 11 | |
| 12 | private void privateMethod() { |
| 13 | // Intentionally empty. |
| 14 | } |
| 15 | |
| 16 | // Public method with same name as private method in superclass. |
| 17 | public void justAMethod() { |
| 18 | // Intentionally empty. |
| 19 | } |
| 20 | |
| 21 | public void justAMethod(int ignore) { |
| 22 | // Intentionally empty. |
| 23 | } |
| 24 | |
| 25 | public void justAMethod(boolean ignore) { |
| 26 | // Intentionally empty. |
| 27 | } |
| 28 | |
| 29 | public int justAMethod(double ignore) { |
| 30 | // Intentionally empty. |
| 31 | return 0; |
| 32 | } |
| 33 | |
| 34 | final void aFinalMethod() { |
| 35 | // Intentionally empty. |
| 36 | } |
| 37 | } |