summaryrefslogtreecommitdiff
path: root/test/cuchaz/enigma/inputs/constructors/SubClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/cuchaz/enigma/inputs/constructors/SubClass.java')
-rw-r--r--test/cuchaz/enigma/inputs/constructors/SubClass.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/cuchaz/enigma/inputs/constructors/SubClass.java b/test/cuchaz/enigma/inputs/constructors/SubClass.java
new file mode 100644
index 0000000..b0fb3e9
--- /dev/null
+++ b/test/cuchaz/enigma/inputs/constructors/SubClass.java
@@ -0,0 +1,38 @@
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 ******************************************************************************/
11package cuchaz.enigma.inputs.constructors;
12
13// none/d extends none/a
14public class SubClass extends BaseClass {
15
16 // <init>()V
17 public SubClass() {
18 // none/a.<init>()V
19 }
20
21 // <init>(I)V
22 public SubClass(int num) {
23 // <init>()V
24 this();
25 System.out.println("SubClass " + num);
26 }
27
28 // <init>(II)V
29 public SubClass(int a, int b) {
30 // <init>(I)V
31 this(a + b);
32 }
33
34 // <init>(III)V
35 public SubClass(int a, int b, int c) {
36 // none/a.<init>()V
37 }
38}