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 lambdadesugaring.other; 5 6 public class OtherRefs { 7 public static class PublicInit { PublicInit()8 public PublicInit() { 9 } 10 11 @Override toString()12 public String toString() { 13 return "OtherRefs::PublicInit::init()"; 14 } 15 } 16 fooOtherProtected()17 protected String fooOtherProtected() { 18 return "OtherRefs::fooOtherProtected()"; 19 } 20 fooOtherPublic()21 public String fooOtherPublic() { 22 return "OtherRefs::fooOtherPublic()"; 23 } 24 staticOtherProtected()25 protected static String staticOtherProtected() { 26 return "OtherRefs::staticOtherProtected()"; 27 } 28 staticOtherPublic()29 public static String staticOtherPublic() { 30 return "OtherRefs::staticOtherPublic()"; 31 } 32 } 33