aboutsummaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authormkersten <mkersten>2005-10-05 16:15:43 +0000
committermkersten <mkersten>2005-10-05 16:15:43 +0000
commitab6c7a562a887b70c6b5ad0ac644e7af58394aa3 (patch)
tree061c4d30dd2a9f270d7d8a56b343bf87bde94611 /asm
parentaced19f8d64774cb18d33bc2252511f5a02ce53f (diff)
downloadaspectj-ab6c7a562a887b70c6b5ad0ac644e7af58394aa3.tar.gz
aspectj-ab6c7a562a887b70c6b5ad0ac644e7af58394aa3.zip
Fixed Bug #56779: [ajdoc] add ajdoc support for inter-type declarations and other declare forms
Also fixed ajdoc tests to run correctly when executed via RunTheseBeforeYouCommit tests (previously they were not being run and silently failing).
Diffstat (limited to 'asm')
-rw-r--r--asm/src/org/aspectj/asm/IRelationship.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/src/org/aspectj/asm/IRelationship.java b/asm/src/org/aspectj/asm/IRelationship.java
index 500ba5b4f..d54f13f7b 100644
--- a/asm/src/org/aspectj/asm/IRelationship.java
+++ b/asm/src/org/aspectj/asm/IRelationship.java
@@ -58,6 +58,14 @@ public interface IRelationship extends Serializable {
private final String name;
+ public boolean isDeclareKind() {
+ return this == DECLARE_WARNING
+ || this == DECLARE_ERROR
+ || this == DECLARE
+ || this == DECLARE_INTER_TYPE
+ || this == DECLARE_SOFT;
+ }
+
private Kind(String name) {
this.name = name;
}