private class BytecodeInjectionMojo.ConstantInjectionTarget extends BytecodeInjectionMojo.BaseInjectionTarget
| Modifier and Type | Field and Description |
|---|---|
private javassist.bytecode.FieldInfo |
ctFieldInfo |
| Modifier | Constructor and Description |
|---|---|
private |
ConstantInjectionTarget(Constant constant) |
| 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 ConstantInjectionTarget(Constant constant) 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.