Skip to content

Типы форм конфигурации: реквизиты, элементы, параметры и обработчики событий - #4337

Merged
nixel2007 merged 23 commits into
feat/catalog-owner-typingfrom
feat/form-types-support
Aug 1, 2026
Merged

Типы форм конфигурации: реквизиты, элементы, параметры и обработчики событий#4337
nixel2007 merged 23 commits into
feat/catalog-owner-typingfrom
feat/form-types-support

fix(types): проверка на null у непустого по контракту имени вызова уб…

4f9957c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 1, 2026 in 1m 13s

Annotations

Check warning on line 335 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormTypesProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add parentheses to make the operator precedence explicit.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5eDy0K1yczg7yo2&open=AZ-3P5eDy0K1yczg7yo2&pullRequest=4337

Check warning on line 957 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/TypeRegistry.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this expression which always evaluates to "false"

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5cCy0K1yczg7yn3&open=AZ-3P5cCy0K1yczg7yn3&pullRequest=4337

Check warning on line 113 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormItemTypesRegistrar.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8LvBpkb2krUTI2Fuw&open=AZ-8LvBpkb2krUTI2Fuw&pullRequest=4337

Check warning on line 291 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/FormExpressionInference.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The key type should implement Comparable.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5gZy0K1yczg7ypR&open=AZ-3P5gZy0K1yczg7ypR&pullRequest=4337

Check warning on line 850 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/ExpressionTypeInferencer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The key type should implement Comparable.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5fey0K1yczg7ypB&open=AZ-3P5fey0K1yczg7ypB&pullRequest=4337

Check warning on line 418 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/ExpressionTypeInferencer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This method has 6 returns, which is more than the 5 allowed.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8ornMP1NBD9Gnznus&open=AZ-8ornMP1NBD9Gnznus&pullRequest=4337

Check warning on line 332 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormItemTypesRegistrar.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8LvBpkb2krUTI2Fux&open=AZ-8LvBpkb2krUTI2Fux&pullRequest=4337

Check warning on line 69 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormParametersRegistrar.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this class into smaller and more specialized ones to reduce its dependencies on other classes from 21 to the maximum authorized 20 or less.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8OrMYP1NBD9GnweJU&open=AZ-8OrMYP1NBD9GnweJU&pullRequest=4337

Check warning on line 851 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/ExpressionTypeInferencer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The key type should implement Comparable.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5fey0K1yczg7ypC&open=AZ-3P5fey0K1yczg7ypC&pullRequest=4337

Check warning on line 288 in src/main/java/com/github/_1c_syntax/bsl/languageserver/hover/PlatformMemberHoverBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add parentheses to make the operator precedence explicit.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5g5y0K1yczg7ypU&open=AZ-3P5g5y0K1yczg7ypU&pullRequest=4337

Check warning on line 134 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormTypesProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this class into smaller and more specialized ones to reduce its dependencies on other classes from 34 to the maximum authorized 20 or less.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5eDy0K1yczg7yox&open=AZ-3P5eDy0K1yczg7yox&pullRequest=4337

Check warning on line 291 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/FormExpressionInference.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'com.github._1c_syntax.bsl.languageserver.context.symbol.SourceDefinedSymbol' here; it is a more general type than 'VariableSymbol'.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5gZy0K1yczg7ypQ&open=AZ-3P5gZy0K1yczg7ypQ&pullRequest=4337

Check warning on line 868 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/ExpressionTypeInferencer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify a type for: 'target', 'position', 'incoming'

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5fey0K1yczg7ypD&open=AZ-3P5fey0K1yczg7ypD&pullRequest=4337

Check warning on line 351 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormTypesProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove or merge the dangling Javadoc comment(s).

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8OrMlP1NBD9GnweJc&open=AZ-8OrMlP1NBD9GnweJc&pullRequest=4337

Check warning on line 472 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormPlatformTypes.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this static variable to comply with Java Code Conventions.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8GnQd_sm3M2mraFJh&open=AZ-8GnQd_sm3M2mraFJh&pullRequest=4337

Check warning on line 174 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormByNameResolver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5dzy0K1yczg7yov&open=AZ-3P5dzy0K1yczg7yov&pullRequest=4337

Check warning on line 903 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/ExpressionTypeInferencer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The key type should implement Comparable.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5fey0K1yczg7ypH&open=AZ-3P5fey0K1yczg7ypH&pullRequest=4337

Check warning on line 297 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/FormExpressionInference.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The key type should implement Comparable.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5gZy0K1yczg7ypS&open=AZ-3P5gZy0K1yczg7ypS&pullRequest=4337

Check warning on line 881 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/ExpressionTypeInferencer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The key type should implement Comparable.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5fey0K1yczg7ypE&open=AZ-3P5fey0K1yczg7ypE&pullRequest=4337

Check warning on line 325 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/FormExpressionInference.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'com.github._1c_syntax.bsl.languageserver.context.symbol.SourceDefinedSymbol' here; it is a more general type than 'VariableSymbol'.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5gZy0K1yczg7ypT&open=AZ-3P5gZy0K1yczg7ypT&pullRequest=4337

Check warning on line 902 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/ExpressionTypeInferencer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The key type should implement Comparable.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5fey0K1yczg7ypG&open=AZ-3P5fey0K1yczg7ypG&pullRequest=4337

Check warning on line 881 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/inferencer/ExpressionTypeInferencer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The key type should implement Comparable.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-3P5fey0K1yczg7ypF&open=AZ-3P5fey0K1yczg7ypF&pullRequest=4337

Check warning on line 92 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormPlatformTypes.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this class into smaller and more specialized ones to reduce its dependencies on other classes from 21 to the maximum authorized 20 or less.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8OrIGP1NBD9GnweJS&open=AZ-8OrIGP1NBD9GnweJS&pullRequest=4337

Check warning on line 180 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormTypesProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove or merge the dangling Javadoc comment(s).

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8LvGkkb2krUTI2Fu0&open=AZ-8LvGkkb2krUTI2Fu0&pullRequest=4337

Check warning on line 221 in src/main/java/com/github/_1c_syntax/bsl/languageserver/types/registry/FormDataTypesRegistrar.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Annotate the parameter with @javax.annotation.Nullable in method 'registerFormDataMirror' declaration, or make sure that null can not be passed as argument.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AZ-8GnRy_sm3M2mraFJk&open=AZ-8GnRy_sm3M2mraFJk&pullRequest=4337