https://jira.sonarsource.com/browse/SONARJAVA-2286
import java.util.Date;
public class TTT {
public static interface ValueGetter {
Date getValue();
}
Date date = new Date();
final ValueGetter getter = () -> TTT.this.date; // <-- S1170
}