Klasse IfPseudoToken

Alle implementierten Schnittstellen:
TypeConstants, TypeIds, IHasPosition, IToken

public class IfPseudoToken extends PseudoToken
(formals*): ... if(expr) ... generates the following: public static final boolean ajc$if_N(formals*, [thisJoinPoints as needed]) { return expr; } Here's the complicated bit, it deals with cflow: (a): ... this(a) && cflow(if (a == foo)) is an error. The way we capture this is: We generate the ajc$if method with an (a) parameter, we let eclipse do the proper name binding. We then, as a post pass (that we need to do anyway) look for the used parameters. If a is used, we signal an error because a was not one of the cflow variables. XXX we'll do this part after we do cflow The IfPointcut pcd then generates itself always as a dynamic test, it has to get the right parameters through any named pointcut references...