@@ -224,7 +224,7 @@ class DeviationAttribute extends StdAttribute {
224
224
"\"" + record .getCodeIdentifier ( ) + "\"" = this .getAnArgument ( ) .getValueText ( )
225
225
}
226
226
227
- DeviationRecord getDeviationRecord ( ) { result = record }
227
+ DeviationRecord getADeviationRecord ( ) { result = record }
228
228
229
229
pragma [ nomagic]
230
230
Element getASuppressedElement ( ) {
@@ -296,12 +296,12 @@ newtype TCodeIndentifierDeviation =
296
296
endComment .getLocation ( ) .hasLocationInfo ( filepath , suppressedEndLine , _, _, _)
297
297
} or
298
298
TCodeIdentifierDeviation ( DeviationRecord record , DeviationAttribute attribute ) {
299
- attribute .getDeviationRecord ( ) = record
299
+ attribute .getADeviationRecord ( ) = record
300
300
}
301
301
302
302
class CodeIdentifierDeviation extends TCodeIndentifierDeviation {
303
303
/** The deviation record associated with the deviation comment. */
304
- DeviationRecord getDeviationRecord ( ) {
304
+ DeviationRecord getADeviationRecord ( ) {
305
305
this = TSingleLineDeviation ( result , _, _, _)
306
306
or
307
307
this = TMultiLineDeviation ( result , _, _, _, _, _)
@@ -341,21 +341,21 @@ class CodeIdentifierDeviation extends TCodeIndentifierDeviation {
341
341
exists ( int suppressedLine |
342
342
this = TSingleLineDeviation ( _, _, filepath , suppressedLine ) and
343
343
result =
344
- "Deviation record " + getDeviationRecord ( ) + " applied to " + filepath + " Line " +
344
+ "Deviation record " + getADeviationRecord ( ) + " applied to " + filepath + " Line " +
345
345
suppressedLine
346
346
)
347
347
or
348
348
exists ( int suppressedStartLine , int suppressedEndLine |
349
349
this = TMultiLineDeviation ( _, _, _, filepath , suppressedStartLine , suppressedEndLine ) and
350
350
result =
351
- "Deviation record " + getDeviationRecord ( ) + " applied to " + filepath + " Line" +
351
+ "Deviation record " + getADeviationRecord ( ) + " applied to " + filepath + " Line" +
352
352
suppressedStartLine + ":" + suppressedEndLine
353
353
)
354
354
)
355
355
or
356
356
exists ( DeviationAttribute attribute |
357
357
this = TCodeIdentifierDeviation ( _, attribute ) and
358
- result = "Deviation record " + getDeviationRecord ( ) + " applied to " + attribute
358
+ result = "Deviation record " + getADeviationRecord ( ) + " applied to " + attribute
359
359
)
360
360
}
361
361
}
0 commit comments