INRIA / spoon

Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.
http://spoon.gforge.inria.fr/
Other
1.76k stars 352 forks source link

review: test: easy type access for ModelTests #6051

Closed SirYwell closed 3 weeks ago

SirYwell commented 3 weeks ago

This is somewhat an experiment based on our ModelTest annotation. We can reduce arrange code by extracting required CtTypes centrally and inject them via parameters. WDYT?

MartinWitt commented 3 weeks ago

Nice work, getting a single type always felt like the missing piece.