ParameterTablePanel () { return new ParameterTablePanel(myProject, myInputVariables, myElementsToExtract) { @Override protected void updateSignature() { updateVarargsEnabled(); ExtractMethodDialog.this.updateSignature(); } @Override protected void doEnterAction() { clickDefaultButton(); } @Override protected void doCancelAction() { ExtractMethodDialog.this.doCancelAction(); } @Override protected boolean areTypesDirected() { return ExtractMethodDialog.this.areTypesDirected(); } @Override protected boolean isUsedAfter(PsiVariable variable) { return isOutputVariable(variable); } }; }