projects
/
iot2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Completing parser to parse generic/template return types; adding standard method...
[iot2.git]
/
iotjava
/
iotpolicy
/
tree
/
InterfaceDecl.java
diff --git
a/iotjava/iotpolicy/tree/InterfaceDecl.java
b/iotjava/iotpolicy/tree/InterfaceDecl.java
index 2cd1d54347a498b9d5ade16d04615dd5e8fe2682..69ad7964ac18eb50132b0a6926dc566da7efd00c 100644
(file)
--- a/
iotjava/iotpolicy/tree/InterfaceDecl.java
+++ b/
iotjava/iotpolicy/tree/InterfaceDecl.java
@@
-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
*/