Class Advice.Dispatcher.Inlining.Resolved.ForMethodExit

    • Field Detail

      • uninitializedNamedTypes

        private final java.util.Map<java.lang.String,​TypeDefinition> uninitializedNamedTypes
        A mapping of uninitialized local variables by their name.
      • backupArguments

        private final boolean backupArguments
        true if the arguments of the instrumented method should be copied before executing the instrumented method.
    • Constructor Detail

      • ForMethodExit

        protected ForMethodExit​(MethodDescription.InDefinedShape adviceMethod,
                                Advice.PostProcessor postProcessor,
                                java.util.Map<java.lang.String,​TypeDefinition> namedTypes,
                                java.util.Map<java.lang.String,​TypeDefinition> uninitializedNamedTypes,
                                java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
                                org.objectweb.asm.ClassReader classReader,
                                TypeDefinition enterType)
        Creates a new resolved dispatcher for implementing method exit advice.
        Parameters:
        adviceMethod - The represented advice method.
        postProcessor - The post processor to apply.
        namedTypes - A mapping of all available local variables by their name to their type.
        uninitializedNamedTypes - A mapping of all uninitialized local variables by their name to their type.
        userFactories - A list of user-defined factories for offset mappings.
        classReader - The class reader for parsing the advice method's class file.
        enterType - The type of the value supplied by the enter advice method or void if no such value exists.