Debian Codegraph @

org.eclipse.jdt.debug.tests/testprograms/a/MoveeChildSource

raw
1 /*******************************************************************************
2 * Copyright (c) 2000, 2005 IBM Corporation and others.
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 package a.b.c;
15
16 /**
17 *
18 */
19 public class MoveeChild extends Movee{
20
21 int aChildInt;
22
23 public void childsMethod() {
24 System.out.println("Child's Method!");
25 Object anon = new Object(){
26 int anAnonInt;
27 String anonTypeMethod()
28 {
29 return "Child's Anonymous Type Method";
30 }
31 };
32 }
33
34 class InnerChildType{//all spiritual like!
35 int innerChildInt;
36
37 public void innerChildsMethod() {
38 System.out.println("InnerChild's Method!");
39 Object anon = new Object(){
40 int anAnonInt;
41 String anonTypeMethod()
42 {
43 return "InnerChild's Anonymous Type Method";
44 }
45 };
46 }
47 }
48 }
49
50 class NonPublicChildType{
51 int nonPublicChildInt;
52
53 public void nonPublicChildsMethod() {
54 System.out.println("NonPublicChild's Method!");
55 Object anon = new Object(){
56 int anAnonInt;
57 String anonTypeMethod()
58 {
59 return "NonPublicChild's Anonymous Type Method";
60 }
61 };
62 }
63
64 }