aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2005-04-19 12:22:51 +0000
committeraclement <aclement>2005-04-19 12:22:51 +0000
commit29bcb502601e39a95e1272caee652c8156aef819 (patch)
tree0e78ee88df8cf493ca2263de39a271ed5b171bea /weaver
parent32a4dbb9b3d436da05dc1d06aaf203a32208c83e (diff)
downloadaspectj-29bcb502601e39a95e1272caee652c8156aef819.tar.gz
aspectj-29bcb502601e39a95e1272caee652c8156aef819.zip
from branch: processes @AJ stuff on a field
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelField.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelField.java b/weaver/src/org/aspectj/weaver/bcel/BcelField.java
index 0f415ffb2..ee8d51bc5 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelField.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelField.java
@@ -27,6 +27,7 @@ import org.aspectj.weaver.ResolvedMember;
import org.aspectj.weaver.ResolvedTypeX;
import org.aspectj.weaver.TypeX;
import org.aspectj.weaver.World;
+import org.aspectj.weaver.ataspectj.Aj5Attributes;
final class BcelField extends ResolvedMember {
@@ -54,7 +55,9 @@ final class BcelField extends ResolvedMember {
private void unpackAttributes(World world) {
Attribute[] attrs = field.getAttributes();
- List as = BcelAttributes.readAjAttributes(getDeclaringType().getClassName(),attrs, getSourceContext(world),world.getMessageHandler());
+ List as = BcelAttributes.readAjAttributes(getDeclaringType().getClassName(),attrs, getSourceContext(world),world.getMessageHandler());
+ as.addAll(Aj5Attributes.readAj5FieldAttributes(field, world.resolve(getDeclaringType()), getSourceContext(world), world.getMessageHandler()));
+
for (Iterator iter = as.iterator(); iter.hasNext();) {
AjAttribute a = (AjAttribute) iter.next();
if (a instanceof AjAttribute.AjSynthetic) {