diff options
author | jhugunin <jhugunin> | 2003-01-15 05:06:28 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-01-15 05:06:28 +0000 |
commit | c65916fdf0155a2bc0d70dc3603ac0087666ab31 (patch) | |
tree | eed2e1cd83b9378b7efb675b0e67263bc1d3e2a7 /org.aspectj.ajdt.core | |
parent | f49e3fcacfa5d52f28410bc5010312be025498fd (diff) | |
download | aspectj-c65916fdf0155a2bc0d70dc3603ac0087666ab31.tar.gz aspectj-c65916fdf0155a2bc0d70dc3603ac0087666ab31.zip |
don't forget the checked exceptions
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseBinaryType.java | 6 |
1 files changed, 5 insertions, 1 deletions
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) { |