Interface: AfterContext<T, X>
AspectJS • Docs
Interface: AfterContext<T, X>
Execution context passed to advices of type AfterAdvice
Type Parameters
• T extends PointcutKind
= PointcutKind
• X = object
Properties
annotations()
readonly
annotations: <S2
>(annotation
) =>AnnotationsSelector
<ToAnnotationKind
<T
>,S2
,unknown
>(...annotations
) =>AnnotationsSelector
<ToAnnotationKind
<T
>,AnnotationStub
,unknown
>
The annotations contexts *
Type Parameters
• S2 extends AnnotationStub
Parameters
• annotation: Annotation
<AnnotationKind
, S2
>
Returns
AnnotationsSelector
<ToAnnotationKind
<T
>, S2
, unknown
>
Parameters
• ...annotations: (AnnotationRef
| Annotation
<AnnotationKind
, AnnotationStub
>)[]
Returns
AnnotationsSelector
<ToAnnotationKind
<T
>, AnnotationStub
, unknown
>
Defined in
packages/core/src/advices/after/after.context.ts:18
args
readonly
args:any
[]
the arguments originally passed to the joinpoint *
Defined in
packages/core/src/advices/after/after.context.ts:24
instance
readonly
instance:X
The 'this' instance bound to the current execution context *
Defined in
packages/core/src/advices/after/after.context.ts:22
target
readonly
target:AdviceTarget
<T
,X
>
The symbol targeted by this advice (class, method, property or parameter *
Defined in
packages/core/src/advices/after/after.context.ts:26