FileMessageEventResult () { return new FileMessageEventResult() { @Override public FilePosition getFilePosition() { return myFilePosition; } @Override public Kind getKind() { return FileMessageEventImpl.this.getKind(); } @Override @Nullable public String getDetails() { return getDescription(); } }; }