public abstract class AbstractTransformTask extends AbstractProcessTask
| Constructor and Description |
|---|
AbstractTransformTask() |
| Modifier and Type | Method and Description |
|---|---|
protected 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, getFilesbindToOwner, 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 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.