类 AbstractTransformTask

  • 所有已实现的接口:
    java.lang.Cloneable

    public abstract class AbstractTransformTask
    extends AbstractProcessTask
    • 字段概要

      • 从类继承的字段 org.apache.tools.ant.Task

        target, taskName, taskType, wrapper
      • 从类继承的字段 org.apache.tools.ant.ProjectComponent

        description, location, project
    • 方法概要

      所有方法 实例方法 抽象方法 具体方法 
      修饰符和类型 方法 说明
      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)  
      • 从类继承的方法 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
      • 从类继承的方法 org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
      • 从类继承的方法 java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • AbstractTransformTask

        public AbstractTransformTask()
    • 方法详细资料

      • setVerbose

        public void setVerbose​(boolean verbose)
      • getClassTransformer

        protected abstract ClassTransformer getClassTransformer​(java.lang.String[] classInfo)
        returns transformation for source class
        参数:
        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​(java.io.File file)
                            throws java.lang.Exception
        指定者:
        processFile 在类中 AbstractProcessTask
        抛出:
        java.lang.Exception
      • getFlags

        protected int getFlags()
      • isClassFile

        protected boolean isClassFile​(java.io.File file)
                               throws java.io.IOException
        抛出:
        java.io.IOException
      • processJarFile

        protected void processJarFile​(java.io.File file)
                               throws java.lang.Exception
        抛出:
        java.lang.Exception
      • isJarFile

        protected boolean isJarFile​(java.io.File file)
                             throws java.io.IOException
        抛出:
        java.io.IOException