AOWP_Pointcut
└─AOWP_PointcutComposition
public class AOWP_PointcutComposition
extends AOWP_Pointcut
| Field Summary | |
|---|---|
| final str | |
| final str | |
| private mixed | |
| private mixed | |
| private mixed | |
| Fields inherited from aowp.aspect.pointcut.AOWP_Pointcut | |
|---|---|
| _advice, _notFlag | |
| Constructor Summary | |
|---|---|
AOWP_PointcutComposition(mixed leftPC, mixed rightnPC, mixed sign) |
|
| Method Summary | |
|---|---|
| protected void | _isJoinPointShadow(mixed joinPoint) |
| protected void | _runtimeMatch(mixed joinPoint) |
| void | isHavePointcut(mixed pointcut) |
| void | isJoinPointShadow(mixed joinPoint) |
| mixed | opNot() ド・モルガンの定理に基づいて、 左辺と右辺のそれぞれのポイントカットにNotを適用します。 |
| void | runtimeMatch(mixed joinPoint) |
| void | setAdvice(mixed advice) |
| Methods inherited from aowp.aspect.pointcut.AOWP_Pointcut | |
|---|---|
| __clone, _getAspectInstance, _isJoinPointShadow, _runtimeMatch, isHavePointcut, isJoinPointShadow, isNot, opAnd, opNot, opOr, patternMatch, runtimeMatch, setAdvice | |
public final str AND_SIGN = '&'
public final str OR_SIGN = '|'
private mixed $_leftPC
private mixed $_rightPC
private mixed $_sign
public AOWP_PointcutComposition(mixed leftPC, mixed rightnPC, mixed sign)
protected void _isJoinPointShadow(mixed joinPoint)
protected void _runtimeMatch(mixed joinPoint)
public void isHavePointcut(mixed pointcut)
public void isJoinPointShadow(mixed joinPoint)
public mixed opNot()
ド・モルガンの定理に基づいて、 左辺と右辺のそれぞれのポイントカットにNotを適用します。
public void runtimeMatch(mixed joinPoint)
public void setAdvice(mixed advice)
ポイントカット記述子の組み合わせを実現するクラスです。
Pointcut::orAnd、Pointcut::opOrを呼び出した時に、Pointcutクラスの中で内部的に、このクラスのインスタンスが生成されており、 通常、プログラマがこのインスタンスを直接使う事は少ないかと思います。