Skip to content
SPECIFICTION
Get listed

Roslynator vs Spoon

Roslynator

github.com

Spoon

spoon.gforge.inria.fr

Side by side

FigureRoslynatorSpoon
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYes—
macOSYes—
LinuxYesYes
API—Yes
Self-hosted—Yes
Plans published11
Spec score · Code Refactoring Tools7.5 (#15)7.8 (#10)
LicenseThe repository states that its files are licensed under Apache License 2.0.Spoon is free and open source under the CeCILL-C and MIT licenses.
PurposeRoslynator is a set of code analysis tools for C#, powered by Roslyn.Spoon is an open-source library for analyzing, rewriting, transforming, and transpiling Java source code.

Plans

Roslynator

  • Free of chargeFree

Roslynator pricing →

Spoon

  • Free and Open SourceFree

Spoon pricing →

In their own words

Roslynator

Roslynator is a set of code analysis tools for C# development environments built on Roslyn. Its IDE extensions offer refactorings and fixes for compiler diagnostics, while analyzers are distributed separately through NuGet packages. Listed editor extensions cover Visual Studio 2026 and 2022, VS Code, and Open VSX. The VS Code extension requires legacy OmniSharp with `dotnet.server.useOmnisharp` set to true and does not work with C# Dev Kit. A command-line tool can be installed with `dotnet tool install -g roslynator.dotnet.cli`; the CLI is also integrated into MegaLinter for CI. EditorConfig settings can configure analyzers, refactorings, and compiler diagnostic fixes, and a testing framework supports unit tests for those tools. The .NET client libraries extend the Roslyn API but do not include analyzers or refactorings. The repository is licensed under Apache License 2.0. Its security policy supports version 5.x, CLI 0.x, and the Visual Studio 2026 and VS Code extensions; versions below 5.0 and Visual Studio 2022 extensions are out of support.

Visit github.com

Spoon

Spoon is a free, open-source library for analyzing, rewriting, transforming, and transpiling Java source code. It parses source files into an abstract syntax tree (AST), then exposes APIs for inspecting and changing that model. Processors can perform source-level static analysis on selected AST element types, while architectural rules can be expressed as AST checks and run as JUnit tests in continuous integration. Transformation facilities cover instrumentation and refactoring, including helpers for local and generic variables and removing deprecated methods. Spoon can also provide shared analysis of binary and source code through CtClass objects as an alternative to Java reflection. The project supports Java source up to Java 25, but runtime requirements vary: Spoon 11.x needs JDK 17 or later, 10.x needs JDK 11 or later, and 9.x needs Java 8. It is available through Java, the command line, Maven, and Gradle, with a dependency JAR on Maven Central. Command-line use requires manual classpath handling and source dependencies specified with --source-classpath. Spoon is an official Inria project and an OW2 consortium member.

Visit spoon.gforge.inria.fr