Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f8c54b43cbb79a5c09045d82a833fedb5a37a4c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
 * Copyright (c) 2007 BEA Systems, Inc.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *******************************************************************************/
package targets.model.pc;

@AnnoY("on H")
public class H extends G {
	int fieldInt; // hides definition in G
	
	public String methodIAString(int int1)
	{
		return null;
	}

	// hides G.staticMethod and F.staticMethod
	public static void staticMethod()
	{
	}
	
	// different signature; does not hide G.staticMethod
	public static void staticMethod(int int1)
	{
	}

	public class FChild {} // hides definition in F
	public class IFChild {} // hides definition in IF
}

Back to the top