Commit 8ff12685 authored by Lionel Seinturier's avatar Lionel Seinturier

Fix bug to match the new functioning of Spoon 4.2.0.

parent e4778b8e
......@@ -43,6 +43,7 @@ import org.objectweb.fractal.juliac.opt.ultramerge.IllegalComponentCodeException
import org.objectweb.fractal.juliac.opt.ultramerge.UMClass;
import org.objectweb.fractal.juliac.opt.ultramerge.UMField;
import org.objectweb.fractal.juliac.opt.ultramerge.UMMethod;
import org.objectweb.fractal.juliac.spoon.helper.AnnotationFactoryHelper;
import org.objectweb.fractal.juliac.spoon.helper.CtNamedElementHelper;
import org.ow2.frascati.tinfi.TinfiRuntimeException;
......@@ -157,7 +158,7 @@ public class SCAUltraMerge extends AbstractUltraMerge {
protected void annotateRequiredCtField(
AnnotationFactory af, CtField<?> field, String cltItfName ) {
af.annotate(field,Reference.class,"name",cltItfName);
AnnotationFactoryHelper.annotate(field,Reference.class,"name",cltItfName);
}
protected boolean isRequiredAnnotation( Annotation a ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment