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

[SpoonModelBuilder] Create a Model for Subset of Input #985

Closed
msteinbeck opened this issue Nov 18, 2016 · 2 comments · Fixed by #1037
Closed

[SpoonModelBuilder] Create a Model for Subset of Input #985

msteinbeck opened this issue Nov 18, 2016 · 2 comments · Fixed by #1037

Comments

@msteinbeck
Copy link
Contributor

msteinbeck commented Nov 18, 2016

Creating a Spoon model from large size software systems takes several minutes due to the amount of analyses performed while parsing all input compilation units. Sometimes - for example when individual files have been updated (#752) - I want to create model describing a subset of the input sources only. I could add the desired files only but using noclasspath mode having a more complete classpath a very useful since, otherwise, existing references may be missing. Therefore, I'm looking for a feature that allows me to create a model for a subset of my input sources.

My suggestion is to add a method to SpoonModelBuilder allowing me specify a filter that is applied after creation of the compilation units (in order to have more complete classpath) but before the traversal of a particular unit in order to minimize the required time to create a model.

@monperrus
Copy link
Collaborator

It seems a very good idea. Would you propose a pull request for this?

@msteinbeck
Copy link
Contributor Author

Currently working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants