private abstract class BytecodeInjectionMojo.BaseInjectionTarget extends java.lang.Object implements BytecodeInjectionMojo.InjectionTarget
Modifier and Type | Field and Description |
---|---|
private java.io.File |
classFileLocation |
private javassist.CtClass |
ctClass |
private TargetMember |
targetMember |
Modifier | Constructor and Description |
---|---|
protected |
BaseInjectionTarget(TargetMember targetMember) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getClassFileLocation() |
javassist.CtClass |
getCtClass() |
TargetMember |
getTargetMember() |
protected void |
writeOutChanges() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inject
private final TargetMember targetMember
private final java.io.File classFileLocation
private final javassist.CtClass ctClass
protected BaseInjectionTarget(TargetMember targetMember) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public TargetMember getTargetMember()
public java.io.File getClassFileLocation()
public javassist.CtClass getCtClass()
protected void writeOutChanges() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException