void (JavaMethodFindUsagesOptions options) { super.calcFindUsagesOptions(options); options.isOverridingMethods = isSelected(overrideUsages); KotlinFunctionFindUsagesOptions kotlinOptions = (KotlinFunctionFindUsagesOptions) options; if (expectedUsages != null) { kotlinOptions.setSearchExpected(expectedUsages.isSelected()); } }