private final String inlineCommentFilter( String line )
    {
        //assert !inJavadocComment;
        //assert !inMultiLineComment;

        if ( line == null || line.equals( "" ) )
        {
            return "";
        }
        int index;
        if ( ( index = line.indexOf( "//" ) ) >= 0 && !isInsideString( line, index ) )
        {
            return new StringBuffer(
                beginMultiLineCommentFilter( line.substring( 0, index ) ) )
                .append( COMMENT_START )
                .append( line.substring( index ) )
                .append( COMMENT_END )
                .toString();
        }

        return beginMultiLineCommentFilter( line );
    }