summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-01-15 05:06:28 +0000
committerjhugunin <jhugunin>2003-01-15 05:06:28 +0000
commitc65916fdf0155a2bc0d70dc3603ac0087666ab31 (patch)
treeeed2e1cd83b9378b7efb675b0e67263bc1d3e2a7 /org.aspectj.ajdt.core
parentf49e3fcacfa5d52f28410bc5010312be025498fd (diff)
downloadaspectj-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.java6
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) {