Bug 48796

Summary: permit constant string concatenation in declare warning
Product: [Tools] AspectJ Reporter: Wes Isberg <wes>
Component: CompilerAssignee: Jim Hugunin <jim-aj>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Wes Isberg CLA 2003-12-15 16:22:18 EST
It would be nice if you could use compile-time constants to concatenate the
String message used in declare warning:

private static final String LABEL = "foo";
declare warning : staticinitialization(*) : "si " + LABEL;
declare warning : initialization(*) : "ii " + LABEL;

(per Peter Kalmus)
Comment 1 Jim Hugunin CLA 2004-01-07 04:29:04 EST
this adds another specific feature request to the general issue discussed in 
the bug 48080.  I'm marking as a dup to move all of the discussion there.  I 
don't think this changes the basic conclusion there in any way.

*** This bug has been marked as a duplicate of 48080 ***