String (List<String> list) { final StringBuilder sb = new StringBuilder("ctor"); sb.append("first") for(String s : li<caret>st) { if(!s.isEmpty()) { sb.append(s.trim()); } } return sb.length() == 0 ? null : sb.toString(); }