Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327282 - [reconciling] Reconcile problems when using static inner aspects
Summary: [reconciling] Reconcile problems when using static inner aspects
Status: NEW
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 2.1.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 2.1.2   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 16:25 EDT by Andrew Eisenberg CLA
Modified: 2010-10-07 16:25 EDT (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 Eisenberg CLA 2010-10-07 16:25:50 EDT
From the mailing list.  Our handling of static inner aspects is weak and therefore this problem is occurring:

==========================
I just came across what seems to be a bug. It affects the following code:

public class A {
	void foo() {		
	}
	private static aspect B {
		before() : execution(* *(..)) {
		}
	}
}

Two warnings are generated:
In the aspect header: The type A.B is never used locally
In the advice header: The method b() from the type A.B is never used locally
I'm using:
Eclipse 3.6.1, Build id: M20100909-0800
AJDT 2.1.1.e36x-20101006-1400 (with AspectJ version: 1.6.10.20101003133000)

What do you think?

Manuel
==========================