|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.mockito.cglib.transform.AbstractProcessTask
org.mockito.cglib.transform.AbstractTransformTask
public abstract class AbstractTransformTask
| 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 | |
|---|---|
AbstractTransformTask()
|
|
| Method Summary | |
|---|---|
protected 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)
|
| Methods inherited from class org.mockito.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 Detail |
|---|
public AbstractTransformTask()
| Method Detail |
|---|
public 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 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.IOException
protected void processJarFile(java.io.File file)
throws java.lang.Exception
java.lang.Exception
protected boolean isJarFile(java.io.File file)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||