From: jhugunin Date: Wed, 15 Jan 2003 05:06:28 +0000 (+0000) Subject: don't forget the checked exceptions X-Git-Tag: V_1_1_b5~101 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c65916fdf0155a2bc0d70dc3603ac0087666ab31;p=aspectj.git don't forget the checked exceptions --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseBinaryType.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseBinaryType.java index 4fb4f54a6..a214f9de6 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseBinaryType.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseBinaryType.java @@ -61,10 +61,14 @@ public class EclipseBinaryType extends EclipseObjectType { } private ResolvedMember copyResolvedMember(ResolvedMember in) { - return new ResolvedMember( + ResolvedMember ret = new ResolvedMember( in.getKind(), forceTypeX(in.getDeclaringType()), in.getModifiers(), forceTypeX(in.getReturnType()), in.getName(), forceTypeXs(in.getParameterTypes())); + ret.setPosition(in.getStart(), in.getEnd()); + ret.setSourceContext(in.getSourceContext()); + ret.setCheckedExceptions(forceTypeXs(in.getExceptions())); + return ret; } private TypeX forceTypeX(TypeX typeX) {