Tech riderRev. 5 Oct 2026
- 1Runs onAPI, Linux, self-hosted
- 2CostsFree plan
- 3Supported languagesJava
- 4Refactoring scoperepository
- 5Batch refactoringYes
- 6AST-based analysisYes
- 7Deploymentdesktop
7 lines stated Written from the maker's own pages: spoon.gforge.inria.fr

Overview
Spoon is ranked #12 of 22 in code refactoring tools on Specifiction. It runs on API, Linux, Self-hosted. There is a free plan.
Spoon plans and pricing
All plansCompared on code refactoring tools
- Free plan
- Yesspoon.gforge.inria.fr
- Supported languages
- Javaspoon.gforge.inria.fr
- Refactoring scope
- repositoryspoon.gforge.inria.fr
- Batch refactoring
- Yesspoon.gforge.inria.fr
- AST-based analysis
- Yesspoon.gforge.inria.fr
- Deployment
- desktopspoon.gforge.inria.fr
Facts
- What it does
- Spoon is an open-source library for analyzing, rewriting, transforming, and transpiling Java source code through an abstract syntax tree (AST).spoon.gforge.inria.fr · 5 Oct 2026
- Java support
- The site says Spoon supports modern Java versions up to Java 25.spoon.gforge.inria.fr · 5 Oct 2026
- License
- Spoon is free and open source under the CeCILL-C and MIT licenses.spoon.gforge.inria.fr · 5 Oct 2026
- Analysis
- Spoon supports source-level static code analysis using processors that inspect AST elements of a selected type.spoon.gforge.inria.fr · 5 Oct 2026
- Code transformation
- Spoon can transform source code, including for instrumentation and refactoring.spoon.gforge.inria.fr · 5 Oct 2026
- Architecture checks
- The documentation describes expressing architectural rules as AST analysis and running them as JUnit tests in continuous integration.spoon.gforge.inria.fr · 5 Oct 2026
- Reflection
- Spoon can act as an alternative to Java reflection and allows shared analysis of binary and source code through CtClass objects.spoon.gforge.inria.fr · 5 Oct 2026
- Parallel processing
- Spoon provides an AbstractParallelProcessor API for running processors in parallel, with the documentation advising against using more parallel processors than available cores.spoon.gforge.inria.fr · 5 Oct 2026
- Install options
- The documentation describes using Spoon from Java, the command line, Maven, or Gradle, and downloading its dependency jar from Maven Central for command-line use.spoon.gforge.inria.fr · 5 Oct 2026
- Java runtime requirements
- Spoon 11.x requires JDK 17 or later, Spoon 10.x requires JDK 11 or later, and Spoon 9.x requires Java 8.spoon.gforge.inria.fr · 5 Oct 2026
- Command-line limitation
- When using Spoon from the command line, users handle the classpath manually and should specify dependencies of analyzed source files with --source-classpath.spoon.gforge.inria.fr · 5 Oct 2026
- Semantic patching
- The spoon-smpl submodule is described as a prototype implementation of a subset of Semantic Patch Language for a subset of Java.spoon.gforge.inria.fr · 5 Oct 2026
- Support
- The site directs users seeking professional development, training, or extension support to comment on a GitHub issue.spoon.gforge.inria.fr · 5 Oct 2026
- Project affiliation
- The site identifies Spoon as an official Inria open-source project and a member of the OW2 open-source consortium.spoon.gforge.inria.fr · 5 Oct 2026
- Purpose
- Spoon is an open-source library for analyzing, rewriting, transforming, and transpiling Java source code.spoon.gforge.inria.fr · 5 Oct 2026
- AST model
- It parses Java source files into an abstract syntax tree with analysis and transformation APIs.spoon.gforge.inria.fr · 5 Oct 2026
- Static analysis
- Spoon supports source-level static analysis through processors that inspect AST elements.spoon.gforge.inria.fr · 5 Oct 2026
- Refactoring
- The documentation describes local-variable and generic-variable refactoring helpers, as well as a helper for removing deprecated methods.spoon.gforge.inria.fr · 5 Oct 2026
- Integrations
- The site documents Maven and Gradle usage, along with command-line execution using a JAR from Maven Central.spoon.gforge.inria.fr · 5 Oct 2026
- Runtime requirement
- Spoon 11.x requires JDK 17 or later, 10.x requires JDK 11 or later, and 9.x requires Java 8 to run.spoon.gforge.inria.fr · 5 Oct 2026
- Compatibility limit
- Although it can consume source code for older Java versions, Spoon needs the specified JDK version to run.spoon.gforge.inria.fr · 5 Oct 2026
- Community
- The project welcomes external contributions through pull requests.spoon.gforge.inria.fr · 5 Oct 2026
Best Spoon alternatives
See all 20 All accessCh 01 ReSharper Free planFree trialBrowser from $32.42/mo7.6 All accessCh 02 ast-grep Free planAPIBrowser Free to start7.4 All accessCh 03 Sourcery Free planFree trialAPI from $12/mo7.4 All accessCh 04 CodeRush Free planBrowserLinux Free to start7.2 All accessCh 05 Moderne APILinux from $2,000/mo7.2 All accessCh 06 OpenRewrite Free planLinuxself-hosted Free to start7.1
Where it ranks on Specifiction
- Best Code Refactoring Tools in 2026#12 of 22
Is Spoon yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- spoon.gforge.inria.fr· checked 5 Oct 2026
- spoon.gforge.inria.fr/first_analysis_processor.html· checked 5 Oct 2026
- spoon.gforge.inria.fr/architecture_test.html· checked 5 Oct 2026
- spoon.gforge.inria.fr/reflection.html· checked 5 Oct 2026
- spoon.gforge.inria.fr/processor.html· checked 5 Oct 2026
- spoon.gforge.inria.fr/command_line.html· checked 5 Oct 2026
- spoon.gforge.inria.fr/spoon_smpl.html· checked 5 Oct 2026
- spoon.gforge.inria.fr/first_transformation.html· checked 5 Oct 2026




