Class NoTracer

  • All Implemented Interfaces:
    ITracer
    Direct Known Subclasses:
    NoTracer

    public class NoTracer
    extends AbstractTracerBase
    Implements a tracer which does noting.
    Author:
    Holger Eichelberger
    • Field Detail

      • INSTANCE

        public static final ITracer INSTANCE
    • Constructor Detail

      • NoTracer

        public NoTracer()
    • Method Detail

      • visitingCallExpression

        public void visitingCallExpression​(OperationDescriptor descriptor,
                                           CallExpression.CallType callType,
                                           java.lang.Object[] args)
        Description copied from interface: ITracer
        Is called before a resolved call expression is actually executed. Do not modify the parameters!
        Parameters:
        descriptor - the descriptor to be called
        callType - the type of the call
        args - the actual arguments
      • visitedCallExpression

        public void visitedCallExpression​(OperationDescriptor descriptor,
                                          CallExpression.CallType callType,
                                          java.lang.Object[] args,
                                          java.lang.Object result)
        Description copied from interface: ITracer
        Is called after a resolved call expression is actually executed. Do not modify the parameters!
        Parameters:
        descriptor - the descriptor to be called
        callType - the type of the call
        args - the actual arguments
        result - the result of the call
      • failedAt

        public void failedAt​(Expression expression)
        Description copied from interface: ITracer
        Is called when the evaluation of an expression caused an execution failure.
        Parameters:
        expression - the failing expression