aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asm/src/org/aspectj/asm/IProgramElement.java2
-rw-r--r--asm/src/org/aspectj/asm/internal/ProgramElement.java8
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);
}