diff options
-rw-r--r-- | asm/src/org/aspectj/asm/IProgramElement.java | 5 | ||||
-rw-r--r-- | asm/src/org/aspectj/asm/internal/ProgramElement.java | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/asm/src/org/aspectj/asm/IProgramElement.java b/asm/src/org/aspectj/asm/IProgramElement.java index 180e6e693..ccf59247f 100644 --- a/asm/src/org/aspectj/asm/IProgramElement.java +++ b/asm/src/org/aspectj/asm/IProgramElement.java @@ -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 diff --git a/asm/src/org/aspectj/asm/internal/ProgramElement.java b/asm/src/org/aspectj/asm/internal/ProgramElement.java index 1bed76f0e..1462449b7 100644 --- a/asm/src/org/aspectj/asm/internal/ProgramElement.java +++ b/asm/src/org/aspectj/asm/internal/ProgramElement.java @@ -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); + } } |