diff options
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/PatchVal.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchVal.java b/src/eclipseAgent/lombok/eclipse/agent/PatchVal.java index e758979d..976a71f4 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchVal.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchVal.java @@ -359,7 +359,8 @@ public class PatchVal { newAnn = new Annotation[1]; } - newAnn[newAnn.length - 1] = new org.eclipse.jdt.internal.compiler.ast.MarkerAnnotation(originalRef, originalRef.sourceStart); + TypeReference qualifiedTypeRef = generateQualifiedTypeRef(originalRef, originalRef.getTypeName()); + newAnn[newAnn.length - 1] = new org.eclipse.jdt.internal.compiler.ast.MarkerAnnotation(qualifiedTypeRef, qualifiedTypeRef.sourceStart); return newAnn; } |