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 class
Deprecated.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.StateAccess
Nested 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_SEVERITIES
Fields inherited from interface org.eclipse.emf.ecore.EValidator
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE
Fields inherited from interface org.eclipse.xtext.validation.ValidationMessageAcceptor
INSIGNIFICANT_INDEX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAsyncMethod
(Method method) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
checkDateLiteral
(DateLiteral date) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
checkExpressionType
(Statement stat) Deprecated.void
Deprecated.void
checkFormAttributeProperatyAssign
(SimpleStatement statement) Deprecated.void
Deprecated.void
checkIfPreprocessorPartEnvironments
(IfPreprocessor preprocessor) Deprecated.void
checkIndexesExpression
(IndexAccess access) Deprecated.void
Deprecated.protected void
checkIsFromCurrentlyCheckedResource
(org.eclipse.emf.ecore.EObject object) Deprecated.void
checkLabelNamesAreUnique
(Block block) Deprecated.void
checkLibraryModule
(Module module) Deprecated.void
checkLocalVariablesNotExported
(Method method) Deprecated.void
checkMethodAnnotations
(Method method) Deprecated.void
checkMethodEnvironmentsForEmty
(Method method) Deprecated.void
Deprecated.void
checkMethodNamesAreUnique
(Module module) Deprecated.void
checkMobileStandaloneServerAvailability
(PreprocessorLiteralExpression literalExpression) Deprecated.void
checkModuleExtension
(Module module) Deprecated.void
Deprecated.void
checkPragma
(Pragma pragma) Deprecated.void
checkPragmaForUnusedMethod
(Pragma pragma) Deprecated.void
checkPreprocessorsLines
(Preprocessor preprocessor) Deprecated.void
Deprecated.void
checkRegionPreprocessor
(RegionPreprocessor preprocessor) Deprecated.void
checkReturningTypeForEnvironment
(SimpleStatement statement) Deprecated.void
Deprecated.void
checkSimpleStatement
(SimpleStatement statement) Deprecated.void
Deprecated.void
Deprecated.void
checkStringLiteral
(StringLiteral literal) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
checkVariableNamesAreUnique
(Method method) Deprecated.void
checkVariableNamesAreUnique
(Module module) Deprecated.protected void
error
(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) Deprecated.protected void
error
(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, String code, String... issueData) Deprecated.protected String
getCurrentLanguage
(Map<Object, Object> context, org.eclipse.emf.ecore.EObject eObject) Deprecated.protected List<org.eclipse.emf.ecore.EPackage>
Deprecated.Returns list ofEPackage
s for wich this validotor will be registered.protected boolean
isResponsible
(Map<Object, Object> context, org.eclipse.emf.ecore.EObject eObject) Deprecated.void
validateOrderOfMethodPart
(Method method) Deprecated.void
validateOrderOfModulePart
(Module module) Deprecated.protected void
warning
(String message, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) Deprecated.protected void
warning
(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, toDiagnosticSeverity
Methods 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, warning
Methods 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:AbstractModelDeclarativeValidator
Returns list ofEPackage
s for wich this validotor will be registered.- Specified by:
getEPackages
in classAbstractModelDeclarativeValidator
-
getCurrentLanguage
protected String getCurrentLanguage(Map<Object, Object> context, org.eclipse.emf.ecore.EObject eObject) Deprecated.- Overrides:
getCurrentLanguage
in 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:
error
in 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:
error
in 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:
warning
in 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:
warning
in classorg.eclipse.xtext.validation.AbstractDeclarativeValidator
-
isResponsible
Deprecated.- Overrides:
isResponsible
in classorg.eclipse.xtext.validation.AbstractInjectableValidator
-
checkIsFromCurrentlyCheckedResource
protected void checkIsFromCurrentlyCheckedResource(org.eclipse.emf.ecore.EObject object) Deprecated.- Overrides:
checkIsFromCurrentlyCheckedResource
in classAbstractLegacyDeclarativeValidator
-