Interface Advice.Dispatcher.Unresolved

    • Method Detail

      • isBinary

        boolean isBinary()
        Indicates that this dispatcher requires access to the class file declaring the advice method.
        Returns:
        true if this dispatcher requires access to the advice method's class file.
      • getAdviceType

        TypeDescription getAdviceType()
        The type that is produced as a result of executing this advice method.
        Returns:
        A description of the type that is produced by this advice method.
      • asMethodEnter

        Advice.Dispatcher.Resolved.ForMethodEnter asMethodEnter​(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
                                                                org.objectweb.asm.ClassReader classReader,
                                                                Advice.Dispatcher.Unresolved methodExit)
        Resolves this dispatcher as a dispatcher for entering a method.
        Parameters:
        userFactories - A list of custom factories for binding parameters of an advice method.
        classReader - A class reader to query for a class file which might be null if this dispatcher is not binary.
        methodExit - The unresolved dispatcher for the method exit advice.
        Returns:
        This dispatcher as a dispatcher for entering a method.
      • asMethodExit

        Advice.Dispatcher.Resolved.ForMethodExit asMethodExit​(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
                                                              org.objectweb.asm.ClassReader classReader,
                                                              Advice.Dispatcher.Unresolved methodEnter)
        Resolves this dispatcher as a dispatcher for exiting a method.
        Parameters:
        userFactories - A list of custom factories for binding parameters of an advice method.
        classReader - A class reader to query for a class file which might be null if this dispatcher is not binary.
        methodEnter - The unresolved dispatcher for the method enter advice.
        Returns:
        This dispatcher as a dispatcher for exiting a method.