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, writeOutChanges
private MethodBodyReturnReplacementTarget(MethodBodyReturn method) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void inject(java.lang.String value) throws org.apache.maven.plugin.MojoExecutionException
BytecodeInjectionMojo.InjectionTarget
value
- The value to inject.org.apache.maven.plugin.MojoExecutionException
- Indicates a problem performing the injection.