JComponent () { if (!myInputVariables.hasInstanceFields()) { return null; } JPanel optionsPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 0, 5)); createStaticOptions(optionsPanel, JavaRefactoringBundle.message("introduce.functional.variable.pass.fields.checkbox")); return optionsPanel; }