public abstract class AbstractTransformTask extends AbstractProcessTask
| Constructor | Description |
|---|---|
AbstractTransformTask() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.objectweb.asm.Attribute[] |
attributes() |
|
protected abstract ClassTransformer |
getClassTransformer(java.lang.String[] classInfo) |
returns transformation for source class
|
protected int |
getFlags() |
|
protected boolean |
isClassFile(java.io.File file) |
|
protected boolean |
isJarFile(java.io.File file) |
|
protected void |
processFile(java.io.File file) |
|
protected void |
processJarFile(java.io.File file) |
|
void |
setVerbose(boolean verbose) |
addFileset, beforeExecute, execute, getFilesequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setVerbose(boolean verbose)
protected abstract ClassTransformer getClassTransformer(java.lang.String[] classInfo)
classInfo - class information
class name := classInfo[ 0 ]
super class name := classInfo[ 1 ]
interfaces := classInfo[ >1 ]protected org.objectweb.asm.Attribute[] attributes()
protected void processFile(java.io.File file)
throws java.lang.Exception
processFile in class AbstractProcessTaskjava.lang.Exceptionprotected int getFlags()
protected boolean isClassFile(java.io.File file)
throws java.io.IOException
java.io.IOExceptionprotected void processJarFile(java.io.File file)
throws java.lang.Exception
java.lang.Exceptionprotected boolean isJarFile(java.io.File file)
throws java.io.IOException
java.io.IOException