aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-18 09:35:18 +0000
committeracolyer <acolyer>2005-08-18 09:35:18 +0000
commite6dd6008a53908d96b21f4c07e84a0ec983ec595 (patch)
tree71d89399afa24951425fa7936ef44c9371c584b2 /weaver
parent4a5c56c32b142fe6decf40ee32d942bc50a5a7ac (diff)
downloadaspectj-e6dd6008a53908d96b21f4c07e84a0ec983ec595.tar.gz
aspectj-e6dd6008a53908d96b21f4c07e84a0ec983ec595.zip
also parameterize annotation pattern
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java b/weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java
index 0b0b6aed3..c9a5d5a15 100644
--- a/weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java
+++ b/weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java
@@ -301,10 +301,8 @@ public class ExactTypePattern extends TypePattern {
newType = type.parameterize(typeVariableMap);
}
ExactTypePattern ret = new ExactTypePattern(newType,includeSubtypes,isVarArgs);
- ret.annotationPattern = annotationPattern;
- ret.start = start;
- ret.end = end;
- ret.sourceContext = sourceContext;
+ ret.annotationPattern = annotationPattern.parameterizeWith(typeVariableMap);
+ ret.copyLocationFrom(this);
return ret;
}