void (MavenGeneralPanel configurable, Consumer<TextFieldWithHistory> checker) { MavenEnvironmentForm form = getValue(MavenEnvironmentForm.class, configurable, "mavenPathsForm"); TextFieldWithHistory mavenHomeField = getValue(TextFieldWithHistory.class, form, "mavenHomeField"); checker.consume(mavenHomeField); }