Debian Codegraph @

org.eclipse.jdt.compiler.apt.tests/resources/targets/model/pc/J.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2007 BEA Systems, Inc.
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 package targets.model.pc;
12
13 public class J {
14 int fieldInt; // same-named fields in F, G, and H do NOT hide this; unrelated enclosing classes
15
16 int fieldInt() { return 0; } // does not hide, and is not hidden by, any of the fields named fieldInt in F, G, H, or this.
17
18 public class FChild {} // does not hide, and is not hidden by, same class in F or H
19
20 public class F {} // does not hide, and is not hidden by, outer class F
21
22 public static void staticMethod() {} // does not hide, and is not hidden by, F.staticMethod()
23 }