use of com.intellij.codeInsight.generation.GenerateGetterAndSetterHandler in project intellij-community by JetBrains.
the class GenerateGetterSetterTest method doTest.
protected void doTest() throws Exception {
configureByFile("/generateGetterSetter/before" + getTestName(false) + ".java");
new GenerateGetterAndSetterHandler() {
@Nullable
@Override
protected ClassMember[] chooseMembers(ClassMember[] members, boolean allowEmptySelection, boolean copyJavadocCheckbox, Project project, @Nullable Editor editor) {
return members;
}
}.invoke(getProject(), getEditor(), getFile());
UIUtil.dispatchAllInvocationEvents();
checkResultByFile("/generateGetterSetter/after" + getTestName(false) + ".java");
}
Aggregations