public abstract class InstrProcessor extends Processor implements IPathEnumerator.IPathHandler
Modifier and Type | Class and Description |
---|---|
static class |
InstrProcessor.OutMode |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CLASSES |
static java.lang.String |
DEFAULT_DO_SUID_COMPENSATION |
static java.lang.String |
DEFAULT_EXCLUDE_BRIDGE_METHODS |
static java.lang.String |
DEFAULT_EXCLUDE_SYNTHETIC_METHODS |
protected static boolean |
IN_CLASSES |
protected static boolean |
IN_LIB |
protected static java.lang.String |
LIB |
protected boolean |
m_canonical |
protected int |
m_classCopies |
protected int |
m_classInstrs |
protected IInclExclFilter |
m_coverageFilter |
protected boolean |
m_dependsMode |
protected java.io.File[] |
m_instrPath |
protected java.io.File |
m_mdataOutFile |
protected java.lang.Boolean |
m_mdataOutMerge |
protected java.io.File |
m_outDir |
protected InstrProcessor.OutMode |
m_outMode |
static java.lang.String |
PROPERTY_DO_SUID_COMPENSATION |
static java.lang.String |
PROPERTY_EXCLUDE_BRIDGE_METHODS |
static java.lang.String |
PROPERTY_EXCLUDE_SYNTHETIC_METHODS |
m_appName, m_log, m_propertyOverrides
Modifier | Constructor and Description |
---|---|
protected |
InstrProcessor() |
Modifier and Type | Method and Description |
---|---|
static InstrProcessor |
create() |
protected void |
createDir(java.io.File dir,
boolean mkall) |
protected java.io.File |
getFullOutDir(java.io.File pathDir,
boolean isClass) |
protected java.io.File |
getFullOutFile(java.io.File pathDir,
java.io.File file,
boolean isClass) |
protected void |
reset() |
void |
setDependsMode(boolean enable) |
void |
setInclExclFilter(java.lang.String[] specs) |
void |
setInstrOutDir(java.lang.String dir) |
void |
setInstrPath(java.lang.String[] path,
boolean canonical) |
void |
setMetaOutFile(java.lang.String fileName) |
void |
setMetaOutMerge(java.lang.Boolean merge) |
void |
setOutMode(InstrProcessor.OutMode mode) |
protected void |
validateState() |
_run, run, setAppName, setPropertyOverrides, setPropertyOverrides
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleArchiveEnd, handleArchiveEntry, handleArchiveStart, handleDirEnd, handleDirStart, handleFile
public static final java.lang.String PROPERTY_EXCLUDE_SYNTHETIC_METHODS
public static final java.lang.String PROPERTY_EXCLUDE_BRIDGE_METHODS
public static final java.lang.String PROPERTY_DO_SUID_COMPENSATION
public static final java.lang.String DEFAULT_EXCLUDE_SYNTHETIC_METHODS
public static final java.lang.String DEFAULT_EXCLUDE_BRIDGE_METHODS
public static final java.lang.String DEFAULT_DO_SUID_COMPENSATION
protected java.io.File[] m_instrPath
protected boolean m_dependsMode
protected boolean m_canonical
protected IInclExclFilter m_coverageFilter
protected InstrProcessor.OutMode m_outMode
protected java.io.File m_outDir
protected java.io.File m_mdataOutFile
protected java.lang.Boolean m_mdataOutMerge
protected int m_classCopies
protected int m_classInstrs
protected static final java.lang.String CLASSES
protected static final java.lang.String LIB
protected static final boolean IN_CLASSES
protected static final boolean IN_LIB
public static InstrProcessor create()
public final void setInstrPath(java.lang.String[] path, boolean canonical)
path
- [null is equivalent to an empty array]canonical
- public final void setDependsMode(boolean enable)
public final void setInclExclFilter(java.lang.String[] specs)
specs
- [null is equivalent to no filtering (everything is included)]public final void setMetaOutFile(java.lang.String fileName)
fileName
- [null unsets the previous override setting]public final void setMetaOutMerge(java.lang.Boolean merge)
merge
- [null unsets the previous override setting]public final void setInstrOutDir(java.lang.String dir)
dir
- [null unsets the previous setting]public final void setOutMode(InstrProcessor.OutMode mode)
mode
- [may not be null]protected void validateState()
validateState
in class Processor
protected void reset()
protected final void createDir(java.io.File dir, boolean mkall) throws EMMARuntimeException
EMMARuntimeException
protected final java.io.File getFullOutDir(java.io.File pathDir, boolean isClass)
protected final java.io.File getFullOutFile(java.io.File pathDir, java.io.File file, boolean isClass)