Interface Advice.AssignReturned.Handler.Factory<T extends Annotation>

Type Parameters:
T - The annotation type that activates this handler factory.
All Known Implementing Classes:
Advice.AssignReturned.Handler.Factory.Simple, Advice.AssignReturned.ToAllArguments.Handler.Factory, Advice.AssignReturned.ToArguments.Handler.Factory, Advice.AssignReturned.ToFields.Handler.Factory, Advice.AssignReturned.ToReturned.Handler.Factory, Advice.AssignReturned.ToThis.Handler.Factory, Advice.AssignReturned.ToThrown.Handler.Factory
Enclosing interface:
Advice.AssignReturned.Handler

public static interface Advice.AssignReturned.Handler.Factory<T extends Annotation>
A factory for resolving a handler for a given advice method.
  • Method Details

    • getAnnotationType

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

      Resolves a list of handlers for this factory.
      Parameters:
      advice - The advice method 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.