Class AgentBuilder.Transformer.ForAdvice.Entry.ForSplitAdvice

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.Transformer.ForAdvice.Entry
net.bytebuddy.agent.builder.AgentBuilder.Transformer.ForAdvice.Entry.ForSplitAdvice
Enclosing class:
AgentBuilder.Transformer.ForAdvice.Entry

@Enhance protected static class AgentBuilder.Transformer.ForAdvice.Entry.ForSplitAdvice extends AgentBuilder.Transformer.ForAdvice.Entry
An entry for an advice class where both entry and exit advice methods are declared by the different classes.
  • Field Details

    • enter

      private final String enter
      The fully-qualified, binary name of the enter advice class.
    • exit

      private final String exit
      The fully-qualified, binary name of the exit advice class.
  • Constructor Details

    • ForSplitAdvice

      protected ForSplitAdvice(LatentMatcher<? super MethodDescription> matcher, String enter, String exit)
      Creates a new entry for an advice class with explicit entry and exit advice classes.
      Parameters:
      matcher - The matcher for advised methods.
      enter - The fully-qualified, binary name of the enter advice class.
      exit - The fully-qualified, binary name of the exit advice class.
  • Method Details