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