diff options
Diffstat (limited to 'src/lombok/eclipse/Eclipse.java')
-rw-r--r-- | src/lombok/eclipse/Eclipse.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lombok/eclipse/Eclipse.java b/src/lombok/eclipse/Eclipse.java index 017affa1..361727bc 100644 --- a/src/lombok/eclipse/Eclipse.java +++ b/src/lombok/eclipse/Eclipse.java @@ -275,16 +275,16 @@ public class Eclipse { public static Annotation copyAnnotation(Annotation annotation) { if (annotation instanceof MarkerAnnotation) { - return new MarkerAnnotation(copyType(annotation.type), annotation.sourceStart); + return new MarkerAnnotation(copyType(annotation.type), 0); } if (annotation instanceof SingleMemberAnnotation) { - SingleMemberAnnotation result = new SingleMemberAnnotation(copyType(annotation.type), annotation.sourceStart); + SingleMemberAnnotation result = new SingleMemberAnnotation(copyType(annotation.type), 0); result.memberValue = ((SingleMemberAnnotation)annotation).memberValue; } if (annotation instanceof NormalAnnotation) { - NormalAnnotation result = new NormalAnnotation(copyType(annotation.type), annotation.sourceStart); + NormalAnnotation result = new NormalAnnotation(copyType(annotation.type), 0); result.memberValuePairs = ((NormalAnnotation)annotation).memberValuePairs; } |