diff options
Diffstat (limited to 'asm/src/org/aspectj/asm/IProgramElement.java')
-rw-r--r-- | asm/src/org/aspectj/asm/IProgramElement.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/src/org/aspectj/asm/IProgramElement.java b/asm/src/org/aspectj/asm/IProgramElement.java index d1175df74..8223c176b 100644 --- a/asm/src/org/aspectj/asm/IProgramElement.java +++ b/asm/src/org/aspectj/asm/IProgramElement.java @@ -351,6 +351,10 @@ public interface IProgramElement extends Serializable { return name.startsWith("declare"); } + public boolean isDeclareAnnotation() { + return name.startsWith("declare @"); + } + // The 4 declarations below are necessary for serialization private static int nextOrdinal = 0; private final int ordinal = nextOrdinal++; |