Stephan Herhut | 7fa3d1b | 2017-08-04 13:30:15 +0200 | [diff] [blame] | 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 inlining.pkg; |
| 5 | |
| 6 | public class OtherPublicClass { |
| 7 | |
| 8 | public static String callsMethodThatCallsPackagePrivateMethod() { |
| 9 | return PublicClass.callsPackagePrivateMethod(); |
| 10 | } |
| 11 | |
| 12 | public static String callsMethodThatCallsProtectedMethod() { |
| 13 | return PublicClass.callsProtectedMethod(); |
| 14 | } |
| 15 | |
| 16 | public static int callsMethodThatReadsFieldInPackagePrivateClass() { |
| 17 | return PublicClass.readsPackagePrivateField(); |
| 18 | } |
| 19 | |
| 20 | } |