Bug 216178 - Parameter annotation matching
Summary: Parameter annotation matching
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.6.0M1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 1.6.0 M2   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-22 14:30 EST by Andrew Clement CLA
Modified: 2008-02-26 19:27 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2008-01-22 14:30:56 EST
AspectJ does not currently support parameter or package annotations.  We should support parameter annotations.  kind of thing you want to do:

public void foo(@NotNull String p) {
}

before(NotNull p): execution(* *(..)) && @parameters(p) {
  Assert.notNull(p," Should not be null");
}
Comment 1 Andrew Clement CLA 2008-02-26 19:27:07 EST
Implemented !