mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
[fixes #3000] Generate new type reference for val marker annotation
This commit is contained in:
1 parent
10fab5b77a
commit
c972edb81e
1 file changed
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user