Comments (12)
I also tested and I confirm the bug. If you don't make a PR, I add it in my to-do list. :)
Thanks for reporting this bug.
from spoon.
@GerardPaligot At the moment I don't work on that. So you can add it to your todo list.
If I start working on it I'll let you know or rather I'll ask for the status before.
from spoon.
+1
Actually, arrays of annotations are not captured at all, because CtNewArray
is only allowed to contain CtExpresson
s while CtAnnotation
does not extend it.
from spoon.
Is it fixes by the pull request #83?
from spoon.
@petitpre No, #83 doesn't fix this. Have a look at #82 to get a short description about the difference.
from spoon.
@GerardPaligot Did you have a look how to fix this issue already?
from spoon.
I'm working on it today. I identified the problem but the solution is a little bit tricky. PR probably soon.
from spoon.
Want to +1 Konstantin's comment (#60 (comment)) arrays of annotations aren't being captured at all.
from spoon.
Hi guys.
What is the spoon version which has this issue fixed?
It does not work for me with 3.0:
<dependency>
<groupId>fr.inria.gforge.spoon</groupId>
<artifactId>spoon-core</artifactId>
<version>3.0</version>
</dependency>
from spoon.
Did you test the version 3.1?
from spoon.
@GerardPaligot, thank you. With 3.1 it is fine.
from spoon.
It's our fault, the website isn't updated with this version. This will be fixed very soon.
from spoon.
Related Issues (20)
- [Bug]: InvocationFilter not filtering all instances of reference HOT 1
- [Bug]: Type reference building logic fails within lambda bodies
- [Information] How to differentiate methods calls in java code while method overloading in same class
- [Bug]: When I use IncrementalLauncher, if I set setShouldCompile to false, it will always rebuild
- Spoon hangs when building a model when nested conditional expressions containing a pattern matching with variable creation
- [Bug]: CtComment getpath() throws a NullPointerException
- Query regarding support for Java 21 features HOT 4
- [Bug]: When you import a static inner class, spoon converts it to a non-static import HOT 4
- `equals()` semantics on `CtType`? HOT 6
- [Bug]: CtAnnotation Type in Annonymous Class is null HOT 5
- [Bug]: When an overloaded method takes a class other than the project's class, the ctExecutableReference is broken
- [Bug]: Why is the result of @Test different from the result of main
- [Bug]: Spoon classes consuming much memory HOT 2
- [Bug]: A null pointer exception occurred in build model HOT 1
- [Bug]: StackOverflowError occurred in CtExecutableReference.getExecutableDeclaration HOT 5
- [Bug]: Not allowed javaletter or keyword in identifier found HOT 5
- Move or delete spoon testing package from src/main HOT 1
- Delete old unused javadoc package HOT 2
- [Bug]: Under multithreading, using the isOverriding method will lead to incorrect results of the getElements method
- [Bug]: How to correctly recognize the signature of invoked methods in lambda expression?
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 spoon.