File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class SuppressionAnnotation extends SuppressWarningsAnnotation {
2828 string getText ( ) { result = getASuppressedWarningLiteral ( ) .getValue ( ) }
2929
3030 /** Gets the LGTM suppression annotation in this Java annotation. */
31- string getAnnotation ( ) { result = annotation }
31+ string getAnnotationText ( ) { result = annotation }
3232
3333 private Annotation getASiblingAnnotation ( ) {
3434 result = getAnnotatedElement ( ) .( Annotatable ) .getAnAnnotation ( ) and
@@ -98,5 +98,5 @@ class SuppressionScope extends @annotation {
9898from SuppressionAnnotation c
9999select c , // suppression comment
100100 c .getText ( ) , // text of suppression comment (excluding delimiters)
101- c .getAnnotation ( ) , // text of suppression annotation
101+ c .getAnnotationText ( ) , // text of suppression annotation
102102 c .getScope ( ) // scope of suppression
You can’t perform that action at this time.
0 commit comments