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

【Question】Can a API be provided with a very concise judgment of whether the current variable is a local variable or a ginseng or field? #4378

Open
RTxin opened this issue Apr 19, 2024 · 2 comments

Comments

@RTxin
Copy link

RTxin commented Apr 19, 2024

  1. Can a API be provided with a very concise judgment of whether the current variable is a local variable or a ginseng or field?
  2. I want to find out who used a 'variable' or 'method' and how to operate it
@jlerbsc
Copy link
Collaborator

jlerbsc commented Apr 19, 2024

  1. Can a API be provided with a very concise judgment of whether the current variable is a local variable or a ginseng or field?

You can use symbol resolution to obtain a declaration, but I'm not sure that this meets your needs.

@jlerbsc
Copy link
Collaborator

jlerbsc commented Apr 19, 2024

2. I want to find out who used a 'variable' or 'method' and how to operate it

Javaparser does not currently provide this information.

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

No branches or pull requests

2 participants