Debian Codegraph @

org.eclipse.jdt.compiler.apt.tests/resources/targets/model/pc/H.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 @AnnoY("on H")
14 public class H extends G {
15 int fieldInt; // hides definition in G
16
17 public String methodIAString(int int1)
18 {
19 return null;
20 }
21
22 // hides G.staticMethod and F.staticMethod
23 public static void staticMethod()
24 {
25 }
26
27 // different signature; does not hide G.staticMethod
28 public static void staticMethod(int int1)
29 {
30 }
31
32 public class FChild {} // hides definition in F
33 public class IFChild {} // hides definition in IF
34 }