Class BytecodeInjectionMojo.BaseInjectionTarget
- java.lang.Object
-
- org.jboss.maven.plugins.injection.BytecodeInjectionMojo.BaseInjectionTarget
-
- All Implemented Interfaces:
BytecodeInjectionMojo.InjectionTarget
- Direct Known Subclasses:
BytecodeInjectionMojo.ConstantInjectionTarget
,BytecodeInjectionMojo.MethodBodyReturnReplacementTarget
- Enclosing class:
- BytecodeInjectionMojo
private abstract class BytecodeInjectionMojo.BaseInjectionTarget extends java.lang.Object implements BytecodeInjectionMojo.InjectionTarget
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
classFileLocation
private javassist.CtClass
ctClass
private TargetMember
targetMember
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseInjectionTarget(TargetMember targetMember)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getClassFileLocation()
javassist.CtClass
getCtClass()
TargetMember
getTargetMember()
protected void
writeOutChanges()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.maven.plugins.injection.BytecodeInjectionMojo.InjectionTarget
inject
-
-
-
-
Field Detail
-
targetMember
private final TargetMember targetMember
-
classFileLocation
private final java.io.File classFileLocation
-
ctClass
private final javassist.CtClass ctClass
-
-
Constructor Detail
-
BaseInjectionTarget
protected BaseInjectionTarget(TargetMember targetMember) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-
Method Detail
-
getTargetMember
public TargetMember getTargetMember()
-
getClassFileLocation
public java.io.File getClassFileLocation()
-
getCtClass
public javassist.CtClass getCtClass()
-
writeOutChanges
protected void writeOutChanges() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-