class Bar {

    public String conditionedBarMethod(boolean condition) {
        if (!condition) {
            return s;
        }
        else {
            int j = i + 1;
            return String.valueOf(j) + s;
        }
    }

}