public MethodPermission getMethod(String methodName) { return (MethodPermission) allowedMethods.get(methodName);
public MethodPermission getMethod(String methodName, String[] params) {  MethodPermissionFinder finder = new MethodPermissionFinder(methodName, params); int index = allowedMethods.indexOf(finder); if (index == -1) return null; else return (MethodPermission) allowedMethods.elementAt(index);
        public MethodPermission getMethod(String methodName) {            return (MethodPermission) allowedMethods.get(methodName);        }