Class Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithRetainedEnterType

    • Constructor Detail

      • WithRetainedEnterType

        protected WithRetainedEnterType​(MethodDescription.InDefinedShape adviceMethod,
                                        java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories)
        Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.
        Parameters:
        adviceMethod - The represented advice method.
        userFactories - A list of user-defined factories for offset mappings.
    • Method Detail

      • getEnterType

        public TypeDefinition getEnterType()
        Description copied from interface: Advice.Dispatcher.Resolved.ForMethodEnter
        Returns the type that this dispatcher supplies as a result of its advice or a description of void if no type is supplied as a result of the enter advice.
        Returns:
        The type that this dispatcher supplies as a result of its advice or a description of void.