Class BytecodeInjectionMojo.ConstantInjectionTarget

    • Field Detail

      • ctFieldInfo

        private final javassist.bytecode.FieldInfo ctFieldInfo
    • Constructor Detail

      • ConstantInjectionTarget

        private ConstantInjectionTarget​(Constant constant)
                                 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.