public class A {
int x = 5;
public void foo(int x) {
System.out.println(x); // Access to the parameter x
System.out.println(this.x); // Access to the instance variable x
}
}
When asking for accesses of x with the method #fastAccesses on the famix entity that represents the parameter x of the foo method, it also returns the reference to the instance variable (this.x).
The result should not include the access to the instance variable.
When asking for accesses of x with the method #fastAccesses on the famix entity that represents the parameter x of the foo method, it also returns the reference to the instance variable (this.x). The result should not include the access to the instance variable.