diff options
author | aclement <aclement> | 2008-06-11 17:24:45 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-11 17:24:45 +0000 |
commit | 7ceeb0b26a83c56bee579aed4e42b458f1f3469c (patch) | |
tree | ca86cf1e525f6ef17c1f9d88b733f8091568ed65 /org.aspectj.ajdt.core | |
parent | 71459e4052ad7022ad94d4f4eca55b2789e1b9a5 (diff) | |
download | aspectj-7ceeb0b26a83c56bee579aed4e42b458f1f3469c.tar.gz aspectj-7ceeb0b26a83c56bee579aed4e42b458f1f3469c.zip |
164340: ajdoc fix and test
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java index 4385e2a99..c1e7eb847 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java @@ -678,7 +678,9 @@ public class AsmHierarchyBuilder extends ASTVisitor { startIndex = ((FieldDeclaration)astNode).declarationSourceStart; } else if (astNode instanceof TypeDeclaration) { startIndex = ((TypeDeclaration)astNode).declarationSourceStart; - } + } else if (astNode instanceof ConstructorDeclaration) { + startIndex = ((ConstructorDeclaration)astNode).declarationSourceStart; + } if (startIndex == -1) { return null; @@ -795,6 +797,7 @@ public class AsmHierarchyBuilder extends ASTVisitor { formatter.setParameters(constructorDeclaration, peNode); peNode.setModifiers(constructorDeclaration.modifiers); peNode.setSourceSignature(genSourceSignature(constructorDeclaration)); + peNode.setFormalComment(generateJavadocComment(constructorDeclaration)); // Fix to enable us to anchor things from ctor nodes if (constructorDeclaration.binding != null) { |