Class BytecodeInjectionMojo.MethodBodyReturnReplacementTarget

    • Field Detail

      • ctMethod

        private final javassist.CtMethod ctMethod
    • Constructor Detail

      • MethodBodyReturnReplacementTarget

        private MethodBodyReturnReplacementTarget​(MethodBodyReturn method)
                                           throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
    • Method Detail

      • inject

        public void inject​(java.lang.String value)
                    throws org.apache.maven.plugin.MojoExecutionException
        Description copied from interface: BytecodeInjectionMojo.InjectionTarget
        Inject the given value per this target's strategy.
        Parameters:
        value - The value to inject.
        Throws:
        org.apache.maven.plugin.MojoExecutionException - Indicates a problem performing the injection.