diff options
author | aclement <aclement> | 2005-03-24 13:10:02 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-03-24 13:10:02 +0000 |
commit | 381de4c97d686dbbf52b297e8dac6dc5236f4e28 (patch) | |
tree | 2c8e544c8c2d4ae042fba7886119e48f0a622997 | |
parent | facce3e93ca7a276a4852b033d68a6bc2d667cf2 (diff) | |
download | aspectj-381de4c97d686dbbf52b297e8dac6dc5236f4e28.tar.gz aspectj-381de4c97d686dbbf52b297e8dac6dc5236f4e28.zip |
make deca labels 'declare @xxx' rather than 'declare at_xxx'
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java index 33716d45a..50a2a11c5 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java @@ -162,7 +162,9 @@ public class AsmElementFormatter { } else if (declare.declareDecl instanceof DeclareAnnotation) { DeclareAnnotation deca = (DeclareAnnotation)declare.declareDecl; - node.setName(name + deca.getKind()); + String thekind = deca.getKind().toString(); + node.setName(name+"@"+thekind.substring(3)); + if (deca.getKind()==DeclareAnnotation.AT_CONSTRUCTOR) { node.setKind(IProgramElement.Kind.DECLARE_ANNOTATION_AT_CONSTRUCTOR); } else if (deca.getKind()==DeclareAnnotation.AT_FIELD) { |