public abstract class InstrProcessor extends Processor implements IPathEnumerator.IPathHandler
| 限定符和类型 | 类和说明 |
|---|---|
static class |
InstrProcessor.OutMode |
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
CLASSES |
static String |
DEFAULT_DO_SUID_COMPENSATION |
static String |
DEFAULT_EXCLUDE_BRIDGE_METHODS |
static String |
DEFAULT_EXCLUDE_EMPTY_CLASSES |
static String |
DEFAULT_EXCLUDE_SYNTHETIC_METHODS |
protected static boolean |
IN_CLASSES |
protected static boolean |
IN_LIB |
protected static String |
LIB |
protected boolean |
m_canonical |
protected int |
m_classCopies |
protected int |
m_classInstrs |
protected IInclExclFilter |
m_coverageFilter |
protected boolean |
m_dependsMode |
protected File[] |
m_instrPath |
protected File |
m_mdataOutFile |
protected Boolean |
m_mdataOutMerge |
protected File |
m_outDir |
protected InstrProcessor.OutMode |
m_outMode |
static String |
PROPERTY_DO_SUID_COMPENSATION |
static String |
PROPERTY_EXCLUDE_BRIDGE_METHODS |
static String |
PROPERTY_EXCLUDE_EMPTY_CLASSES |
static String |
PROPERTY_EXCLUDE_SYNTHETIC_METHODS |
m_appName, m_log, m_propertyOverrides| 限定符 | 构造器和说明 |
|---|---|
protected |
InstrProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
static InstrProcessor |
create()
Factory method for this processor.
|
protected void |
createDir(File dir,
boolean mkall) |
protected File |
getFullOutDir(File pathDir,
boolean isClass) |
protected File |
getFullOutFile(File pathDir,
File file,
boolean isClass) |
protected void |
reset() |
void |
setDependsMode(boolean enable) |
void |
setInclExclFilter(String[] specs) |
void |
setInstrOutDir(String dir) |
void |
setInstrPath(String[] path,
boolean canonical) |
void |
setMetaOutFile(String fileName) |
void |
setMetaOutMerge(Boolean merge) |
void |
setOutMode(InstrProcessor.OutMode mode) |
protected void |
validateState()
Validates attribute settings before each
Processor._run(IProperties). |
_run, run, setAppName, setPropertyOverrides, setPropertyOverridesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleArchiveEnd, handleArchiveEntry, handleArchiveStart, handleDirEnd, handleDirStart, handleFilepublic static final String PROPERTY_EXCLUDE_EMPTY_CLASSES
public static final String PROPERTY_EXCLUDE_SYNTHETIC_METHODS
public static final String PROPERTY_EXCLUDE_BRIDGE_METHODS
public static final String DEFAULT_EXCLUDE_SYNTHETIC_METHODS
public static final String DEFAULT_EXCLUDE_BRIDGE_METHODS
protected File[] m_instrPath
protected boolean m_dependsMode
protected boolean m_canonical
protected IInclExclFilter m_coverageFilter
protected InstrProcessor.OutMode m_outMode
protected File m_outDir
protected File m_mdataOutFile
protected Boolean m_mdataOutMerge
protected int m_classCopies
protected int m_classInstrs
protected static final boolean IN_CLASSES
protected static final boolean IN_LIB
public static InstrProcessor create()
public final void setInstrPath(String[] path, boolean canonical)
path - [null is equivalent to an empty array]canonical - public final void setDependsMode(boolean enable)
public final void setInclExclFilter(String[] specs)
specs - [null is equivalent to no filtering (everything is included)]public final void setMetaOutFile(String fileName)
fileName - [null unsets the previous override setting]public final void setMetaOutMerge(Boolean merge)
merge - [null unsets the previous override setting]public final void setInstrOutDir(String dir)
dir - [null unsets the previous setting]public final void setOutMode(InstrProcessor.OutMode mode)
mode - [may not be null]protected void validateState()
ProcessorProcessor._run(IProperties).
Overridden implementations should chain to super.validateState().
validateState 在类中 Processorprotected void reset()
protected final void createDir(File dir, boolean mkall) throws EMMARuntimeException
Copyright © 2018. All rights reserved.