|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.instrumentors.util.ScanForObjectCtorStrategy
public class ScanForObjectCtorStrategy
Instrumentation strategy that scans for a "new Object()" operation.
| Nested Class Summary | |
|---|---|
static class |
ScanForObjectCtorStrategy.Location
Storage class for locations that used "new Object()". |
| Nested classes/interfaces inherited from interface edu.rice.cs.cunit.instrumentors.util.IScannerStrategy |
|---|
IScannerStrategy.IScanResult |
| Field Summary | |
|---|---|
(package private) java.util.ArrayList<ScanForObjectCtorStrategy.Location> |
_locations
List of usage locations. |
static java.lang.String |
CLASS_SIG_SEPARATOR_STRING
The separator string between class name and method signature. |
| Constructor Summary | |
|---|---|
ScanForObjectCtorStrategy()
|
|
| Method Summary | |
|---|---|
void |
done()
Instrumentation of all classes is done. |
java.util.List<ScanForObjectCtorStrategy.Location> |
getScanResults()
Returns the list of usage locations. |
void |
instrument(ClassFile cf)
Instrument the class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_SIG_SEPARATOR_STRING
java.util.ArrayList<ScanForObjectCtorStrategy.Location> _locations
| Constructor Detail |
|---|
public ScanForObjectCtorStrategy()
| Method Detail |
|---|
public java.util.List<ScanForObjectCtorStrategy.Location> getScanResults()
getScanResults in interface IScannerStrategypublic void instrument(ClassFile cf)
instrument in interface IInstrumentationStrategycf - class file infopublic void done()
done in interface IInstrumentationStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||