????
+--AbstractJoinPoint
+--org.as2lib.aop.joinpoint.MethodJoinPoint
+--org.as2lib.aop.joinpoint.ConstructorJoinPoint
ConstructorJoinPoint
represents a constructor as join point.
public function ConstructorJoinPoint(info:ConstructorInfo, thiz)
Constructs a new ConstructorJoinPoint
instance.
info | the info of the represented constructor |
thiz | the logical this of the interception |
IllegalArgumentException | if argument info is null or
undefined
|
public function getType(Void):Number
Returns the type of this join point.
AbstractJoinPoint#CONSTRUCTOR
getType() in org.as2lib.aop.JoinPoint
public function update(thiz):JoinPoint
Returns a copy of this join point with an updated logical this. This join point is left unchanged.
thiz | the new logical this |
a copy of this join point with an updated logical this
update() in org.as2lib.aop.JoinPoint
public function snapshot(Void):JoinPoint
Returns a copy of this join point that reflects its current state.
It is common practice to create a new join point for a not-fixed constructor info. This is when the underlying concrete constructor this join point reflects may change. To make the concrete constructor and other parts that may change fixed you can use this method to get a new fixed join point, a snapshot.
a snapshot of this join point
snapshot() in org.as2lib.aop.JoinPoint