Skip to content

Wrong access bindings using #fastAccesses when there is a name conflict #7

@LABSARI

Description

@LABSARI
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions