diff options
Diffstat (limited to 'asm/src/org/aspectj/asm/IProgramElement.java')
-rw-r--r-- | asm/src/org/aspectj/asm/IProgramElement.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/asm/src/org/aspectj/asm/IProgramElement.java b/asm/src/org/aspectj/asm/IProgramElement.java index 9e077cf56..b51fd1731 100644 --- a/asm/src/org/aspectj/asm/IProgramElement.java +++ b/asm/src/org/aspectj/asm/IProgramElement.java @@ -383,6 +383,10 @@ public interface IProgramElement extends Serializable { return name.startsWith("declare @"); } + public boolean isDeclareParents() { + return name.startsWith("declare parents"); + } + // The 4 declarations below are necessary for serialization private static int nextOrdinal = 0; private final int ordinal = nextOrdinal++; @@ -397,5 +401,6 @@ public interface IProgramElement extends Serializable { } public void setAnnotationStyleDeclaration(boolean b); + public boolean isAnnotationStyleDeclaration(); }
\ No newline at end of file |