aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java b/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
index a91e4d8b..4e48aa81 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
@@ -53,6 +53,7 @@ public class PatchJavadoc {
if (iCompilationUnit instanceof CompilationUnit) {
CompilationUnit compilationUnit = (CompilationUnit) iCompilationUnit;
Map<String, String> docs = EclipseAugments.CompilationUnit_javadoc.get(compilationUnit);
+ if (docs == null) return null;
String signature = getSignature(sourceMethod);
String rawJavadoc = docs.get(signature);