Debian Codegraph @

org.eclipse.jdt.compiler.apt.tests/resources/targets/model8/LambdaTest.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2013 IBM Corporation.
3 *
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
8 *
9 * SPDX-License-Identifier: EPL-2.0
10 *
11 * Contributors:
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14
15 package targets.model8;
16
17 public class LambdaTest {
18 String foo() {
19 return null;
20 }
21 }
22
23 interface DefaultInterface {
24 public default String defaultMethod () {
25 return null;
26 }
27 default int anotherDefault() {
28 return 0;
29 }
30 public static String staticMethod () {
31 return null;
32 }
33 }
34
35 interface FunctionalInterface {
36 public abstract String abstractMethod ();
37 }