|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.instrumentors.threadCheck.AAddThreadCheckStrategy.SharedAddData
public static class AAddThreadCheckStrategy.SharedAddData
Data shared among all AAddThreadCheckStrategy instances.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.rice.cs.cunit.instrumentors.util.IScannerStrategy |
|---|
IScannerStrategy.IScanResult |
| Field Summary | |
|---|---|
protected AAddThreadCheckStrategy.CacheInfo |
cacheInfo
Class info. |
protected SoftHashMap<java.lang.String,ThreadCheckAnnotationRecord> |
classAnnotations
Hash table from a fully-qualified class name to the annotations that class has. |
protected SoftHashMap<java.lang.String,ThreadCheckAnnotationRecord> |
methodAnnotations
Hash table from a string of the form "<fully-qualified class name>::<method name><descriptor>" to the annotations that method has. |
protected java.util.HashSet<IScannerStrategy.IScanResult> |
otherWarnings
Warnings. |
protected java.util.HashSet<SubtypingWarning> |
subtypingWarnings
Subtyping Warnings. |
protected XMLConfig |
xmlAnnot
XML configurations used for additional annotations not based in the code. |
| Constructor Summary | |
|---|---|
AAddThreadCheckStrategy.SharedAddData(java.util.List<java.lang.String> parameters,
AThreadCheckStrategy.SharedData sharedData)
Create a new instance of shared data. |
|
| Method Summary | |
|---|---|
void |
done()
Instrumentation of all classes is done. |
AAddThreadCheckStrategy.CacheInfo |
getCacheInfo()
|
SoftHashMap<java.lang.String,ThreadCheckAnnotationRecord> |
getClassAnnotations()
|
SoftHashMap<java.lang.String,ThreadCheckAnnotationRecord> |
getMethodAnnotations()
|
java.util.HashSet<IScannerStrategy.IScanResult> |
getOtherWarnings()
|
java.util.List<? extends IScannerStrategy.IScanResult> |
getScanResults()
Return a list of scan results. |
java.util.HashSet<SubtypingWarning> |
getSubtypingWarnings()
|
XMLConfig |
getXmlAnnot()
|
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 |
|---|
protected SoftHashMap<java.lang.String,ThreadCheckAnnotationRecord> classAnnotations
protected SoftHashMap<java.lang.String,ThreadCheckAnnotationRecord> methodAnnotations
protected AAddThreadCheckStrategy.CacheInfo cacheInfo
protected java.util.HashSet<IScannerStrategy.IScanResult> otherWarnings
protected java.util.HashSet<SubtypingWarning> subtypingWarnings
protected XMLConfig xmlAnnot
| Constructor Detail |
|---|
public AAddThreadCheckStrategy.SharedAddData(java.util.List<java.lang.String> parameters,
AThreadCheckStrategy.SharedData sharedData)
parameters - parameters for the instrumentation strategysharedData - data shared among all AThreadCheckStrategy instances| Method Detail |
|---|
public SoftHashMap<java.lang.String,ThreadCheckAnnotationRecord> getClassAnnotations()
public SoftHashMap<java.lang.String,ThreadCheckAnnotationRecord> getMethodAnnotations()
public AAddThreadCheckStrategy.CacheInfo getCacheInfo()
public java.util.HashSet<IScannerStrategy.IScanResult> getOtherWarnings()
public java.util.HashSet<SubtypingWarning> getSubtypingWarnings()
public XMLConfig getXmlAnnot()
public void instrument(ClassFile cf)
instrument in interface IInstrumentationStrategycf - class file infopublic java.util.List<? extends IScannerStrategy.IScanResult> getScanResults()
getScanResults in interface IScannerStrategypublic void done()
done in interface IInstrumentationStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||