diff options
Diffstat (limited to 'test/cuchaz/enigma/inputs/translation/C_SubClass.java')
| -rw-r--r-- | test/cuchaz/enigma/inputs/translation/C_SubClass.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/cuchaz/enigma/inputs/translation/C_SubClass.java b/test/cuchaz/enigma/inputs/translation/C_SubClass.java new file mode 100644 index 0000000..6026a8d --- /dev/null +++ b/test/cuchaz/enigma/inputs/translation/C_SubClass.java | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /******************************************************************************* | ||
| 2 | * Copyright (c) 2015 Jeff Martin. | ||
| 3 | * All rights reserved. This program and the accompanying materials | ||
| 4 | * are made available under the terms of the GNU Lesser General Public | ||
| 5 | * License v3.0 which accompanies this distribution, and is available at | ||
| 6 | * http://www.gnu.org/licenses/lgpl.html | ||
| 7 | * | ||
| 8 | * Contributors: | ||
| 9 | * Jeff Martin - initial API and implementation | ||
| 10 | ******************************************************************************/ | ||
| 11 | package cuchaz.enigma.inputs.translation; | ||
| 12 | |||
| 13 | public class C_SubClass extends B_BaseClass { | ||
| 14 | |||
| 15 | public char f2; // shadows B_BaseClass.f2 | ||
| 16 | public int f3; | ||
| 17 | public int f4; | ||
| 18 | |||
| 19 | @Override | ||
| 20 | public int m1() { | ||
| 21 | return 32; | ||
| 22 | } | ||
| 23 | |||
| 24 | public int m3() { | ||
| 25 | return 7; | ||
| 26 | } | ||
| 27 | } | ||