* @version 1.0
* @since 2016-09-20
*/
-public class InterfaceDecl {
-
- /**
- * Class properties
- */
- private String origInt;
+public class InterfaceDecl extends Declaration {
/**
* A "interface" statement:
* In this data structure we will record its interface name, i.e. Camera
* its method names and the parameters for each method.
*/
+
+ /**
+ * Class properties
+ */
private List<String> listMethods; // Method signature (no spaces), e.g. MethodA(intA,SpeakerB)
private List<String> listMethodIds; // Method identifiers, e.g. MethodA
private List<String> listMethodTypes; // Method types, e.g. void
*/
public InterfaceDecl() {
- origInt = null;
+ super();
listMethods = new ArrayList<String>();
listMethodIds = new ArrayList<String>();
listMethodTypes = new ArrayList<String>();
public InterfaceDecl(String _origInt) {
- origInt = _origInt;
+ super(_origInt);
listMethods = new ArrayList<String>();
listMethodIds = new ArrayList<String>();
listMethodTypes = new ArrayList<String>();