-
Notifications
You must be signed in to change notification settings - Fork 411
JavaType.Class should contain full info on annotations, methods, constructors, superclasses #150
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
Labels
enhancement
New feature or request
Comments
@tkvangorder - is this still an issue or is it taken care of by your work on java template? |
This is still an issue |
pway99
added a commit
to openrewrite/rewrite-spring
that referenced
this issue
May 26, 2021
Annotations are available on type -> tsym -> metadata -> attributes -> [n] -> type
|
@sambsnyd can this be closed now that we have full type attribution? |
Yes, we now have this capability. |
yeikel
pushed a commit
to yeikel/rewrite
that referenced
this issue
Jan 15, 2023
knutwannheden
pushed a commit
that referenced
this issue
Mar 4, 2025
Use explicit receiver when available in mapBinaryOperation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some visitors (like openrewrite/rewrite-spring#9) may benefit from or outright require the ability to look up information about classes, their methods, their annotations, that aren't sources being parsed as part of the current run. i.e.: Any symbol or class coming from a dependency. We do have access to this information since without it the java compiler wouldn't be able to successfully parse & type attribute java source into ASTs.
JavaType.Class
is the appropriate place for this information to go.The text was updated successfully, but these errors were encountered: