• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 lambdadesugaringnplus.other;
5 
6 public class ClassWithDefaultPackagePrivate implements InterfaceWithDefaultPackagePrivate {
lambda()7   public InterfaceWithDefaultPackagePrivate lambda() {
8     return () -> ("lambda(" + InterfaceWithDefaultPackagePrivate.super.defaultFoo() + ")");
9   }
10 
11   @Override
foo()12   public String foo() {
13     throw new RuntimeException("Don't call me!");
14   }
15 }
16