~ubuntu-branches/ubuntu/wily/aspectj/wily-proposed

« back to all changes in this revision

Viewing changes to org.aspectj/modules/weaver/src/org/aspectj/weaver/bcel/BcelAnnotation.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2011-03-15 23:54:31 UTC
  • mfrom: (1.2.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110315235431-iq2gxbsx08kpwuiw
* New upstream release.
* Updated Standards-Version to 3.9.1 (no changes needed).
* Fix local Javadoc links:
  - d/patches/07_javadoc_links.diff: Use locally installed
   javadoc packages and hyperlink with them.
  - d/control: Add B-D on default-java-doc and libasm3-java-doc.
* d/control: Drop B-D on itself (our new bootstrap infrastructure doesn't need
  that anymore).
* Split packages into :
  - aspectj: only contains CLI tools.
  - libaspectj-java: JAR librairies for /usr/share/java.
  - libaspectj-java-doc: 4 API's Javadoc.
  - aspectj-doc: Programming Guides and SDK Documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
                this.bcelAnnotation = theBcelAnnotation;
45
45
        }
46
46
 
 
47
        public String toString() {
 
48
                StringBuffer sb = new StringBuffer();
 
49
                List<NameValuePair> nvPairs = bcelAnnotation.getValues();
 
50
                sb.append("Anno[" + getTypeSignature() + " " + (isRuntimeVisible() ? "rVis" : "rInvis"));
 
51
                if (nvPairs.size() > 0) {
 
52
                        sb.append(" ");
 
53
                        int i = 0;
 
54
                        for (NameValuePair element : nvPairs) {
 
55
                                if (i > 0) {
 
56
                                        sb.append(',');
 
57
                                }
 
58
                                sb.append(element.getNameString()).append("=").append(element.getValue().toString());
 
59
                                i++;
 
60
                        }
 
61
                }
 
62
                sb.append("]");
 
63
                return sb.toString();
 
64
        }
 
65
 
47
66
        /**
48
67
         * {@inheritDoc}
49
68
         */