aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc/src
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-09 11:31:40 +0000
committeraclement <aclement>2006-01-09 11:31:40 +0000
commit3cadffc3529d94894dfa955497edcfae257c95a6 (patch)
tree57f8df3a9ce07e6cdfcffc3a44eb1e82dce62018 /ajdoc/src
parent06c7f82ea977dc9c03b249f9c65289555496c925 (diff)
downloadaspectj-3cadffc3529d94894dfa955497edcfae257c95a6.tar.gz
aspectj-3cadffc3529d94894dfa955497edcfae257c95a6.zip
fix from comment #14 on bug 119453 to do with incorrect results for decp statements. (from helen)
Diffstat (limited to 'ajdoc/src')
-rw-r--r--ajdoc/src/org/aspectj/tools/ajdoc/HtmlDecorator.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/ajdoc/src/org/aspectj/tools/ajdoc/HtmlDecorator.java b/ajdoc/src/org/aspectj/tools/ajdoc/HtmlDecorator.java
index c43e78f64..4b8b679cf 100644
--- a/ajdoc/src/org/aspectj/tools/ajdoc/HtmlDecorator.java
+++ b/ajdoc/src/org/aspectj/tools/ajdoc/HtmlDecorator.java
@@ -704,6 +704,9 @@ class HtmlDecorator {
*/
private static String generateModifierInformation(IProgramElement decl, boolean isDetails) {
String intro = "";
+ if (decl.getKind().isDeclare()) {
+ return intro + "</TT>";
+ }
if (isDetails ||
!decl.getAccessibility().equals(IProgramElement.Accessibility.PUBLIC)) {
intro += "<TT>" + decl.getAccessibility().toString() + "&nbsp;" ;