]> source.dussan.org Git - aspectj.git/commitdiff
322446: mechanism for a concrete aspect to remember the actual effects of any decps...
authoraclement <aclement>
Fri, 13 Aug 2010 15:44:45 +0000 (15:44 +0000)
committeraclement <aclement>
Fri, 13 Aug 2010 15:44:45 +0000 (15:44 +0000)
asm/src/org/aspectj/asm/IProgramElement.java
asm/src/org/aspectj/asm/internal/ProgramElement.java

index 180e6e693ba9621045fc0b9eecb639a26e3172a6..ccf59247fc778e01db1f5820a973605978c90fdb 100644 (file)
@@ -16,6 +16,7 @@ import java.io.ObjectStreamException;
 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
+import java.util.Map;
 
 import org.aspectj.bridge.IMessage;
 import org.aspectj.bridge.ISourceLocation;
@@ -414,4 +415,8 @@ public interface IProgramElement extends Serializable {
         * @return the fully qualified annotation type, eg. p.q.r.Foo
         */
        public String getAnnotationType();
+
+       public Map<String, List<String>> getDeclareParentsMap();
+
+       public void setDeclareParentsMap(Map<String, List<String>> newmap);
 }
\ No newline at end of file
index 1bed76f0e2e32cdd43ed0750e64d426f9e37c75e..1462449b74cebaa0922803c8317c706c8f688146 100644 (file)
@@ -668,4 +668,13 @@ public class ProgramElement implements IProgramElement {
                        kvpairs.put("annotationStyleDeclaration", "true");
                }
        }
+
+       public Map<String, List<String>> getDeclareParentsMap() {
+               Map<String, List<String>> s = (Map<String, List<String>>) kvpairs.get("declareparentsmap");
+               return s;
+       }
+
+       public void setDeclareParentsMap(Map<String, List<String>> newmap) {
+               kvpairs.put("declareparentsmap", newmap);
+       }
 }