diff options
Diffstat (limited to 'test/cuchaz/enigma/inputs/inheritanceTree/BaseClass.java')
| -rw-r--r-- | test/cuchaz/enigma/inputs/inheritanceTree/BaseClass.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/cuchaz/enigma/inputs/inheritanceTree/BaseClass.java b/test/cuchaz/enigma/inputs/inheritanceTree/BaseClass.java new file mode 100644 index 0000000..4f9c5b0 --- /dev/null +++ b/test/cuchaz/enigma/inputs/inheritanceTree/BaseClass.java | |||
| @@ -0,0 +1,31 @@ | |||
| 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.inheritanceTree; | ||
| 12 | |||
| 13 | // none/a | ||
| 14 | public abstract class BaseClass { | ||
| 15 | |||
| 16 | // a | ||
| 17 | private String m_name; | ||
| 18 | |||
| 19 | // <init>(Ljava/lang/String;)V | ||
| 20 | protected BaseClass(String name) { | ||
| 21 | m_name = name; | ||
| 22 | } | ||
| 23 | |||
| 24 | // a()Ljava/lang/String; | ||
| 25 | public String getName() { | ||
| 26 | return m_name; | ||
| 27 | } | ||
| 28 | |||
| 29 | // a()V | ||
| 30 | public abstract void doBaseThings(); | ||
| 31 | } | ||