Class ScopedVariableTranslationModuleStorage
java.lang.Object
com.e1c.langtool.v8.dt.internal.translator.ScopedVariableTranslationModuleStorage
The Class for storing variable translations into method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasMultipleTranslation(String methodName, String translation, String excluded) Checks for multiple translation.voidputTranslation(String methodName, String translation, String variableName) Puts translation.
-
Constructor Details
-
ScopedVariableTranslationModuleStorage
public ScopedVariableTranslationModuleStorage()
-
-
Method Details
-
putTranslation
Puts translation.- Parameters:
methodName- the method name, cannot benulltranslation- the translation, cannot benullvariableName- the variable name, cannot benull
-
hasMultipleTranslation
Checks for multiple translation.- Parameters:
methodName- the method name, cannot benulltranslation- the translation, cannot benullexcluded- excluding this name from the check, as it may appear multiple times, cannot benull- Returns:
true, if storage has multiple variable names for translation
-