@@ -58,9 +58,9 @@ class AstNode extends TAstNode {
58
58
*/
59
59
cached
60
60
AstNode getAChild ( string pred ) {
61
- pred = directMember ( "getAnAnnotation" ) and result = getAnAnnotation ( )
61
+ pred = directMember ( "getAnAnnotation" ) and result = this . getAnAnnotation ( )
62
62
or
63
- pred = directMember ( "getQLDoc" ) and result = getQLDoc ( )
63
+ pred = directMember ( "getQLDoc" ) and result = this . getQLDoc ( )
64
64
}
65
65
66
66
/**
@@ -606,7 +606,7 @@ class FieldDecl extends TFieldDecl, AstNode {
606
606
/** Holds if this field is annotated as overriding another field. */
607
607
predicate isOverride ( ) { this .hasAnnotation ( "override" ) }
608
608
609
- string getName ( ) { result = getVarDecl ( ) .getName ( ) }
609
+ string getName ( ) { result = this . getVarDecl ( ) .getName ( ) }
610
610
611
611
override QLDoc getQLDoc ( ) { result = any ( Class c ) .getQLDocFor ( this ) }
612
612
}
@@ -771,7 +771,7 @@ class Class extends TClass, TypeDeclaration, ModuleDeclaration {
771
771
/**
772
772
* Gets a field in this class.
773
773
*/
774
- FieldDecl getAField ( ) { result = getMember ( _) }
774
+ FieldDecl getAField ( ) { result = this . getMember ( _) }
775
775
776
776
/**
777
777
* Gets a super-type referenced in the `extends` part of the class declaration.
@@ -814,7 +814,7 @@ class Class extends TClass, TypeDeclaration, ModuleDeclaration {
814
814
}
815
815
816
816
/** Holds if this class is abstract. */
817
- predicate isAbstract ( ) { hasAnnotation ( "abstract" ) }
817
+ predicate isAbstract ( ) { this . hasAnnotation ( "abstract" ) }
818
818
}
819
819
820
820
/**
0 commit comments