void (T options) { if (options instanceof JavaMethodFindUsagesOptions) { ((JavaMethodFindUsagesOptions)options).isIncludeOverloadUsages = myIncludeOverloadedMethodsAvailable && isToChange(myCbIncludeOverloadedMethods) && myCbIncludeOverloadedMethods.isSelected(); } }