methods[cls] = {}
implementations[odata.alias] = odata.titleType == 'Class' ? odata.childClasses : odata.implementedBy;
- print(JSON.stringify(odata.methods,null,4));
+ //print(JSON.stringify(odata.methods,null,4));
odata.methods.forEach(function(m) {
m.params.forEach(function(p) {
if (typeof(methods[cls][p.type]) == 'undefined') {
methods[cls][p.type] = [];
}
+ if (methods[cls][p.type].indexOf(m.name) > -1) {
+ return;
+ }
methods[cls][p.type].push(m.name);
- }
+ });
- }
+ });
//for(method in odata.methods) {
// print(method.name);
//}
}
- print(JSON.stringify(methods,null,4));
-print(JSON.stringify(implementations,null,4));
\ No newline at end of file
+print(JSON.stringify(methods,null,4));
+print(JSON.stringify(implementations,null,4));
+
+// we now have a list of classes / methods that can be used..
+// we now need a ui to flag stuff as "don't bother with"
+
+