File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
java/ql/lib/semmle/code/java/dataflow/internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,17 +39,17 @@ class AccessPath extends string instanceof AccessPath::Range {
39
39
/** Gets the `n`th token on the access path (if there are no syntax errors). */
40
40
AccessPathToken getToken ( int n ) {
41
41
result = getRawToken ( this , n ) and
42
- not hasSyntaxError ( )
42
+ not this . hasSyntaxError ( )
43
43
}
44
44
45
45
/** Gets the number of tokens on the path (if there are no syntax errors). */
46
46
int getNumToken ( ) {
47
47
result = count ( int n | exists ( getRawToken ( this , n ) ) ) and
48
- not hasSyntaxError ( )
48
+ not this . hasSyntaxError ( )
49
49
}
50
50
51
51
/** Gets the `n`th-last token, with 0 being the last token. */
52
- AccessPathToken getLastToken ( int n ) { result = getToken ( getNumToken ( ) - 1 - n ) }
52
+ AccessPathToken getLastToken ( int n ) { result = this . getToken ( this . getNumToken ( ) - 1 - n ) }
53
53
}
54
54
55
55
/**
You can’t perform that action at this time.
0 commit comments