AttributedCharacterIterator (final int beginIndex, final int endIndex, final AttributedCharacterIterator.Attribute[] attributes) { return execute(new Computable<AttributedCharacterIterator>() { @Override public AttributedCharacterIterator compute() { return myDelegate.getCommittedText(beginIndex, endIndex, attributes); } }); }