~ubuntu-branches/ubuntu/natty/aspectj/natty

« back to all changes in this revision

Viewing changes to org.aspectj/modules/org.aspectj.ajdt.core/testdata/src1/Declares.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2009-10-04 16:37:23 UTC
  • mfrom: (1.1.3 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091004163723-ck4y7j7fhjxskkie
Tags: 1.6.6+dfsg-1
* New upstream release.
  - Update 02_use_gjdoc.diff patch
* Update my email address

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
public class Declares {
2
 
        public void m() {  // should be error on this line
3
 
        }
4
 
}
5
 
 
6
 
aspect Checker {
7
 
    declare error: execution(* m()): "too short method name";
8
 
    declare error: execution(* n()): "too short method name";  // no effect
9
 
    
10
 
    //declare warning: exec: "bar";
11
 
}
12
 
 
13