Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8dc4461521f8d98e84068960415f7a87aecdd738 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*******************************************************************************
 * Copyright (c) 2007 BEA Systems, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/
package targets.model.pc;

public class J {
	int fieldInt; // same-named fields in F, G, and H do NOT hide this; unrelated enclosing classes
	
	int fieldInt() { return 0; } // does not hide, and is not hidden by, any of the fields named fieldInt in F, G, H, or this.
	
	public class FChild {} // does not hide, and is not hidden by, same class in F or H
	
	public class F {} // does not hide, and is not hidden by, outer class F
	
	public static void staticMethod() {} // does not hide, and is not hidden by, F.staticMethod()
}

Back to the top