aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authormkersten <mkersten>2005-05-12 06:53:15 +0000
committermkersten <mkersten>2005-05-12 06:53:15 +0000
commit7b7c7b2fb25e09660f066e556a5008545d655f6f (patch)
treead54b98b1f456dd472b64a4901e146abf09e14b1 /org.aspectj.ajdt.core
parent359b2b075018517eb608036e62ba37a644a29a30 (diff)
downloadaspectj-7b7c7b2fb25e09660f066e556a5008545d655f6f.tar.gz
aspectj-7b7c7b2fb25e09660f066e556a5008545d655f6f.zip
Andrew's patch for: bug#82755 update ajdoc to support Java 5 language features
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java7
1 files changed, 4 insertions, 3 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 460de15f4..04d2bde9f 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
@@ -578,12 +578,13 @@ public class AsmHierarchyBuilder extends ASTVisitor {
/**
* Doesn't print qualified allocation expressions.
*/
- protected String genSourceSignature(FieldDeclaration fieldDeclaration) {
+ protected String genSourceSignature(FieldDeclaration fieldDeclaration) {
StringBuffer output = new StringBuffer();
- FieldDeclaration.printModifiers(fieldDeclaration.modifiers, output);
if (fieldDeclaration.type == null) { // This is an enum value
- output.append(fieldDeclaration.binding.type.debugName()).append(" ").append(fieldDeclaration.name);
+ output.append(fieldDeclaration.name); // ajh02: the "," or ";" has to be put on by whatever uses the sourceSignature
+ return output.toString();
} else {
+ FieldDeclaration.printModifiers(fieldDeclaration.modifiers, output);
fieldDeclaration.type.print(0, output).append(' ').append(fieldDeclaration.name);
}