diff options
author | aclement <aclement> | 2008-11-14 10:27:44 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-11-14 10:27:44 +0000 |
commit | ee99db122b5a183f0e7efe3969b642708a77ee75 (patch) | |
tree | 4150e53a1111b3d24de1179b4a7310627f5e8734 /asm | |
parent | 96b6efff414aecc3095787cba34ec960b4e5e811 (diff) | |
download | aspectj-ee99db122b5a183f0e7efe3969b642708a77ee75.tar.gz aspectj-ee99db122b5a183f0e7efe3969b642708a77ee75.zip |
252702: c9
Diffstat (limited to 'asm')
-rw-r--r-- | asm/src/org/aspectj/asm/IProgramElement.java | 2 | ||||
-rw-r--r-- | asm/src/org/aspectj/asm/internal/ProgramElement.java | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/asm/src/org/aspectj/asm/IProgramElement.java b/asm/src/org/aspectj/asm/IProgramElement.java index 36d5e10e0..b67c84f2d 100644 --- a/asm/src/org/aspectj/asm/IProgramElement.java +++ b/asm/src/org/aspectj/asm/IProgramElement.java @@ -197,6 +197,8 @@ public interface IProgramElement extends Serializable { public AsmManager getModel(); + public int getRawModifiers(); + /** * Uses "typesafe enum" pattern. */ diff --git a/asm/src/org/aspectj/asm/internal/ProgramElement.java b/asm/src/org/aspectj/asm/internal/ProgramElement.java index 8ae9ad07b..8d3f74044 100644 --- a/asm/src/org/aspectj/asm/internal/ProgramElement.java +++ b/asm/src/org/aspectj/asm/internal/ProgramElement.java @@ -54,9 +54,9 @@ public class ProgramElement implements IProgramElement { private Kind kind; protected IProgramElement parent = null; protected List children = Collections.EMPTY_LIST; - private Map kvpairs = Collections.EMPTY_MAP; + public Map kvpairs = Collections.EMPTY_MAP; protected ISourceLocation sourceLocation = null; - private int modifiers; + public int modifiers; private String handle = null; // --- ctors @@ -119,6 +119,10 @@ public class ProgramElement implements IProgramElement { // // this.relations = relations; // } + public int getRawModifiers() { + return this.modifiers; + } + public List getModifiers() { return genModifiers(this.modifiers); } |