public String getUniqueCPPName() {
        if (uniqueCppName == null) {
            String baseName = Util.getCPPIdentifier(methodName);
            String cppName = baseName;
            int methodCounter = 1;
            while (parent.getCPPMethodNames().contains(cppName)) {
                cppName = baseName + Integer.toString(methodCounter);
                ++methodCounter;
            }
            parent.getCPPMethodNames().add(cppName);
            uniqueCppName = cppName;
        }
        return uniqueCppName;
    }