class JDBCSmellQueries extends JDBCQueriesHelper implements SmellQueries {

    @Override
    public String smellIdQuery(int projectId, Smell smell) {
        String parentQuery = null;
        if (smell.parent != null) {
            if (smell.parent.id > -1) {
                parentQuery = String.valueOf(smell.parent.id);
            } else {
                parentQuery = "(" + smellIdQuery(projectId, smell.parent) + ")";
            }
        }
        return smellIdQuery(projectId, smell.instance, smell.file, smell.type, parentQuery);
    }

    public  JDBCSmellQueries(CommitQueries commitQueries);

}