Very spicy additions to the Java programming language.
This report summarizes scanner evidence for projectlombok/lombok, a Java project with 13,480 GitHub stars. SynthScan examined 142,997 lines of code across 2073 source files, recording 257 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 19.5 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 38 finding(s).
Are imports declared and package/API names verified? 219 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 257 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 257 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | test/core/src/lombok/RunTestsViaEcj.java | 240 | org.eclipse.jdt.internal.core.CompilationUnit ccu = new org.eclipse.jdt.internal.core.CompilationUnit(null, null, nul | CODE |
| CRITICAL | …ource/after-delombok/CheckerFrameworkSuperBuilder.java | 91 | public abstract C build(CheckerFrameworkSuperBuilder.Parent.@org.checkerframework.checker.calledmethods.qual.CalledMe | CODE |
| CRITICAL | …ource/after-delombok/CheckerFrameworkSuperBuilder.java | 119 | public CheckerFrameworkSuperBuilder.Parent build(CheckerFrameworkSuperBuilder.Parent.@org.checkerframework.checker.ca | CODE |
| CRITICAL | …ource/after-delombok/CheckerFrameworkSuperBuilder.java | 199 | public abstract C build(CheckerFrameworkSuperBuilder.ZChild.@org.checkerframework.checker.calledmethods.qual.CalledMe | CODE |
| CRITICAL | …ource/after-delombok/CheckerFrameworkSuperBuilder.java | 227 | public CheckerFrameworkSuperBuilder.ZChild build(CheckerFrameworkSuperBuilder.ZChild.@org.checkerframework.checker.ca | CODE |
| CRITICAL | …sform/resource/after-delombok/JacksonizedOnRecord.java | 8 | @com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = JacksonizedOnRecord.JacksonizedOnRecordBuilder.clas | CODE |
| CRITICAL | …sform/resource/after-delombok/JacksonizedOnRecord.java | 14 | @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "", buildMethodName = "build") | CODE |
| CRITICAL | …/resource/after-delombok/BuilderSingularGuavaMaps.java | 35 | if (this.battleaxes == null) this.battleaxes = com.google.common.collect.ImmutableMap.builder(); | CODE |
| CRITICAL | …/resource/after-delombok/BuilderSingularGuavaMaps.java | 45 | if (this.battleaxes == null) this.battleaxes = com.google.common.collect.ImmutableMap.builder(); | CODE |
| CRITICAL | …/resource/after-delombok/BuilderSingularGuavaMaps.java | 58 | if (this.vertices == null) this.vertices = com.google.common.collect.ImmutableSortedMap.naturalOrder(); | CODE |
| CRITICAL | …/resource/after-delombok/BuilderSingularGuavaMaps.java | 68 | if (this.vertices == null) this.vertices = com.google.common.collect.ImmutableSortedMap.naturalOrder(); | CODE |
| CRITICAL | …/resource/after-delombok/BuilderSingularGuavaMaps.java | 81 | if (this.rawMap == null) this.rawMap = com.google.common.collect.ImmutableBiMap.builder(); | CODE |
| CRITICAL | …/resource/after-delombok/BuilderSingularGuavaMaps.java | 91 | if (this.rawMap == null) this.rawMap = com.google.common.collect.ImmutableBiMap.builder(); | CODE |
| CRITICAL | …m/resource/after-delombok/CheckerFrameworkBuilder.java | 100 | public CheckerFrameworkBuilder build(CheckerFrameworkBuilder.@org.checkerframework.checker.calledmethods.qual.CalledMe | CODE |
| CRITICAL | …orm/resource/after-delombok/BuilderWithDeprecated.java | 99 | if (this.numbers == null) this.numbers = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …orm/resource/after-delombok/BuilderWithDeprecated.java | 110 | if (this.numbers == null) this.numbers = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerCommons.java | 4 | private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommons.cl | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerCommons.java | 9 | private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommonsWit | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerCommons.java | 14 | private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog("DifferentName") | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerCommons.java | 19 | private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommonsWit | CODE |
| CRITICAL | …sform/resource/after-delombok/LoggerFloggerRecord.java | 6 | private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingC | CODE |
| CRITICAL⚡ | …ransform/resource/after-delombok/NonNullWithGuava.java | 7 | com.google.common.base.Preconditions.checkNotNull(arg, "arg is marked non-null but is null"); | CODE |
| CRITICAL⚡ | …ransform/resource/after-delombok/NonNullWithGuava.java | 17 | com.google.common.base.Preconditions.checkNotNull(arg); | CODE |
| CRITICAL⚡ | …ransform/resource/after-delombok/NonNullWithGuava.java | 20 | com.google.common.base.Preconditions.checkNotNull(arg, "arg is marked non-null but is null"); | CODE |
| CRITICAL⚡ | …ransform/resource/after-delombok/NonNullWithGuava.java | 24 | com.google.common.base.Preconditions.checkNotNull(arg, "arg is marked non-null but is null"); | CODE |
| CRITICAL⚡ | …ransform/resource/after-delombok/NonNullWithGuava.java | 25 | com.google.common.base.Preconditions.checkNotNull(test); | CODE |
| CRITICAL⚡ | …ransform/resource/after-delombok/NonNullWithGuava.java | 28 | com.google.common.base.Preconditions.checkNotNull(arg, "arg is marked non-null but is null"); | CODE |
| CRITICAL⚡ | …ransform/resource/after-delombok/NonNullWithGuava.java | 34 | com.google.common.base.Preconditions.checkNotNull(test, "test is marked non-null but is null"); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 45 | if (this.cards == null) this.cards = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 55 | if (this.cards == null) this.cards = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 68 | if (this.frogs == null) this.frogs = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 78 | if (this.frogs == null) this.frogs = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 91 | if (this.rawSet == null) this.rawSet = com.google.common.collect.ImmutableSet.builder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 101 | if (this.rawSet == null) this.rawSet = com.google.common.collect.ImmutableSet.builder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 114 | if (this.passes == null) this.passes = com.google.common.collect.ImmutableSortedSet.naturalOrder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 124 | if (this.passes == null) this.passes = com.google.common.collect.ImmutableSortedSet.naturalOrder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 137 | if (this.users == null) this.users = com.google.common.collect.ImmutableTable.builder(); | CODE |
| CRITICAL | …after-delombok/SuperBuilderSingularToBuilderGuava.java | 147 | if (this.users == null) this.users = com.google.common.collect.ImmutableTable.builder(); | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerFlogger.java | 4 | private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingCl | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerFlogger.java | 9 | private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingCl | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerFlogger.java | 15 | private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingC | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerFlogger.java | 22 | private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingCl | CODE |
| CRITICAL⚡ | …t/transform/resource/after-delombok/LoggerFlogger.java | 29 | private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingC | CODE |
| CRITICAL | …rce/after-delombok/BuilderSingularRedirectToGuava.java | 34 | if (this.dangerMice == null) this.dangerMice = com.google.common.collect.ImmutableSet.builder(); | CODE |
| CRITICAL | …rce/after-delombok/BuilderSingularRedirectToGuava.java | 44 | if (this.dangerMice == null) this.dangerMice = com.google.common.collect.ImmutableSet.builder(); | CODE |
| CRITICAL | …rce/after-delombok/BuilderSingularRedirectToGuava.java | 57 | if (this.things == null) this.things = com.google.common.collect.ImmutableSortedMap.naturalOrder(); | CODE |
| CRITICAL | …rce/after-delombok/BuilderSingularRedirectToGuava.java | 67 | if (this.things == null) this.things = com.google.common.collect.ImmutableSortedMap.naturalOrder(); | CODE |
| CRITICAL | …rce/after-delombok/BuilderSingularRedirectToGuava.java | 80 | if (this.doohickeys == null) this.doohickeys = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …rce/after-delombok/BuilderSingularRedirectToGuava.java | 90 | if (this.doohickeys == null) this.doohickeys = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …esource/after-delombok/JacksonizedBuilderSingular.java | 8 | @com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = JacksonizedBuilderSingular.JacksonizedBuilderSingul | CODE |
| CRITICAL | …esource/after-delombok/JacksonizedBuilderSingular.java | 29 | @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "", buildMethodName = "build") | CODE |
| CRITICAL | …esource/after-delombok/JacksonizedBuilderSingular.java | 116 | if (this.guavaAny == null) this.guavaAny = com.google.common.collect.ImmutableMap.builder(); | CODE |
| CRITICAL | …esource/after-delombok/JacksonizedBuilderSingular.java | 126 | if (this.guavaAny == null) this.guavaAny = com.google.common.collect.ImmutableMap.builder(); | CODE |
| CRITICAL | …esource/after-delombok/JacksonizedBuilderSingular.java | 139 | if (this.guavaValues == null) this.guavaValues = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …esource/after-delombok/JacksonizedBuilderSingular.java | 150 | if (this.guavaValues == null) this.guavaValues = com.google.common.collect.ImmutableList.builder(); | CODE |
| CRITICAL | …resource/after-delombok/JacksonizedNoConfigChoice.java | 1 | @com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = JacksonizedNoConfigChoice.JacksonizedNoConfigChoice | CODE |
| CRITICAL | …resource/after-delombok/JacksonizedNoConfigChoice.java | 11 | @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "", buildMethodName = "build") | CODE |
| CRITICAL | …urce/after-delombok/JacksonizedSuperBuilderSimple.java | 4 | @com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = JacksonizedSuperBuilderSimple.Parent.ParentBuilder | CODE |
| CRITICAL | …urce/after-delombok/JacksonizedSuperBuilderSimple.java | 39 | @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "", buildMethodName = "build") | CODE |
| CRITICAL | …resource/after-delombok/JacksonizedBuilderComplex.java | 4 | @com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = JacksonizedBuilderComplex.TestVoidName.class) | CODE |
| 159 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/configuration/resource/configurationRoot/out.txt | 61 | lombok.accessors.prefix += m_ | COMMENT |
| LOW | test/configuration/resource/configurationRoot/out.txt | 81 | # 4: lombok.addGeneratedAnnotation = true | COMMENT |
| LOW | test/configuration/resource/configurationRoot/out.txt | 101 | # BASE/archives/a2.zip!reset.config (imported from BASE/d1/d11/d111/lombok.config:2): | COMMENT |
| LOW | test/configuration/resource/configurationRoot/out.txt | 121 | # 3: lombok.accessors.chain = false | COMMENT |
| LOW | test/configuration/resource/configurationRoot/out.txt | 141 | # BASE/d1/d11/d111/lombok.config: | COMMENT |
| LOW | test/configuration/resource/configurationRoot/out.txt | 161 | # Generate @ConstructorProperties for generated constructors (default: false). | COMMENT |
| LOW | …rm/resource/before/FieldDefaultsViaConfigOnRecord.java | 1 | // version 14: | COMMENT |
| LOW | src/core/lombok/eclipse/EclipseAST.java | 101 | COMMENT | |
| LOW | src/core/lombok/eclipse/EclipseAST.java | 141 | } | COMMENT |
| LOW | src/core/lombok/eclipse/EclipseAST.java | 161 | // in.close(); | COMMENT |
| LOW | …ore/lombok/eclipse/handlers/SetGeneratedByVisitor.java | 941 | // public boolean visit(LambdaExpression node, BlockScope scope){ return true;} | COMMENT |
| LOW | …c/core/lombok/eclipse/handlers/HandleSneakyThrows.java | 121 | // return handleField(annotationNode, (FieldDeclaration)owner.get(), exceptions); | COMMENT |
| LOW | …c/core/lombok/eclipse/handlers/HandleSneakyThrows.java | 141 | // for (DeclaredException exception : exceptions) { | COMMENT |
| LOW | src/utils/lombok/javac/JavacTreeMaker.java | 841 | // private static final MethodId<JCTypeUnion> TypeUnion = MethodId("TypeUnion"); | COMMENT |
| LOW | …ombok/javac/java8/CommentCollectingScannerFactory.java | 41 | // the lower bound for T, as a synthetic accessor for the make with returntype ScannerFactory) for that make method w | COMMENT |
| LOW | …ombok/javac/java6/CommentCollectingScannerFactory.java | 41 | // | COMMENT |
| LOW | …ombok/javac/java7/CommentCollectingScannerFactory.java | 41 | // is actually on the classpath (either make() for javac6-, or make(Context) for javac7+). | COMMENT |
| LOW | …c/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java | 401 | // if (ref.resolvedType != null) { | COMMENT |
| LOW | …c/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java | 421 | // char[] name = md.selector; | COMMENT |
| LOW | …c/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java | 441 | // } | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …c/core/lombok/eclipse/handlers/EclipseHandlerUtil.java | 1473 | if (ann.getInstance().value() == AccessLevel.NONE) return null; //Definitely WONT have a getter. | CODE |
| MEDIUM | …c/core/lombok/eclipse/handlers/EclipseHandlerUtil.java | 1488 | if (ann.getInstance().value() == AccessLevel.NONE) return null; //Definitely WONT have a getter. | CODE |
| MEDIUM | src/core/lombok/javac/handlers/JavacHandlerUtil.java | 1051 | if (ann.getInstance().value() == AccessLevel.NONE) return null; //Definitely WONT have a getter. | CODE |
| MEDIUM | src/core/lombok/javac/handlers/JavacHandlerUtil.java | 1066 | if (ann.getInstance().value() == AccessLevel.NONE) return null; //Definitely WONT have a getter. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/core/lombok/javac/apt/LombokProcessor.java | 326 | // Step 1: Take all CUs which aren't already in the map. Give them the first priority level. | COMMENT |
| LOW⚡ | src/core/lombok/javac/apt/LombokProcessor.java | 336 | // Step 2: For all CUs (in the map, not the roundEnv!), run them across all handlers at their current prio level. | COMMENT |
| LOW | src/core/lombok/javac/apt/LombokProcessor.java | 348 | // Step 3: Push up all CUs to the next level. Set level to null if there is no next level. | COMMENT |
| LOW | src/core/lombok/javac/apt/LombokProcessor.java | 367 | // Step 4: If ALL values are null, quit. Else, either do another loop right now or force a resolution reset by forcin | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/core/lombok/javac/apt/LombokProcessor.java | 326 | // Step 1: Take all CUs which aren't already in the map. Give them the first priority level. | COMMENT |
| LOW⚡ | src/core/lombok/javac/apt/LombokProcessor.java | 336 | // Step 2: For all CUs (in the map, not the roundEnv!), run them across all handlers at their current prio level. | COMMENT |
| LOW | src/core/lombok/javac/apt/LombokProcessor.java | 348 | // Step 3: Push up all CUs to the next level. Set level to null if there is no next level. | COMMENT |
| LOW | src/core/lombok/javac/apt/LombokProcessor.java | 367 | // Step 4: If ALL values are null, quit. Else, either do another loop right now or force a resolution reset by forcin | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | website/templates/_scaffold.html | 34 | <#macro scaffold load=[] title='Project Lombok'> | CODE |
| MEDIUM | website/templates/features/_features.html | 66 | <#macro scaffold title logline load=[]> | CODE |
| MEDIUM | website/templates/setup/_setup.html | 17 | <#macro scaffold title load=[]> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/templates/contributing/contributing.html | 30 | To create new features and add them to project lombok itself, send us pull requests via github. However, before you | CODE |
| LOW | src/installer/lombok/installer/InstallerGUI.java | 941 | "Don't forget to:<ul><li> add <code>lombok.jar</code> to your projects,<li><b>exit and start</b> your IDE,<li><b>rebu | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/resources/js/main.js | 36 | function aButtonsRespondToSpacebar() { | CODE |