CoverageOptionsFactorypublic abstract class CoverageOptionsFactory extends Object
Constructors Summary |
---|
private CoverageOptionsFactory()
|
Methods Summary |
---|
public static CoverageOptions | create(java.util.Properties properties)
final boolean excludeSyntheticMethods =
Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_EXCLUDE_SYNTHETIC_METHODS,
InstrProcessor.DEFAULT_EXCLUDE_SYNTHETIC_METHODS));
final boolean excludeBridgeMethods =
Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_EXCLUDE_BRIDGE_METHODS,
InstrProcessor.DEFAULT_EXCLUDE_BRIDGE_METHODS));
final boolean doSUIDCompensaton =
Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_DO_SUID_COMPENSATION,
InstrProcessor.DEFAULT_DO_SUID_COMPENSATION));
return new CoverageOptions (excludeSyntheticMethods, excludeBridgeMethods, doSUIDCompensaton);
| public static CoverageOptions | create(com.vladium.util.IProperties properties)
final boolean excludeSyntheticMethods =
Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_EXCLUDE_SYNTHETIC_METHODS,
InstrProcessor.DEFAULT_EXCLUDE_SYNTHETIC_METHODS));
final boolean excludeBridgeMethods =
Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_EXCLUDE_BRIDGE_METHODS,
InstrProcessor.DEFAULT_EXCLUDE_BRIDGE_METHODS));
final boolean doSUIDCompensaton =
Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_DO_SUID_COMPENSATION,
InstrProcessor.DEFAULT_DO_SUID_COMPENSATION));
return new CoverageOptions (excludeSyntheticMethods, excludeBridgeMethods, doSUIDCompensaton);
|
|