com.vladium.emma.instr
Class InstrProcessor
java.lang.Object
com.vladium.emma.Processor
com.vladium.emma.instr.InstrProcessor
- All Implemented Interfaces:
- IPathEnumerator.IPathHandler
- Direct Known Subclasses:
- InstrProcessorST
- public abstract class InstrProcessor
- extends Processor
- implements IPathEnumerator.IPathHandler
- Author:
- Vlad Roubtsov, (C) 2003
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_EXCLUDE_SYNTHETIC_METHODS
public static final java.lang.String PROPERTY_EXCLUDE_SYNTHETIC_METHODS
- See Also:
- Constant Field Values
PROPERTY_EXCLUDE_BRIDGE_METHODS
public static final java.lang.String PROPERTY_EXCLUDE_BRIDGE_METHODS
- See Also:
- Constant Field Values
PROPERTY_DO_SUID_COMPENSATION
public static final java.lang.String PROPERTY_DO_SUID_COMPENSATION
- See Also:
- Constant Field Values
DEFAULT_EXCLUDE_SYNTHETIC_METHODS
public static final java.lang.String DEFAULT_EXCLUDE_SYNTHETIC_METHODS
- See Also:
- Constant Field Values
DEFAULT_EXCLUDE_BRIDGE_METHODS
public static final java.lang.String DEFAULT_EXCLUDE_BRIDGE_METHODS
- See Also:
- Constant Field Values
DEFAULT_DO_SUID_COMPENSATION
public static final java.lang.String DEFAULT_DO_SUID_COMPENSATION
- See Also:
- Constant Field Values
m_instrPath
protected java.io.File[] m_instrPath
m_dependsMode
protected boolean m_dependsMode
m_canonical
protected boolean m_canonical
m_coverageFilter
protected IInclExclFilter m_coverageFilter
m_outMode
protected InstrProcessor.OutMode m_outMode
m_outDir
protected java.io.File m_outDir
m_mdataOutFile
protected java.io.File m_mdataOutFile
m_mdataOutMerge
protected java.lang.Boolean m_mdataOutMerge
m_classCopies
protected int m_classCopies
m_classInstrs
protected int m_classInstrs
CLASSES
protected static final java.lang.String CLASSES
- See Also:
- Constant Field Values
LIB
protected static final java.lang.String LIB
- See Also:
- Constant Field Values
IN_CLASSES
protected static final boolean IN_CLASSES
- See Also:
- Constant Field Values
IN_LIB
protected static final boolean IN_LIB
- See Also:
- Constant Field Values
InstrProcessor
protected InstrProcessor()
create
public static InstrProcessor create()
setInstrPath
public final void setInstrPath(java.lang.String[] path,
boolean canonical)
- Parameters:
path
- [null is equivalent to an empty array]canonical
-
setDependsMode
public final void setDependsMode(boolean enable)
setInclExclFilter
public final void setInclExclFilter(java.lang.String[] specs)
- Parameters:
specs
- [null is equivalent to no filtering (everything is included)]
setMetaOutFile
public final void setMetaOutFile(java.lang.String fileName)
- Parameters:
fileName
- [null unsets the previous override setting]
setMetaOutMerge
public final void setMetaOutMerge(java.lang.Boolean merge)
- Parameters:
merge
- [null unsets the previous override setting]
setInstrOutDir
public final void setInstrOutDir(java.lang.String dir)
- Parameters:
dir
- [null unsets the previous setting]
setOutMode
public final void setOutMode(InstrProcessor.OutMode mode)
- Parameters:
mode
- [may not be null]
validateState
protected void validateState()
- Overrides:
validateState
in class Processor
reset
protected void reset()
createDir
protected final void createDir(java.io.File dir,
boolean mkall)
throws EMMARuntimeException
- Throws:
EMMARuntimeException
getFullOutDir
protected final java.io.File getFullOutDir(java.io.File pathDir,
boolean isClass)
getFullOutFile
protected final java.io.File getFullOutFile(java.io.File pathDir,
java.io.File file,
boolean isClass)