summaryrefslogtreecommitdiff
path: root/src/test/java/cuchaz/enigma/inputs/constructors/Caller.java
blob: 71439fd1b1d8ec205fb6a17dd057f3500b95fd9b (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*******************************************************************************
 * Copyright (c) 2015 Jeff Martin.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser General Public
 * License v3.0 which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/lgpl.html
 *
 * Contributors:
 *     Jeff Martin - initial API and implementation
 ******************************************************************************/

package cuchaz.enigma.inputs.constructors;

// b
public class Caller {

	// a()V
	public void callBaseDefault() {
		// a.<init>()V
		System.out.println(new BaseClass());
	}

	// b()V
	public void callBaseInt() {
		// a.<init>(I)V
		System.out.println(new BaseClass(5));
	}

	// c()V
	public void callSubDefault() {
		// d.<init>()V
		System.out.println(new SubClass());
	}

	// d()V
	public void callSubInt() {
		// d.<init>(I)V
		System.out.println(new SubClass(6));
	}

	// e()V
	public void callSubIntInt() {
		// d.<init>(II)V
		System.out.println(new SubClass(4, 2));
	}

	// f()V
	public void callSubSubInt() {
		// e.<init>(I)V
		System.out.println(new SubSubClass(3));
	}

	// g()V
	public void callDefaultConstructable() {
		// c.<init>()V
		System.out.println(new DefaultConstructable());
	}
}