Package net.sf.cglib.transform
Class AbstractTransformTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sf.cglib.transform.AbstractProcessTask
net.sf.cglib.transform.AbstractTransformTask
- All Implemented Interfaces:
Cloneable
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.objectweb.asm.Attribute[]protected abstract ClassTransformergetClassTransformer(String[] classInfo) returns transformation for source classprotected intgetFlags()protected booleanisClassFile(File file) protected booleanprotected voidprocessFile(File file) protected voidprocessJarFile(File file) voidsetVerbose(boolean verbose) Methods inherited from class net.sf.cglib.transform.AbstractProcessTask
addFileset, beforeExecute, execute, getFilesMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
AbstractTransformTask
public AbstractTransformTask()
-
-
Method Details
-
setVerbose
public void setVerbose(boolean verbose) -
getClassTransformer
returns transformation for source class- Parameters:
classInfo- class information class name := classInfo[ 0 ] super class name := classInfo[ 1 ] interfaces := classInfo[ >1 ]
-
attributes
protected org.objectweb.asm.Attribute[] attributes() -
processFile
- Specified by:
processFilein classAbstractProcessTask- Throws:
Exception
-
getFlags
protected int getFlags() -
isClassFile
- Throws:
IOException
-
processJarFile
- Throws:
Exception
-
isJarFile
- Throws:
IOException
-