Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the extraction of generic types as a LOAD relation #57

Open
tacianosilva opened this issue May 25, 2016 · 0 comments
Open

Add the extraction of generic types as a LOAD relation #57

tacianosilva opened this issue May 25, 2016 · 0 comments
Assignees
Milestone

Comments

@tacianosilva
Copy link
Collaborator

The lack of generic types extraction caused a failure to return the getCalleeEntities(). For example, the code 1 and 2 below the use of information LocalVariable class is not extracted.

Code Example 1

public Set<FieldNode> getAccessedFields() {
    Set<FieldNode> feedBack = new HashSet<FieldNode>();
    Set<ElementType> accessElements = this.getElements();
    FieldNode field = null;
    for (ElementType element: accessElements) {
        field = (FieldNode) element.getEntity();
        feedBack.add(field);
    }
    return feedBack;
}

An implementation of the extraction of generic types in the FactsEventSourceImpl.genericTypeExtration(entity, signature) as a LOAD relation to represent the relation between this entity and all the types in signature (signature contains generic type notations).

The addition of this feature will cause some impact on getCalleeEntities() methods.

@tacianosilva tacianosilva added this to the M-1.5 milestone May 25, 2016
@tacianosilva tacianosilva self-assigned this May 25, 2016
tacianosilva added a commit to tacianosilva/designwizard that referenced this issue May 25, 2016
tacianosilva added a commit to tacianosilva/designwizard that referenced this issue May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant