Package com._1c.g5.v8.dt.bsl.validation
Class BslJavaValidator
java.lang.Object
org.eclipse.xtext.validation.AbstractInjectableValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator
com._1c.g5.modeling.xtext.validation.AbstractModelDeclarativeValidator
com._1c.g5.v8.dt.validation.legacy.AbstractLegacyDeclarativeValidator
com._1c.g5.v8.dt.bsl.validation.BslJavaValidator
- All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator,org.eclipse.xtext.validation.ValidationMessageAcceptor
Deprecated.
Please use check infrastructure to implement new validation scenarios
Validate BSL
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Contains error contents from checking expressions typesNested classes/interfaces inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccessNested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator
org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate -
Field Summary
Fields inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator
CURRENT_LANGUAGE_NAME, ISSUE_SEVERITIESFields inherited from interface org.eclipse.emf.ecore.EValidator
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTEFields inherited from interface org.eclipse.xtext.validation.ValidationMessageAcceptor
INSIGNIFICANT_INDEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAsyncMethod(Method method) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidcheckDateLiteral(DateLiteral date) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidcheckExpressionType(Statement stat) Deprecated.voidDeprecated.voidcheckFormAttributeProperatyAssign(SimpleStatement statement) Deprecated.voidDeprecated.voidcheckIfPreprocessorPartEnvironments(IfPreprocessor preprocessor) Deprecated.voidcheckIndexesExpression(IndexAccess access) Deprecated.voidDeprecated.protected voidcheckIsFromCurrentlyCheckedResource(org.eclipse.emf.ecore.EObject object) Deprecated.voidcheckLabelNamesAreUnique(Block block) Deprecated.voidcheckLibraryModule(Module module) Deprecated.voidcheckLocalVariablesNotExported(Method method) Deprecated.voidcheckMethodAnnotations(Method method) Deprecated.voidcheckMethodEnvironmentsForEmty(Method method) Deprecated.voidDeprecated.voidcheckMethodNamesAreUnique(Module module) Deprecated.voidcheckMobileStandaloneServerAvailability(PreprocessorLiteralExpression literalExpression) Deprecated.voidcheckModuleExtension(Module module) Deprecated.voidDeprecated.voidcheckPragma(Pragma pragma) Deprecated.voidcheckPragmaForUnusedMethod(Pragma pragma) Deprecated.voidcheckPreprocessorsLines(Preprocessor preprocessor) Deprecated.voidDeprecated.voidcheckRegionPreprocessor(RegionPreprocessor preprocessor) Deprecated.voidcheckReturningTypeForEnvironment(SimpleStatement statement) Deprecated.voidDeprecated.voidcheckSimpleStatement(SimpleStatement statement) Deprecated.voidDeprecated.voidDeprecated.voidcheckStringLiteral(StringLiteral literal) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidcheckVariableNamesAreUnique(Method method) Deprecated.voidcheckVariableNamesAreUnique(Module module) Deprecated.protected voiderror(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) Deprecated.protected voiderror(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, String code, String... issueData) Deprecated.protected StringgetCurrentLanguage(Map<Object, Object> context, org.eclipse.emf.ecore.EObject eObject) Deprecated.protected List<org.eclipse.emf.ecore.EPackage>Deprecated.Returns list ofEPackages for wich this validotor will be registered.protected booleanisResponsible(Map<Object, Object> context, org.eclipse.emf.ecore.EObject eObject) Deprecated.voidvalidateOrderOfMethodPart(Method method) Deprecated.voidvalidateOrderOfModulePart(Module module) Deprecated.protected voidwarning(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) Deprecated.protected voidwarning(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, String code, String... issueData) Deprecated.Methods inherited from class com._1c.g5.v8.dt.validation.legacy.AbstractLegacyDeclarativeValidator
acceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssueToState, createDiagnostic, createDiagnostic, error, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getValidatorEPackages, internalValidate, toDiagnosticSeverityMethods inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
addIssue, addIssue, addIssue, addIssue, addIssue, checkDone, createMethodWrapper, error, error, error, error, error, getCancelIndicator, getChain, getIssueSeverities, getMessageAcceptor, guard, handleExceptionDuringValidation, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, warning, warning, warning, warning, warning, warningMethods inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator
isLanguageSpecific, register, validate, validate, validate
-
Constructor Details
-
BslJavaValidator
public BslJavaValidator()Deprecated.
-
-
Method Details
-
checkLibraryModule
Deprecated. -
checkVariableNamesAreUnique
Deprecated. -
checkVariableNamesAreUnique
Deprecated. -
checkLabelNamesAreUnique
Deprecated. -
checkMethodNamesAreUnique
Deprecated. -
checkLocalVariablesNotExported
Deprecated. -
checkStaticFeatureAccess
Deprecated. -
checkIsAppropriateCtor
Deprecated. -
checkTypeEnvironments
Deprecated. -
checkBreakStatement
Deprecated. -
checkContinueStatement
Deprecated. -
checkReturnStatement
Deprecated. -
checkRaiseStatement
Deprecated. -
checkGotoStatement
Deprecated. -
checkEventHandlerStatement
Deprecated. -
validateOrderOfModulePart
Deprecated. -
validateOrderOfMethodPart
Deprecated. -
checkDateLiteral
Deprecated. -
checkPragma
Deprecated. -
checkNumberLiteralExpression
Deprecated. -
checkModuleExtension
Deprecated. -
checkSimpleStatement
Deprecated. -
checkTheSameGlobalElementNameForModuleVariable
Deprecated. -
checkDynamicFeatureAccess
Deprecated. -
checkMethodForStatementsAfterReturn
Deprecated. -
checkExpressionType
Deprecated. -
checkMethodEnvironmentsForEmty
Deprecated. -
checkStaticFeatureAccessForUnknownLeftPart
Deprecated. -
checkDynamicFeatureAccessForUnknownLeftPart
Deprecated. -
checkPreprocessorsLines
Deprecated. -
checkIfPreprocessorPartEnvironments
Deprecated. -
checkStringLiteral
Deprecated. -
checkPragmaForUnusedMethod
Deprecated. -
checkForEachStatetementCollection
Deprecated. -
checkTypeInOperatorNew
Deprecated. -
checkIndexesExpression
Deprecated. -
checkFormAttributeProperatyAssign
Deprecated. -
checkReturningTypeForEnvironment
Deprecated. -
checkMethodAnnotations
Deprecated. -
checkValidAccessToSysEnumProperty
Deprecated. -
checkDeprecatedMethod
Deprecated. -
checkRegionPreprocessor
Deprecated. -
checkAsyncMethod
Deprecated. -
checkAwaitExpression
Deprecated. -
checkMobileStandaloneServerAvailability
public void checkMobileStandaloneServerAvailability(PreprocessorLiteralExpression literalExpression) Deprecated. -
checkExecuteStatement
Deprecated. -
getEPackages
Deprecated.Description copied from class:AbstractModelDeclarativeValidatorReturns list ofEPackages for wich this validotor will be registered.- Specified by:
getEPackagesin classAbstractModelDeclarativeValidator
-
getCurrentLanguage
protected String getCurrentLanguage(Map<Object, Object> context, org.eclipse.emf.ecore.EObject eObject) Deprecated.- Overrides:
getCurrentLanguagein classAbstractModelDeclarativeValidator
-
error
protected void error(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, String code, String... issueData) Deprecated.- Overrides:
errorin classorg.eclipse.xtext.validation.AbstractDeclarativeValidator
-
error
protected void error(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) Deprecated.- Overrides:
errorin classorg.eclipse.xtext.validation.AbstractDeclarativeValidator
-
warning
protected void warning(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) Deprecated.- Overrides:
warningin classorg.eclipse.xtext.validation.AbstractDeclarativeValidator
-
warning
protected void warning(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, String code, String... issueData) Deprecated.- Overrides:
warningin classorg.eclipse.xtext.validation.AbstractDeclarativeValidator
-
isResponsible
Deprecated.- Overrides:
isResponsiblein classorg.eclipse.xtext.validation.AbstractInjectableValidator
-
checkIsFromCurrentlyCheckedResource
protected void checkIsFromCurrentlyCheckedResource(org.eclipse.emf.ecore.EObject object) Deprecated.- Overrides:
checkIsFromCurrentlyCheckedResourcein classAbstractLegacyDeclarativeValidator
-