Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] CFlow semantic and help

Eric Bodden ha scritto:

	after(): b() && if(this.state==State.matchedA) {
		this.state = State.matchedB; // <<< must be B
	}

	after(): c() && if(this.state==State.matchedB) {
		this.state = State.matchedC; // <<< must be C
	}

i tried your solution in eclipse, but i can't compile it.

i get: "Cannot make a static reference to the non-static field state"

any idea ?
i'm using eclipse, ajdt tools, eclipse 3.1M5a.

thanks, Valerio


Back to the top