Skip to content

Use IType.newSupertypeHierarchy to determine the super type(s) of type#2918

Open
eric-milles wants to merge 1 commit into
eclipse-jdt:masterfrom
eric-milles:issue2905
Open

Use IType.newSupertypeHierarchy to determine the super type(s) of type#2918
eric-milles wants to merge 1 commit into
eclipse-jdt:masterfrom
eric-milles:issue2905

Conversation

@eric-milles
Copy link
Copy Markdown
Contributor

This is faster (in my experience) than using getResolvedType, which parses the source unit, throws away the body and sets a dummy field to get a resolved type (for each type name).

see #2905 -- Run Configurations dialog can be very slow to open

How to test

Create project with 1 JUnit test. Run it. Open Run Configurations dialog to see test methods.

Author checklist

@trancexpress
Copy link
Copy Markdown
Contributor

Would be nice to remove the "`" from the commit message, they are nice for Github but not for the regular git history.

This is much faster than using getResolvedType, which parses the source
unit, throws away the body and sets a dummy field to get a resolved
type.
@eric-milles
Copy link
Copy Markdown
Contributor Author

@trancexpress Can this be merged?

@trancexpress
Copy link
Copy Markdown
Contributor

@trancexpress Can this be merged?

Best to ask @iloveeclipse : #2905 (comment)

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 this pull request may close these issues.

2 participants