1 | package org.etsi.t3q.config; |
---|
2 | |
---|
3 | |
---|
4 | import org.etsi.common.configuration.ConfigurationProfile; |
---|
5 | |
---|
6 | import de.ugoe.cs.swe.trex.core.formatter.TTCN3FormatterParameters; |
---|
7 | |
---|
8 | public class QualityCheckProfile extends ConfigurationProfile { |
---|
9 | private boolean featureListImportedModuleNames = false; |
---|
10 | private boolean featureListImportedModuleFileNames = false; |
---|
11 | private boolean featureListImportingModuleNames = false; |
---|
12 | private boolean featureListImportingModuleFileNames = false; |
---|
13 | |
---|
14 | private boolean checkLogItemFormat = false; |
---|
15 | private boolean checkLogStatementFormat = true; |
---|
16 | private boolean processSubsequentLogStatementsAsOne = true; |
---|
17 | private String logFormatRegExp = "[\\*]{3}\\s([fta]_[a-zA-Z0-9]+?):\\s(INFO|WARNING|ERROR|PASS|FAIL|INCONC|TIMEOUT):\\s.*?[\\*]{3}"; |
---|
18 | |
---|
19 | private boolean checkExternalFunctionInvocationPrecededByLogStatement = true; |
---|
20 | private boolean checkInconcOrFailSetVerdictPrecededByLog = true; |
---|
21 | private boolean checkNoLabelsOrGotoStatements = true; |
---|
22 | private boolean checkNoNestedAltStatements = true; |
---|
23 | private int maximumAllowedNestingDepth = 0; |
---|
24 | private boolean checkNoPermutationKeyword = true; |
---|
25 | private boolean checkNoAnyTypeKeyword = true; |
---|
26 | private boolean checkNoModifiedTemplateOfModifiedTemplate = true; |
---|
27 | |
---|
28 | private boolean checkNoAllKeywordInPortDefinitions = true; |
---|
29 | private boolean checkImportsComeFirst = true; |
---|
30 | private boolean checkLocalDefinitionsComeFirst = true; |
---|
31 | private String[] localDefinitionTypes = {"VarInstance", "ConstDef", "TimerInstance", "PortInstance"}; |
---|
32 | private boolean checkTypeDefOrderInGroup = true; |
---|
33 | private boolean checkPortMessageGrouping = true; |
---|
34 | |
---|
35 | private boolean checkNoDuplicatedModuleDefinitionIdentifiers = true; |
---|
36 | private boolean checkZeroReferencedModuleDefinitions = true; |
---|
37 | private String zeroReferencedModuleDefinitionsExcludedRegExp = ""; |
---|
38 | private boolean checkNoInlineTemplates = true; |
---|
39 | private boolean checkNoOverSpecificRunsOnClauses = true; |
---|
40 | boolean recursionInCheckNoOverSpecificRunsOnClauses = true; |
---|
41 | private boolean checkNoUnusedImports = true; |
---|
42 | private boolean checkNoUnusedFormalParameters = true; |
---|
43 | private boolean checkNoUnusedLocalDefinitions = true; |
---|
44 | private boolean checkNoLiterals = true; |
---|
45 | |
---|
46 | |
---|
47 | private boolean checkTypesAndValuesModuleContainmentCheck = true; |
---|
48 | private boolean checkTemplatesModuleContainmentCheck = true; |
---|
49 | private boolean checkFunctionsModuleContainmentCheck = true; |
---|
50 | private boolean checkFunctionsModuleContainmentCheckAllowExtFunction = true; |
---|
51 | private boolean checkTestcasesModuleContainmentCheck = true; |
---|
52 | private boolean checkModuleParamsModuleContainmentCheck = true; |
---|
53 | private boolean checkInterfaceModuleContainmentCheck = true; |
---|
54 | private boolean checkTestSystemModuleContainmentCheck = true; |
---|
55 | private boolean checkTestControlModuleContainmentCheck = true; |
---|
56 | |
---|
57 | private boolean checkTypesAndValuesModuleImportsLibNames = true; |
---|
58 | private String typesAndValuesImportsLibNamesRegExp = ".*?LibCommon.*"; |
---|
59 | private String typesAndValuesImportsLibNamesExcludedRegExp = "(.*?LibCommon.*)"; |
---|
60 | private boolean checkTestcasesModuleImportsLibCommon_Sync = true; |
---|
61 | |
---|
62 | private boolean checkModuleSize = true; |
---|
63 | private int maximumAllowedModuleSizeInBytes = 10000; |
---|
64 | |
---|
65 | private boolean checkNoTabs = true; |
---|
66 | |
---|
67 | private boolean checkNamingConventions = true; |
---|
68 | private NamingConventionsConfig namingConventionsConfig = new NamingConventionsConfig(); |
---|
69 | |
---|
70 | // private boolean featureCodeFormatting = false; |
---|
71 | private String pathFormattedOutputPath = "FORMATTED"; |
---|
72 | private TTCN3FormatterParameters formattingParameters = new TTCN3FormatterParameters(); |
---|
73 | |
---|
74 | public String getLogFormatRegExp() { |
---|
75 | return logFormatRegExp; |
---|
76 | } |
---|
77 | |
---|
78 | public void setLogFormatRegExp(String logFormatRegExp) { |
---|
79 | this.logFormatRegExp = logFormatRegExp; |
---|
80 | } |
---|
81 | |
---|
82 | public boolean isCheckExternalFunctionInvocationPrecededByLogStatement() { |
---|
83 | return checkExternalFunctionInvocationPrecededByLogStatement; |
---|
84 | } |
---|
85 | |
---|
86 | public void setCheckExternalFunctionInvocationPrecededByLogStatement( |
---|
87 | boolean checkExternalFunctionInvocationPrecededByLogStatement) { |
---|
88 | this.checkExternalFunctionInvocationPrecededByLogStatement = checkExternalFunctionInvocationPrecededByLogStatement; |
---|
89 | } |
---|
90 | |
---|
91 | public boolean isCheckInconcOrFailSetVerdictPrecededByLog() { |
---|
92 | return checkInconcOrFailSetVerdictPrecededByLog; |
---|
93 | } |
---|
94 | |
---|
95 | public void setCheckInconcOrFailSetVerdictPrecededByLog( |
---|
96 | boolean checkInconcOrFailSetVerdictPrecededByLog) { |
---|
97 | this.checkInconcOrFailSetVerdictPrecededByLog = checkInconcOrFailSetVerdictPrecededByLog; |
---|
98 | } |
---|
99 | |
---|
100 | public boolean isCheckNoLabelsOrGotoStatements() { |
---|
101 | return checkNoLabelsOrGotoStatements; |
---|
102 | } |
---|
103 | |
---|
104 | public void setCheckNoLabelsOrGotoStatements( |
---|
105 | boolean checkNoLabelsOrGotoStatements) { |
---|
106 | this.checkNoLabelsOrGotoStatements = checkNoLabelsOrGotoStatements; |
---|
107 | } |
---|
108 | |
---|
109 | public boolean isCheckNoNestedAltStatements() { |
---|
110 | return checkNoNestedAltStatements; |
---|
111 | } |
---|
112 | |
---|
113 | public void setCheckNoNestedAltStatements(boolean checkNoNestedAltStatements) { |
---|
114 | this.checkNoNestedAltStatements = checkNoNestedAltStatements; |
---|
115 | } |
---|
116 | |
---|
117 | public boolean isCheckNoPermutationKeyword() { |
---|
118 | return checkNoPermutationKeyword; |
---|
119 | } |
---|
120 | |
---|
121 | public void setCheckNoPermutationKeyword(boolean checkNoPermutationKeyword) { |
---|
122 | this.checkNoPermutationKeyword = checkNoPermutationKeyword; |
---|
123 | } |
---|
124 | |
---|
125 | public boolean isCheckNoAnyTypeKeyword() { |
---|
126 | return checkNoAnyTypeKeyword; |
---|
127 | } |
---|
128 | |
---|
129 | public void setCheckNoAnyTypeKeyword(boolean checkNoAnyTypeKeyword) { |
---|
130 | this.checkNoAnyTypeKeyword = checkNoAnyTypeKeyword; |
---|
131 | } |
---|
132 | |
---|
133 | public boolean isCheckNoModifiedTemplateOfModifiedTemplate() { |
---|
134 | return checkNoModifiedTemplateOfModifiedTemplate; |
---|
135 | } |
---|
136 | |
---|
137 | public void setCheckNoModifiedTemplateOfModifiedTemplate( |
---|
138 | boolean checkNoModifiedTemplateOfModifiedTemplate) { |
---|
139 | this.checkNoModifiedTemplateOfModifiedTemplate = checkNoModifiedTemplateOfModifiedTemplate; |
---|
140 | } |
---|
141 | |
---|
142 | public boolean isCheckTypesAndValuesModuleContainmentCheck() { |
---|
143 | return checkTypesAndValuesModuleContainmentCheck; |
---|
144 | } |
---|
145 | |
---|
146 | public void setCheckTypesAndValuesModuleContainmentCheck( |
---|
147 | boolean checkTypesAndValuesModuleContainmentCheck) { |
---|
148 | this.checkTypesAndValuesModuleContainmentCheck = checkTypesAndValuesModuleContainmentCheck; |
---|
149 | } |
---|
150 | |
---|
151 | public boolean isCheckTypesAndValuesModuleImportsLibNames() { |
---|
152 | return checkTypesAndValuesModuleImportsLibNames; |
---|
153 | } |
---|
154 | |
---|
155 | public void setCheckTypesAndValuesModuleImportsLibCommon( |
---|
156 | boolean checkTypesAndValuesModuleImportsLib) { |
---|
157 | this.checkTypesAndValuesModuleImportsLibNames = checkTypesAndValuesModuleImportsLib; |
---|
158 | } |
---|
159 | |
---|
160 | public boolean isCheckLogItemFormat() { |
---|
161 | return checkLogItemFormat; |
---|
162 | } |
---|
163 | |
---|
164 | public void setCheckLogItemFormat(boolean checkLogItemFormat) { |
---|
165 | this.checkLogItemFormat = checkLogItemFormat; |
---|
166 | } |
---|
167 | |
---|
168 | // public void setFeatureCodeFormatting(boolean featureCodeFormatting) { |
---|
169 | // this.featureCodeFormatting = featureCodeFormatting; |
---|
170 | // } |
---|
171 | // |
---|
172 | // public boolean isFeatureCodeFormatting() { |
---|
173 | // return featureCodeFormatting; |
---|
174 | // } |
---|
175 | |
---|
176 | public void setFormattingParameters( |
---|
177 | TTCN3FormatterParameters formattingParameters) { |
---|
178 | this.formattingParameters = formattingParameters; |
---|
179 | } |
---|
180 | |
---|
181 | public TTCN3FormatterParameters getFormattingParameters() { |
---|
182 | return formattingParameters; |
---|
183 | } |
---|
184 | |
---|
185 | public void setPathFormattedOutputPath(String pathFormattedOutputPath) { |
---|
186 | this.pathFormattedOutputPath = pathFormattedOutputPath; |
---|
187 | } |
---|
188 | |
---|
189 | public String getPathFormattedOutputPath() { |
---|
190 | return pathFormattedOutputPath; |
---|
191 | } |
---|
192 | |
---|
193 | public void setCheckNoAllKeywordInPortDefinitions( |
---|
194 | boolean checkNoAllKeywordInPortDefinitions) { |
---|
195 | this.checkNoAllKeywordInPortDefinitions = checkNoAllKeywordInPortDefinitions; |
---|
196 | } |
---|
197 | |
---|
198 | public boolean isCheckNoAllKeywordInPortDefinitions() { |
---|
199 | return checkNoAllKeywordInPortDefinitions; |
---|
200 | } |
---|
201 | |
---|
202 | public void setCheckImportsComeFirst(boolean checkImportsComeFirst) { |
---|
203 | this.checkImportsComeFirst = checkImportsComeFirst; |
---|
204 | } |
---|
205 | |
---|
206 | public boolean isCheckImportsComeFirst() { |
---|
207 | return checkImportsComeFirst; |
---|
208 | } |
---|
209 | |
---|
210 | public void setCheckLocalDefinitionsComeFirst(boolean checkLocalDefinitionsComeFirst) { |
---|
211 | this.checkLocalDefinitionsComeFirst = checkLocalDefinitionsComeFirst; |
---|
212 | } |
---|
213 | |
---|
214 | public boolean isCheckLocalDefinitionsComeFirst() { |
---|
215 | return checkLocalDefinitionsComeFirst; |
---|
216 | } |
---|
217 | |
---|
218 | public void setCheckTypeDefOrderInGroup(boolean checkTypeDefOrderInGroup) { |
---|
219 | this.checkTypeDefOrderInGroup = checkTypeDefOrderInGroup; |
---|
220 | } |
---|
221 | |
---|
222 | public boolean isCheckTypeDefOrderInGroup() { |
---|
223 | return checkTypeDefOrderInGroup; |
---|
224 | } |
---|
225 | |
---|
226 | public void setCheckPortMessageGrouping(boolean checkPortMessageGrouping) { |
---|
227 | this.checkPortMessageGrouping = checkPortMessageGrouping; |
---|
228 | } |
---|
229 | |
---|
230 | public boolean isCheckPortMessageGrouping() { |
---|
231 | return checkPortMessageGrouping; |
---|
232 | } |
---|
233 | |
---|
234 | public void setCheckTemplatesModuleContainmentCheck( |
---|
235 | boolean checkTemplatesModuleContainmentCheck) { |
---|
236 | this.checkTemplatesModuleContainmentCheck = checkTemplatesModuleContainmentCheck; |
---|
237 | } |
---|
238 | |
---|
239 | public boolean isCheckTemplatesModuleContainmentCheck() { |
---|
240 | return checkTemplatesModuleContainmentCheck; |
---|
241 | } |
---|
242 | |
---|
243 | public void setCheckFunctionsModuleContainmentCheck( |
---|
244 | boolean checkFunctionsModuleContainmentCheck) { |
---|
245 | this.checkFunctionsModuleContainmentCheck = checkFunctionsModuleContainmentCheck; |
---|
246 | } |
---|
247 | |
---|
248 | public boolean isCheckFunctionsModuleContainmentCheck() { |
---|
249 | return checkFunctionsModuleContainmentCheck; |
---|
250 | } |
---|
251 | |
---|
252 | public void setCheckTestcasesModuleContainmentCheck( |
---|
253 | boolean checkTestcasesModuleContainmentCheck) { |
---|
254 | this.checkTestcasesModuleContainmentCheck = checkTestcasesModuleContainmentCheck; |
---|
255 | } |
---|
256 | |
---|
257 | public boolean isCheckTestcasesModuleContainmentCheck() { |
---|
258 | return checkTestcasesModuleContainmentCheck; |
---|
259 | } |
---|
260 | |
---|
261 | public void setCheckModuleParamsModuleContainmentCheck( |
---|
262 | boolean checkModuleParamsModuleContainmentCheck) { |
---|
263 | this.checkModuleParamsModuleContainmentCheck = checkModuleParamsModuleContainmentCheck; |
---|
264 | } |
---|
265 | |
---|
266 | public boolean isCheckModuleParamsModuleContainmentCheck() { |
---|
267 | return checkModuleParamsModuleContainmentCheck; |
---|
268 | } |
---|
269 | |
---|
270 | public void setCheckInterfaceModuleContainmentCheck( |
---|
271 | boolean checkInterfaceModuleContainmentCheck) { |
---|
272 | this.checkInterfaceModuleContainmentCheck = checkInterfaceModuleContainmentCheck; |
---|
273 | } |
---|
274 | |
---|
275 | public boolean isCheckInterfaceModuleContainmentCheck() { |
---|
276 | return checkInterfaceModuleContainmentCheck; |
---|
277 | } |
---|
278 | |
---|
279 | public void setCheckTestSystemModuleContainmentCheck( |
---|
280 | boolean checkTestSystemModuleContainmentCheck) { |
---|
281 | this.checkTestSystemModuleContainmentCheck = checkTestSystemModuleContainmentCheck; |
---|
282 | } |
---|
283 | |
---|
284 | public boolean isCheckTestSystemModuleContainmentCheck() { |
---|
285 | return checkTestSystemModuleContainmentCheck; |
---|
286 | } |
---|
287 | |
---|
288 | public void setCheckTestControlModuleContainmentCheck( |
---|
289 | boolean checkTestControlModuleContainmentCheck) { |
---|
290 | this.checkTestControlModuleContainmentCheck = checkTestControlModuleContainmentCheck; |
---|
291 | } |
---|
292 | |
---|
293 | public boolean isCheckTestControlModuleContainmentCheck() { |
---|
294 | return checkTestControlModuleContainmentCheck; |
---|
295 | } |
---|
296 | |
---|
297 | public void setCheckTestcasesModuleImportsLibCommon_Sync( |
---|
298 | boolean checkTestcasesModuleImportsLibCommon_Sync) { |
---|
299 | this.checkTestcasesModuleImportsLibCommon_Sync = checkTestcasesModuleImportsLibCommon_Sync; |
---|
300 | } |
---|
301 | |
---|
302 | public boolean isCheckTestcasesModuleImportsLibCommon_Sync() { |
---|
303 | return checkTestcasesModuleImportsLibCommon_Sync; |
---|
304 | } |
---|
305 | |
---|
306 | public void setCheckNamingConventions(boolean checkNamingConventions) { |
---|
307 | this.checkNamingConventions = checkNamingConventions; |
---|
308 | } |
---|
309 | |
---|
310 | public boolean isCheckNamingConventions() { |
---|
311 | return checkNamingConventions; |
---|
312 | } |
---|
313 | |
---|
314 | public void setNamingConventionsConfig( |
---|
315 | NamingConventionsConfig namingConventionsConfig) { |
---|
316 | this.namingConventionsConfig = namingConventionsConfig; |
---|
317 | } |
---|
318 | |
---|
319 | public NamingConventionsConfig getNamingConventionsConfig() { |
---|
320 | return namingConventionsConfig; |
---|
321 | } |
---|
322 | |
---|
323 | public void setCheckModuleSize(boolean checkModuleSize) { |
---|
324 | this.checkModuleSize = checkModuleSize; |
---|
325 | } |
---|
326 | |
---|
327 | public boolean isCheckModuleSize() { |
---|
328 | return checkModuleSize; |
---|
329 | } |
---|
330 | |
---|
331 | public void setMaximumAllowedModuleSizeInBytes( |
---|
332 | int maximumAllowedModuleSizeInBytes) { |
---|
333 | this.maximumAllowedModuleSizeInBytes = maximumAllowedModuleSizeInBytes; |
---|
334 | } |
---|
335 | |
---|
336 | public int getMaximumAllowedModuleSizeInBytes() { |
---|
337 | return maximumAllowedModuleSizeInBytes; |
---|
338 | } |
---|
339 | |
---|
340 | // public void setProjectFileExtension(String projectFileExtension) { |
---|
341 | // this.projectFileExtension = projectFileExtension; |
---|
342 | // } |
---|
343 | // |
---|
344 | // public String getProjectFileExtension() { |
---|
345 | // return projectFileExtension; |
---|
346 | // } |
---|
347 | |
---|
348 | public void setCheckNoDuplicatedModuleDefinitionIdentifiers( |
---|
349 | boolean checkNoDuplicatedModuleDefinitionIdentifiers) { |
---|
350 | this.checkNoDuplicatedModuleDefinitionIdentifiers = checkNoDuplicatedModuleDefinitionIdentifiers; |
---|
351 | } |
---|
352 | |
---|
353 | public boolean isCheckNoDuplicatedModuleDefinitionIdentifiers() { |
---|
354 | return checkNoDuplicatedModuleDefinitionIdentifiers; |
---|
355 | } |
---|
356 | |
---|
357 | public void setCheckZeroReferencedModuleDefinitions( |
---|
358 | boolean checkZeroReferencedModuleDefinitions) { |
---|
359 | this.checkZeroReferencedModuleDefinitions = checkZeroReferencedModuleDefinitions; |
---|
360 | } |
---|
361 | |
---|
362 | public boolean isCheckZeroReferencedModuleDefinitions() { |
---|
363 | return checkZeroReferencedModuleDefinitions; |
---|
364 | } |
---|
365 | |
---|
366 | public void setTypesAndValuesImportsNamesRegExp(String typesAndValuesImportsLibNamesRegExp) { |
---|
367 | this.typesAndValuesImportsLibNamesRegExp = typesAndValuesImportsLibNamesRegExp; |
---|
368 | } |
---|
369 | |
---|
370 | public String getTypesAndValuesImportsLibNamesRegExp() { |
---|
371 | return typesAndValuesImportsLibNamesRegExp; |
---|
372 | } |
---|
373 | |
---|
374 | public void setTypesAndValuesImportsLibNamesExcludedRegExp( |
---|
375 | String typesAndValuesImportsLibNamesExcludedRegExp) { |
---|
376 | this.typesAndValuesImportsLibNamesExcludedRegExp = typesAndValuesImportsLibNamesExcludedRegExp; |
---|
377 | } |
---|
378 | |
---|
379 | public String getTypesAndValuesImportsLibNamesExcludedRegExp() { |
---|
380 | return typesAndValuesImportsLibNamesExcludedRegExp; |
---|
381 | } |
---|
382 | |
---|
383 | public void setCheckNoTabs(boolean checkNoTabs) { |
---|
384 | this.checkNoTabs = checkNoTabs; |
---|
385 | } |
---|
386 | |
---|
387 | public boolean isCheckNoTabs() { |
---|
388 | return checkNoTabs; |
---|
389 | } |
---|
390 | |
---|
391 | |
---|
392 | public void setCheckLogStatementFormat(boolean checkLogStatementFormat) { |
---|
393 | this.checkLogStatementFormat = checkLogStatementFormat; |
---|
394 | } |
---|
395 | |
---|
396 | public boolean isCheckLogStatementFormat() { |
---|
397 | return checkLogStatementFormat; |
---|
398 | } |
---|
399 | |
---|
400 | public void setProcessSubsequentLogStatementsAsOne( |
---|
401 | boolean processSubsequentLogStatementsAsOne) { |
---|
402 | this.processSubsequentLogStatementsAsOne = processSubsequentLogStatementsAsOne; |
---|
403 | } |
---|
404 | |
---|
405 | public boolean isProcessSubsequentLogStatementsAsOne() { |
---|
406 | return processSubsequentLogStatementsAsOne; |
---|
407 | } |
---|
408 | |
---|
409 | public void setCheckFunctionsModuleContainmentCheckAllowExtFunction( |
---|
410 | boolean checkFunctionsModuleContainmentCheckAllowExtFunction) { |
---|
411 | this.checkFunctionsModuleContainmentCheckAllowExtFunction = checkFunctionsModuleContainmentCheckAllowExtFunction; |
---|
412 | } |
---|
413 | |
---|
414 | public boolean isCheckFunctionsModuleContainmentCheckAllowExtFunction() { |
---|
415 | return checkFunctionsModuleContainmentCheckAllowExtFunction; |
---|
416 | } |
---|
417 | |
---|
418 | public void setMaximumAllowedNestingDepth(int maximumAllowedNestingDepth) { |
---|
419 | this.maximumAllowedNestingDepth = maximumAllowedNestingDepth; |
---|
420 | } |
---|
421 | |
---|
422 | public int getMaximumAllowedNestingDepth() { |
---|
423 | return maximumAllowedNestingDepth; |
---|
424 | } |
---|
425 | |
---|
426 | public void setZeroReferencedModuleDefinitionsExcludedRegExp( |
---|
427 | String zeroReferencedModuleDefinitionsExcludedRegExp) { |
---|
428 | this.zeroReferencedModuleDefinitionsExcludedRegExp = zeroReferencedModuleDefinitionsExcludedRegExp; |
---|
429 | } |
---|
430 | |
---|
431 | public String getZeroReferencedModuleDefinitionsExcludedRegExp() { |
---|
432 | return zeroReferencedModuleDefinitionsExcludedRegExp; |
---|
433 | } |
---|
434 | |
---|
435 | public void setCheckNoInlineTemplates(boolean checkNoInlineTemplates) { |
---|
436 | this.checkNoInlineTemplates = checkNoInlineTemplates; |
---|
437 | } |
---|
438 | |
---|
439 | public boolean isCheckNoInlineTemplates() { |
---|
440 | return checkNoInlineTemplates; |
---|
441 | } |
---|
442 | |
---|
443 | public void setCheckNoOverSpecificRunsOnClauses( |
---|
444 | boolean checkNoOverSpecificRunsOnClauses) { |
---|
445 | this.checkNoOverSpecificRunsOnClauses = checkNoOverSpecificRunsOnClauses; |
---|
446 | } |
---|
447 | |
---|
448 | public boolean isCheckNoOverSpecificRunsOnClauses() { |
---|
449 | return checkNoOverSpecificRunsOnClauses; |
---|
450 | } |
---|
451 | |
---|
452 | public void setCheckNoUnusedImports(boolean checkNoUnusedImports) { |
---|
453 | this.checkNoUnusedImports = checkNoUnusedImports; |
---|
454 | } |
---|
455 | |
---|
456 | public boolean isCheckNoUnusedImports() { |
---|
457 | return checkNoUnusedImports; |
---|
458 | } |
---|
459 | |
---|
460 | public void setCheckNoUnusedFormalParameters( |
---|
461 | boolean checkNoUnusedFormalParameters) { |
---|
462 | this.checkNoUnusedFormalParameters = checkNoUnusedFormalParameters; |
---|
463 | } |
---|
464 | |
---|
465 | public boolean isCheckNoUnusedFormalParameters() { |
---|
466 | return checkNoUnusedFormalParameters; |
---|
467 | } |
---|
468 | |
---|
469 | public void setCheckNoLiterals(boolean checkNoLiterals) { |
---|
470 | this.checkNoLiterals = checkNoLiterals; |
---|
471 | } |
---|
472 | |
---|
473 | public boolean isCheckNoLiterals() { |
---|
474 | return checkNoLiterals; |
---|
475 | } |
---|
476 | |
---|
477 | public void setLocalDefinitionTypes(String[] localDefinitionTypes) { |
---|
478 | this.localDefinitionTypes = localDefinitionTypes; |
---|
479 | } |
---|
480 | |
---|
481 | public String[] getLocalDefinitionTypes() { |
---|
482 | return localDefinitionTypes; |
---|
483 | } |
---|
484 | |
---|
485 | public void setFeatureListImportedModuleNames( |
---|
486 | boolean featureListImportedModuleNames) { |
---|
487 | this.featureListImportedModuleNames = featureListImportedModuleNames; |
---|
488 | } |
---|
489 | |
---|
490 | public boolean isFeatureListImportedModuleNames() { |
---|
491 | return featureListImportedModuleNames; |
---|
492 | } |
---|
493 | |
---|
494 | public void setFeatureListImportedModuleFileNames( |
---|
495 | boolean featureListImportedModuleFileNames) { |
---|
496 | this.featureListImportedModuleFileNames = featureListImportedModuleFileNames; |
---|
497 | } |
---|
498 | |
---|
499 | public boolean isFeatureListImportedModuleFileNames() { |
---|
500 | return featureListImportedModuleFileNames; |
---|
501 | } |
---|
502 | |
---|
503 | public void setFeatureListImportingModuleNames( |
---|
504 | boolean featureListImportingModuleNames) { |
---|
505 | this.featureListImportingModuleNames = featureListImportingModuleNames; |
---|
506 | } |
---|
507 | |
---|
508 | public boolean isFeatureListImportingModuleNames() { |
---|
509 | return featureListImportingModuleNames; |
---|
510 | } |
---|
511 | |
---|
512 | public void setFeatureListImportingModuleFileNames( |
---|
513 | boolean featureListImportingModuleFileNames) { |
---|
514 | this.featureListImportingModuleFileNames = featureListImportingModuleFileNames; |
---|
515 | } |
---|
516 | |
---|
517 | public boolean isFeatureListImportingModuleFileNames() { |
---|
518 | return featureListImportingModuleFileNames; |
---|
519 | } |
---|
520 | |
---|
521 | public void setCheckNoUnusedLocalDefinitions( |
---|
522 | boolean checkNoUnusedLocalDefinitions) { |
---|
523 | this.checkNoUnusedLocalDefinitions = checkNoUnusedLocalDefinitions; |
---|
524 | } |
---|
525 | |
---|
526 | public boolean isCheckNoUnusedLocalDefinitions() { |
---|
527 | return checkNoUnusedLocalDefinitions; |
---|
528 | } |
---|
529 | |
---|
530 | public void setRecursionInCheckNoOverSpecificRunsOnClauses(boolean recursionInCheckNoOverSpecificRunsOnClauses) { |
---|
531 | this.recursionInCheckNoOverSpecificRunsOnClauses = recursionInCheckNoOverSpecificRunsOnClauses; |
---|
532 | } |
---|
533 | |
---|
534 | public boolean isRecursionInCheckNoOverSpecificRunsOnClauses() { |
---|
535 | return recursionInCheckNoOverSpecificRunsOnClauses; |
---|
536 | } |
---|
537 | |
---|
538 | |
---|
539 | } |
---|