private class BytecodeInjectionMojo.MethodBodyReturnReplacementTarget extends BytecodeInjectionMojo.BaseInjectionTarget
| Modifier and Type | Field and Description |
|---|---|
private javassist.CtMethod |
ctMethod |
| Modifier | Constructor and Description |
|---|---|
private |
MethodBodyReturnReplacementTarget(MethodBodyReturn method) |
| Modifier and Type | Method and Description |
|---|---|
void |
inject(java.lang.String value)
Inject the given value per this target's strategy.
|
getClassFileLocation, getCtClass, getTargetMember, writeOutChangesprivate MethodBodyReturnReplacementTarget(MethodBodyReturn method) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void inject(java.lang.String value)
throws org.apache.maven.plugin.MojoExecutionException
BytecodeInjectionMojo.InjectionTargetvalue - The value to inject.org.apache.maven.plugin.MojoExecutionException - Indicates a problem performing the injection.