static boolean isFollowedOrPrefixedByColon(String sql, int i) {
        return ':' == sql.charAt(i + 1) || (i > 0 && ':' == sql.charAt(i - 1));
    }
static boolean isFollowedOrPrefixedByColon ( String sql , int i ) { return ':' == sql . charAt ( i + 1 ) || ( i > 0 && ':' == sql . charAt ( i - 1 ) ) ; }
Visible for testing