From: aclement Date: Fri, 14 Nov 2008 10:27:44 +0000 (+0000) Subject: 252702: c9 X-Git-Tag: V1_6_3rc1~94 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ee99db122b5a183f0e7efe3969b642708a77ee75;p=aspectj.git 252702: c9 --- 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); }