private Signature createSignature(ArrayList<ModuleEnvironment> parameterTypes) { Signature signature = new Signature(); for (ModuleEnvironment parameter : parameterTypes) signature.addArgument("", parameter.getName()); return signature; }
private String fetchParameteresAndMethodName(ArrayList<ModuleEnvironment> parameterTypes) { ModuleEnvironment parameterType = _typeCheckingStack.pop(); while ((parameterType instanceof FrameModuleEnvironment) == false) { parameterTypes.add(0, parameterType); parameterType = _typeCheckingStack.pop(); } String calledMethodName = parameterType.getName(); return calledMethodName; }