From c65916fdf0155a2bc0d70dc3603ac0087666ab31 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Wed, 15 Jan 2003 05:06:28 +0000 Subject: [PATCH] don't forget the checked exceptions --- .../ajdt/internal/compiler/lookup/EclipseBinaryType.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) { -- 2.39.5