public abstract class AbstractTransformTask extends AbstractProcessTask
| Constructor and Description |
|---|
AbstractTransformTask() |
| Modifier and Type | Method and 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, getFilespublic 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.IOExceptionCopyright © 2013 Oracle Corporation. All Rights Reserved.