コード例 #1
0
  private Signature createSignature(ArrayList<ModuleEnvironment> parameterTypes) {
    Signature signature = new Signature();
    for (ModuleEnvironment parameter : parameterTypes)
      signature.addArgument("", parameter.getName());

    return signature;
  }
コード例 #2
0
  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;
  }