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, getFiles
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public 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 AbstractProcessTask
Exception
protected int getFlags()
protected boolean isClassFile(File file) throws IOException
IOException
protected boolean isJarFile(File file) throws IOException
IOException
Copyright © 2018. All rights reserved.