Kaynağa Gözat

pointcuts for whether after/around advice is supported

tags/mostlyLastEclipse2xTree_20040112
wisberg 20 yıl önce
ebeveyn
işleme
1103c631dd

+ 6
- 1
docs/sandbox/common/org/aspectj/langlib/Pointcuts.java Dosyayı Görüntüle

@@ -40,7 +40,12 @@ public final class Pointcuts {
/** staticly-determinable to never match any join point */
public pointcut never();
// if(false) && execution(ThreadDeath *(ThreadDeath, ThreadDeath));
public pointcut afterAdviceSupported() : !handler(*);

public pointcut aroundAdviceSupported() : !handler(*)
&& !initialization(new(..)) && !preinitialization(new(..));

public pointcut anyMethodExecution() :
execution(* *(..));


Loading…
İptal
Kaydet