mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2024-11-28 17:41:06 +02:00
G5V8DT-23514 Ошибка при попытке вызвать контекстную подсказку в bsl
редакторе
This commit is contained in:
parent
4bfcb07ecb
commit
013ad0d6b5
@ -102,7 +102,8 @@ public final class ModuleUnusedMethodCheck
|
||||
IModuleExtensionService service = IModuleExtensionServiceProvider.INSTANCE.getModuleExtensionService();
|
||||
String excludeNamePattern = parameters.getString(EXCLUDE_METHOD_NAME_PATTERN_PARAMETER_NAME);
|
||||
|
||||
Predicate<? super Method> predicate = method -> !method.isUsed() && !method.isExport() && !method.isEvent()
|
||||
Predicate<? super Method> predicate = method -> method.getName() != null && !method.isUsed()
|
||||
&& !method.isExport() && !method.isEvent()
|
||||
&& service.getSourceMethodNames(method).isEmpty() && !isExcludeName(method.getName(), excludeNamePattern);
|
||||
|
||||
// TODO - only full validation first, optimization later
|
||||
|
Loading…
Reference in New Issue
Block a user