Completing parser to parse generic/template return types; adding standard method...
[iot2.git] / iotjava / iotpolicy / tree / InterfaceDecl.java
index 2cd1d54347a498b9d5ade16d04615dd5e8fe2682..69ad7964ac18eb50132b0a6926dc566da7efd00c 100644 (file)
@@ -99,6 +99,15 @@ public class InterfaceDecl extends Declaration {
        }
 
 
+       /**
+        * getMethodNumId() gets Id number for a method
+        */
+       public int getMethodNumId(String method) {
+
+               return listMethods.indexOf(method);
+       }
+
+
        /**
         * getMethodIds() gets method identifiers
         */