Skip to content

Commit

Permalink
Comment explaining qualified this
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto committed Jun 17, 2022
1 parent ffcddd5 commit 620e616
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ protected Declaration resolveBase(DeclaredReferenceExpression reference) {
if (reference.isStaticAccess()) {
return recordDeclaration;
} else {
// This is most likely a "qualified this" in Java, referring to the "next" this of an outer
// class in an inner class. We cannot model
// this with our receiver logic, so for now, we just return the record.
return recordDeclaration;
}
} else {
Expand Down

0 comments on commit 620e616

Please sign in to comment.