You've already forked v8-code-style
							
							
				mirror of
				https://github.com/1C-Company/v8-code-style.git
				synced 2025-10-31 08:27:42 +02:00 
			
		
		
		
	Merge pull request #1320 from 1C-Company/G5V8DT-23514
G5V8DT-23514 Ошибка при попытке вызвать контекстную подсказку в bsl редакторе
This commit is contained in:
		| @@ -102,7 +102,8 @@ public final class ModuleUnusedMethodCheck | |||||||
|         IModuleExtensionService service = IModuleExtensionServiceProvider.INSTANCE.getModuleExtensionService(); |         IModuleExtensionService service = IModuleExtensionServiceProvider.INSTANCE.getModuleExtensionService(); | ||||||
|         String excludeNamePattern = parameters.getString(EXCLUDE_METHOD_NAME_PATTERN_PARAMETER_NAME); |         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); |             && service.getSourceMethodNames(method).isEmpty() && !isExcludeName(method.getName(), excludeNamePattern); | ||||||
|  |  | ||||||
|         // TODO - only full validation first, optimization later |         // TODO - only full validation first, optimization later | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user