Comments (2)
This is a bug that has already been identified but for which we do not yet have a solution.
It appears when JP tries to resolve a symbol in a block. JP tries to search for a variable declaration from the last statement in the block when it should be searching from the statement preceding the node being processed.
At this stage JP doesn't have this notion (current node) so it can't position itself correctly.
Fixing this problem would require an in-depth modification of the API. Unfortunately, this is a design problem which will take time to fix.
from javaparser.
Related to #3674
from javaparser.
Related Issues (20)
- Jar file location for JarTypeSolver HOT 5
- Disappearing comments with LexicalPreservingPrinter HOT 1
- 【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? HOT 2
- 【Question】Should the results of `Expression#RESOLVE` cache? HOT 1
- Record Patterns Implementation Proposal HOT 12
- Different nodes have same hashcode HOT 3
- Meaning of LanguageLevel HOT 3
- Fail to use symbol resolver HOT 8
- Arbitrary new line when refactoring HOT 4
- MethodCallExpr inside lambda in assignment expression cannot be resolved HOT 4
- JavaParser finds "." in place of first element after a yeild statement. HOT 12
- Missing tokens in parent nodes HOT 4
- Spotless formatting implementation proposal HOT 3
- Tests systematically failing on Windows HOT 4
- <enum>::values() can not be resolved without the enum name HOT 3
- Azul distribution supports versions 8, 11, 17, 21, and 22 only
- Use Builder Pattern to refactor javaparser HOT 1
- Incorrect resolution of extends and implements types
- An StackOverflowError occurred while parsing HOT 1
- Problems parsing SwitchExpr with Unary/BinaryOperators HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javaparser.