void (JavaClassFindUsagesOptions options) { super.calcFindUsagesOptions(options); KotlinClassFindUsagesOptions kotlinOptions = (KotlinClassFindUsagesOptions) options; kotlinOptions.setSearchConstructorUsages(constructorUsages.isSelected()); kotlinOptions.isDerivedClasses = derivedClasses.isSelected(); kotlinOptions.isDerivedInterfaces = derivedTraits.isSelected(); if (expectedUsages != null) { kotlinOptions.setSearchExpected(expectedUsages.isSelected()); } }