aboutsummaryrefslogtreecommitdiffstats
path: root/asm/src
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-13 17:07:57 +0000
committeraclement <aclement>2006-01-13 17:07:57 +0000
commitdd1203a376d6b0dcc865735cf50288a83e710b05 (patch)
treef3ff2e94d970544d2e9db9c7b5bcdb7e2f691983 /asm/src
parentab2150f267eef2ec565cc596b2e0e0412a3bd290 (diff)
downloadaspectj-dd1203a376d6b0dcc865735cf50288a83e710b05.tar.gz
aspectj-dd1203a376d6b0dcc865735cf50288a83e710b05.zip
more ajdoc changes - see pr121711 - from Helen.
Diffstat (limited to 'asm/src')
-rw-r--r--asm/src/org/aspectj/asm/IProgramElement.java4
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++;