// "Move initializer to constructor" "true-preview"
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class XXX {
    public final ActionListener listener <caret>= new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                XXX.doit(e);
            }
        };

    public XXX() {
    }

    private static void doit(ActionEvent e) {
    }
}
