JButton (Project project, boolean implicitWritesOnly) { JButton configureAnnotations = new JButton(JavaBundle.message("button.annotations")); configureAnnotations.addActionListener(__ -> getInstance(project).configureAnnotations(implicitWritesOnly)); return configureAnnotations; }