Cloneablepublic abstract class AbstractTransformTask extends AbstractProcessTask
| Constructor | Description |
|---|---|
AbstractTransformTask() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.objectweb.asm.Attribute[] |
attributes() |
|
protected abstract ClassTransformer |
getClassTransformer(String[] classInfo) |
returns transformation for source class
|
protected int |
getFlags() |
|
protected boolean |
isClassFile(File file) |
|
protected boolean |
isJarFile(File file) |
|
protected void |
processFile(File file) |
|
protected void |
processJarFile(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(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(File file) throws Exception
processFile in class AbstractProcessTaskExceptionprotected int getFlags()
protected boolean isClassFile(File file) throws IOException
IOExceptionprotected boolean isJarFile(File file) throws IOException
IOExceptionCopyright © 2018. All rights reserved.