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

public abstract class AbstractTransformTask extends AbstractProcessTask
  • Field Summary

    Fields inherited from class org.apache.tools.ant.Task

    target, taskName, taskType, wrapper

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.objectweb.asm.Attribute[]
     
    protected abstract ClassTransformer
    returns transformation for source class
    protected int
     
    protected boolean
     
    protected boolean
     
    protected void
     
    protected void
     
    void
    setVerbose(boolean verbose)
     

    Methods inherited from class net.sf.cglib.transform.AbstractProcessTask

    addFileset, beforeExecute, execute, getFiles

    Methods 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, setTaskType

    Methods inherited from class org.apache.tools.ant.ProjectComponent

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractTransformTask

      public AbstractTransformTask()
  • Method Details

    • setVerbose

      public void setVerbose(boolean verbose)
    • getClassTransformer

      protected abstract ClassTransformer getClassTransformer(String[] classInfo)
      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

      protected void processFile(File file) throws Exception
      Specified by:
      processFile in class AbstractProcessTask
      Throws:
      Exception
    • getFlags

      protected int getFlags()
    • isClassFile

      protected boolean isClassFile(File file) throws IOException
      Throws:
      IOException
    • processJarFile

      protected void processJarFile(File file) throws Exception
      Throws:
      Exception
    • isJarFile

      protected boolean isJarFile(File file) throws IOException
      Throws:
      IOException