public String getJavaSignature() {
        String signature = "";
        if (returnType != null) {
            signature += returnType.getClassName() + " ";
        } else if (ctor == false) {
            signature += "void ";
        }
        signature += methodName + "(";
        Iterator it = parameterList.iterator();
        while (it.hasNext() == true) {
            signature += ((ClassNode) it.next()).getClassName() + (it.hasNext() == true ? ", " : "");
        }
        signature += ");";
        return signature;
    }