Class Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithDiscardedEnterType

    • Constructor Detail

      • WithDiscardedEnterType

        protected WithDiscardedEnterType​(MethodDescription.InDefinedShape adviceMethod,
                                         java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
                                         org.objectweb.asm.ClassReader classReader)
        Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.
        Parameters:
        adviceMethod - The represented advice method.
        userFactories - A list of user-defined factories for offset mappings.
        classReader - A class reader to query for the class file of the advice method.
    • 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.