void ( @NotNull SdkType type, @NotNull ProgressIndicator indicator, @NotNull DetectedSdkListener callback ) { try { callback.onSearchStarted(); if (isDetectorEnabled()) { detect(type, indicator, callback); } } finally { callback.onSearchCompleted(); } }