Interface Advice.AssignReturned.Handler.Factory<T extends java.lang.annotation.Annotation>

    • Method Detail

      • getAnnotationType

        java.lang.Class<T> getAnnotationType()
        Returns the annotation type that activates this handler factory.
        Returns:
        The annotation type that activates this handler factory.
      • make

        java.util.List<Advice.AssignReturned.Handler> make​(TypeDescription returnType,
                                                           boolean exit,
                                                           AnnotationDescription.Loadable<? extends T> annotation)
        Resolves a list of handlers for this factory.
        Parameters:
        returnType - The advice method's return type for which to resolve handlers.
        exit - true if this factory is applied for exit advice.
        annotation - The annotation that activated this handler factory.
        Returns:
        A list of handlers to apply.